Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

Project Structure

Everything that defines your agent lives in your repo root. The runtime reads these files at startup and watches for changes during development.

my-agent/
├── amodal.json                  ← root config: name, models, platform, sandbox, MCP
├── connections/                 ← API connections (plugins or custom)
│   ├── slack/
│   │   ├── spec.json            ← API source, auth, entities, sync config
│   │   ├── access.json          ← field restrictions, action tiers, scoping
│   │   ├── surface.md           ← (optional) endpoint documentation
│   │   ├── entities.md          ← (optional) entity definitions
│   │   └── rules.md             ← (optional) business rules
│   └── internal-api/
│       ├── spec.json
│       └── access.json
├── skills/                      ← Markdown reasoning frameworks
│   └── triage/
│       └── SKILL.md
├── knowledge/                   ← Domain knowledge documents
│   ├── environment.md
│   └── baselines.md
├── tools/                       ← Custom tool handlers
│   └── create_ticket/
│       ├── tool.json            ← (optional) metadata, parameters, confirmation
│       └── handler.ts           ← handler code
├── stores/                      ← Persistent data store schemas
│   └── active-alerts.json
├── pages/                       ← React UI views (dashboards, briefs)
│   ├── ops-dashboard.tsx
│   └── morning-brief.tsx
├── automations/                 ← Scheduled or trigger-based runs
│   └── daily-digest.json
├── evals/                       ← Test cases for agent quality
│   └── triage-accuracy.md
├── agents/                      ← subagents + built-in overrides
│   ├── explore/                 ← override: replaces default explore agent
│   │   └── AGENT.md
│   ├── compliance-checker/      ← custom subagent
│   │   └── AGENT.md
│   └── vendor-lookup/           ← custom subagent
│       └── AGENT.md
└── .amodal/
    └── store-data/              ← PGLite data directory (gitignored)

Config Reference

File/DirectoryWhat It DoesDocs
amodal.jsonAgent identity, models, platform, sandbox, MCP serversamodal.json
connections/API credentials + docs + access rulesConnections
skills/Expert reasoning frameworksSkills
knowledge/Domain knowledge documentsKnowledge Base
tools/Custom tool handlers with codeTools
stores/Persistent data store schemasStores
pages/React UI views (dashboards, briefs, detail screens)Pages
automations/Scheduled/triggered agent runsAutomations
evals/Test cases and assertionsEvals
agents/Custom subagents + built-in agent overridesAgents
MCP in amodal.jsonExternal tool servers via Model Context ProtocolMCP Servers

Hot Reload

During amodal dev, the runtime watches all config files for changes with 300ms debounce. Edit any file and the agent picks up changes instantly — no restart needed.