AGENT.md files — a Markdown document with YAML frontmatter that tells Octo what the agent does and what tools it needs.
Interactive Wizard
The fastest way to create an agent:Agent type
Standard (tools + prompt) or Deep research (persistent workspace with planning middleware).
Tool selection
Numbered table of all available tools (built-in + MCP). Shortcuts:
builtin, all, none.Manual Creation
Create.octo/agents/<name>/AGENT.md:
Frontmatter Fields
| Field | Required | Description |
|---|---|---|
name | Yes | Agent identifier (lowercase, hyphens ok) |
description | Yes | One-line description shown in /agents and used by supervisor for routing |
type | No | "" for standard, "deep_research" for deep agents |
tools | No | List of built-in tool names. Omit to get all built-in tools |
Deep Research Agents
Settype: deep_research for agents that need:
- Persistent workspace — files at
.octo/workspace/<date>/ - Planning middleware — TodoList for tracking multi-step work
- Summarization middleware — automatic context compression
- Sub-agent spawning — delegate subtasks
deepagents library and get their own middleware stack automatically.
Agent Loading
At startup, Octo loads agents from:- AGENT_DIRS — external project directories (colon-separated in
.env) .octo/agents/— Octo-native agents
/agents.
Tips
The system prompt (everything below the frontmatter) supports full Markdown. Use headers, lists, and code blocks to structure your agent’s instructions.

