voltagent-best-practices
VoltAgent architectural patterns and conventions.
Skill by VoltAgent
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/voltagent-voltagent-best-practices
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/voltagent-best-practices
What's inside
- Skill name
voltagent-best-practices- Description
- VoltAgent architectural patterns and conventions. Covers agents vs workflows, project layout, memory, servers, and observability.
- License
- MIT
- Metadata
- author: VoltAgent · version: 1.0.0 · repository: https://github.com/VoltAgent/skills
- Instructions
- 119 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# VoltAgent Best Practices
Quick reference for VoltAgent conventions and patterns.
---
## Choosing Agent or Workflow
| Use | When |
| --- | --- |
| Agent | Open-ended tasks that require tool selection and adaptive reasoning |
| Workflow | Multi-step pipelines with explicit control flow and suspend/resume |
---
## Layout
```
src/
|-- index.ts
|-- agents/
|-- tools/
`-- workflows/
```
---
## Quick Snippets
### Basic Agent
```typescript
import { Agent } from "@voltagent/core";
const agent = new Agent({
name: "assistant",
instructions: "You are helpful.",
model: "openai/gpt-4o-mini",
});
```
Model format is `provider/model` (for example `openai/gpt-4o-mini` or `anthropic/claude-3-5-sonnet`).
### Basic Workflow
```typescript
import { createWorkflowChain } from "@voltagent/core";
import { z } from "zod";
const workflow = createWorkflowChain({
id: "example",
input: z.object({ text: z.string() }),
result: z.object({ summary: z.string() }),
}).andThen({
id: "summarize",
execute: async ({ data }) => ({ summary: data.text }),
});
```
### VoltAgent Bootstrap
```typescript
import { VoltAgent } from "@voltagent/core";
import { honoServer } from "@voltagent/server-hono";
new VoltAgent({
agents: { agent },
workflows: { workflow },
server: honoServer(),
});
```
---
## Memory Defaults
- Use `memory` for a shared default across agents and workflows.
- Use `agentMemory` or `workflowMemory` when defaults need to differ.
---
## Server Options
- Use `@voltagent/server-hono` for Node HTTP servers.
- Use `@voltagent/server-elysia` as an alternative Node server provider.
- Use `serverless` provider for fetch runtimes (Cloudflare, Netlify).
---
## Observability Notes
- Use `VoltOpsClient` or `createVoltAgentObservability` for tracing.
- VoltAgent will auto-configure VoltOps if `VOLTAGENT_PUBLIC_KEY` and `VOLTAGENT_SECRET_KEY` are set.
---
## Recipes
Short best-practice recipes live in the embedded docs:
- `packages/core/docs/recipes/`
- Search: `rg -n "keyword" packages/core/docs/recipes -g"*.md"`
- Read: `cat packages/core/docs/recipes/<file>.md`
---
## Footguns
- Do not use `JSON.stringify` inside VoltAgent packages. Use `safeStringify` from `@voltagent/internal`.
---
## Resources
- https://voltagent.dev/docs
- https://github.com/voltagent/voltagent
- https://github.com/voltagent/voltagent/tree/main/examplesFrom VoltAgent/skills, MIT.
More from VoltAgent/skills
- 0.482score
voltagent-docs-bundle
VoltAgent
Look up VoltAgent documentation embedded in node_modules/@voltagent/core/docs for version-matched docs.
SkillDFreshness: D★ 16Claude Code +9 - 0.479score
create-voltagent
VoltAgent
Skill for creating AI agent projects using the VoltAgent framework.
SkillDFreshness: D★ 16Claude Code +9 - 0.257score
voltagent-core-reference
VoltAgent
No description from the publisher yet.
SkillDFreshness: D★ 16Claude Code +9
Signals
- Stars
- 16
- Forks
- 10
- Open issues
- 1
- Last commit (this folder)
- Jan 26, 2026 (9 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 1.0.0
- License
- MIT
- Repository
- github.com/VoltAgent/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from VoltAgent
- 0.861score
playwright-cli
VoltAgent
Automates browser interactions for web testing, form filling, screenshots, and data extraction.
SkillAFreshness: A★ 10.9KClaude Code +9 - 0.727score
Workspace Data Analyst
VoltAgent
Analyze CSV files in the workspace and summarize insights.
SkillAFreshness: A★ 10.9KClaude Code +9 - 0.699score
VoltAgent
VoltAgent
TypeScript framework for AI agents with tools, memory, RAG, MCP and sub-agents, paired with a Cloud or self-hosted console.
HarnessAFreshness: A★ 10.9K - 0.657score
AGENTS.md · VoltAgent/voltagent
VoltAgent
AGENTS.md from VoltAgent/voltagent: 38 lines covering What is VoltAgent?, Overview, Validating Changes, Important Notes for AI Agents and more.
TemplateAFreshness: A★ 10.9KCodex +5 - 0.482score
voltagent-docs-bundle
VoltAgent
Look up VoltAgent documentation embedded in node_modules/@voltagent/core/docs for version-matched docs.
SkillDFreshness: D★ 16Claude Code +9 - 0.479score
create-voltagent
VoltAgent
Skill for creating AI agent projects using the VoltAgent framework.
SkillDFreshness: D★ 16Claude Code +9
Cite this page
voltagent-best-practices skill. Agent Mart. https://agentmart.dev/skills/voltagent-voltagent-best-practices (last updated 2026-10-24)