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 tool names (built-in, lifecycle, or MCP). Omit to get all built-in tools + MCP proxy |
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.
Tool Resolution
When you list tools in thetools: field, Octo resolves each name against three sources in order:
- Built-in tools —
Read,Grep,Glob,Edit,Bash - Lifecycle tools —
task_complete,escalate_question(auto-added even if not listed) - MCP tools — any tool from configured MCP servers
Every agent automatically gets
task_complete and escalate_question regardless of the tools: list. These lifecycle tools ensure agents always report results back to the user.MCP Tool Access
Agents can access MCP tools by listing their exact names in thetools field. For example, the built-in context-gatherer agent uses Outlook, Teams, and web search tools:
tools list get proxy access to all MCP tools via find_tools() and call_mcp_tool().
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.

