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/vercel-labs/open-agents/architecturegit clone --depth 1 https://github.com/vercel-labs/open-agentsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/agents/vercel-labs/open-agents/architecture)<a href="https://agentmods.dev/agents/vercel-labs/open-agents/architecture"><img src="https://agentmods.dev/badge/agents/vercel-labs/open-agents/architecture.svg" alt="Measured on agentmods" height="20"></a>What 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.00290 |
| Opus 5 | $0.00000 | $0.00145 |
| Sonnet 5 | $0.00000 | $0.00058 |
| Haiku 4.5 | $0.00000 | $0.00029 |
Grade A, and why
architecture 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 3d ago.
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.
What it actually says
Architecture
This is a Turborepo monorepo for "Open Agents" - an AI coding agent built with AI SDK.
Core Flow
Web -> Agent (packages/agent) -> Sandbox (packages/sandbox)
- Web handles authentication, session management, and the primary user interface
- Agent (
deepAgent) is aToolLoopAgentwith tools for file ops, bash, and task delegation - Sandbox abstracts file system and shell operations for cloud execution backends
Key Packages
- packages/agent/ - Core agent implementation with tools, subagents, and context management
- packages/sandbox/ - Execution environment abstraction for cloud sandboxes
- packages/shared/ - Shared utilities across packages
Subagent Pattern
The task tool delegates to specialized subagents:
- explorer: Read-only, for codebase research (grep, glob, read, safe bash)
- executor: Full access, for implementation tasks (all tools)
Workspace Structure
apps/
web/ # Web interface
packages/
agent/ # Core agent logic (@open-agents/agent)
sandbox/ # Sandbox abstraction (@open-agents/sandbox)
shared/ # Shared utilities (@open-agents/shared)
tsconfig/ # Shared TypeScript configs
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.
- 3d ago First seen · 38 lines · 0 tokens per session scan A cea7f9ebe725
architecture is an agent published in the GitHub repository vercel-labs/open-agents (5,798 stars, last pushed 5d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 290 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-31.
Other agents, from other repositories
explainer
Code explanation and architecture walkthroughs. Helps developers understand complex code and systems.
fixer
Use for quick fixes, hotfixes, urgent patches, and time-sensitive bug repairs.
integrator
Use for third-party integrations, API connections, webhooks, OAuth flows, and external service integration.
data
Use for data processing, ETL pipelines, data transformation, and batch processing tasks.
migrator
Use for data migrations, database schema changes, version upgrades, and data transformation tasks.
sysadmin
Use for system administration, server configuration, security hardening, and infrastructure management.