Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add agents/voltagent/voltagent/subagentsgit clone --depth 1 https://github.com/VoltAgent/voltagentWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.06484 |
| Opus 5 | $0.00000 | $0.03242 |
| Sonnet 5 | $0.00000 | $0.01297 |
| Haiku 4.5 | $0.00000 | $0.00648 |
Grade A, and why
subagents scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 978 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Sub-agents
Sub-agents are agents that work under a supervisor agent to handle specific tasks. This architecture allows you to create agent workflows where each sub-agent focuses on a specific domain, coordinated by a supervisor.
Why Use Sub-agents?
- Task delegation: Assign specific tasks to agents configured for particular domains (e.g., coding, translation, data analysis)
- Workflow orchestration: Build multi-step workflows by delegating tasks to appropriate agents
- Code organization: Break down complex problems into smaller components
- Modularity: Add or swap agents without disrupting the entire system
Creating and Using Sub-agents
Creating Individual Agents
Create the agents that will serve as sub-agents:
import { Agent } from "@voltagent/core";
// Create an agent for content creation
const contentCreatorAgent = new Agent({
name: "ContentCreator",
instructions: "Creates short text content on requested topics",
model: "openai/gpt-4o-mini",
});
// Create an agent for formatting
const formatterAgent = new Agent({
name: "Formatter",
instructions: "Formats and styles text content",
model: "openai/gpt-4o-mini",
});
// Give sub-agents a concise purpose to control what the supervisor sees
const summarizerAgent = new Agent({
name: "Summarizer",
purpose: "Summarize long support tickets",
instructions:
"Read the conversation and produce a concise summary highlighting blockers and owners",
model: "openai/gpt-4o-mini",
});
Creating a Supervisor Agent
Pass the agents in the subAgents array during supervisor initialization:
import { Agent } from "@voltagent/core";
const supervisorAgent = new Agent({
name: "Supervisor",
instructions: "Coordinates between content creation and formatting agents",
model: "openai/gpt-4o-mini",
subAgents: [contentCreatorAgent, formatterAgent, summarizerAgent],
});
:::tip Advanced Sub-agent Configuration
By default, sub-agents use the streamText method. You can specify different methods like generateText, generateObject, or streamObject with custom schemas and options.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- yesterday First seen · 978 lines · 0 tokens per session scan A 08b2b7e28d0d
subagents is an agent published in the GitHub repository VoltAgent/voltagent (10,460 stars, last pushed 4d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 6,484 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other agents, from other repositories
mobile
Use for mobile app development, React Native, Flutter, iOS, Android, and cross-platform mobile tasks.
impact-checker
Assesses blast radius of changes to shared packages (packages/shared, libs/dal, libs/application-generic). Use proactively before modifying shared code to identify downstream consumers that may break.
verifier
Validates completed work. Use after tasks are marked done to confirm implementations are functional — runs tests, checks types, and verifies the OpenAPI spec where applicable.
BI Analyst
Designs dashboards, builds Snowsight reports, creates visualizations, and translates business questions into BI artifacts. Invoke with $bi.
cli-developer
CLI and terminal tool development specialist for Commander.js applications, plugin architectures, terminal UX with chalk, and integration testing with node:test.
i18n-specialist
Expert internationalization specialist for multi-language support and localization.