Build
Start here for everything you declare in a project: agents, context, sources, routing, exposures, and quality gates. This page links to one reference page per area.
Before you start
abt.yamlis the project file: paths (paths:), project-wideconfig:, defaultvars:, and theprofile:name to use. Runabt initto scaffold one.profiles.yamlholds model settings and credentials, per profile and target. It is git-ignored (abt initadds it to.gitignore); never commit it.- The top-level key is the profile name.
abt.yamlprofile:selects it; without that key, the first profile in sorted order is used. - Each profile needs
target:(the default target) and anoutputs:mapping that contains that target.--targetorABT_TARGETpicks another one. model_iduses the formprovider:model, for exampleopenai:gpt-4.1-miniorbedrock_converse:<model-id>. Built-in prefixes arebedrock_converse,openai,anthropic, andazure_openai; other prefixes (such asgroq:) go to LangChain'sinit_chat_model, which needs that provider's package installed.
First run
Scaffold a project with abt init, export the API key your profile reads (for example ANTHROPIC_API_KEY), then run abt compile. Compile stops if an env_var(...) in profiles.yaml is unset.
abt init
export ANTHROPIC_API_KEY=... # a placeholder is enough until the last step
abt compile
abt run -s <agent> -p "<text or prompt name>" --dry-run # plan only, no model call
abt run -s <agent> -p "<text or prompt name>" # calls the model
abt dispatch -s <workflow> # runs a workflow, calls the model
abt compile ends with:
Compiled 2 agent(s).
Manifest written to: /path/to/my-project/target/manifest.json
Compiled 3 file(s) to: /path/to/my-project/target/compiled/my-project (agents: 2, prompts: 1)
abt run runs one agent and abt dispatch runs a workflow. Both take the name after -s.
Where to go
| I want to... | Read |
|---|---|
| Define an agent and its tools, context, or structured output | Agents, Tools, Context |
| Run several agents in order, or branch on a result | Workflows, Subagents (delegation only) |
| Fetch live data (Slack thread, Jira ticket) before an agent runs | Sources |
| Send an agent's answer somewhere (Slack, Jira, file, email) | Exposures |
| Run a workflow whenever something happens (cron, Slack, Jira, GitHub) | Triggers |
| Add search results or post-process an answer | Retrievers, Transformers, Prompt transforms |
| Let a human approve a risky tool call | Tool confirmation, External approvals (both experimental) |
| Keep conversation memory across runs | Checkpointing |
| Check that an agent still behaves after a change | Testing, Benchmarks |
| Catch static problems before spending tokens | Doctor, Preflight checks |
Reference by area
| Area | Start here |
|---|---|
| Agents & delegation | Agents, Subagents, Workflows, Selectors |
| Prompts & knowledge | Context, Context methods |
| Capabilities | Tools (Packages reference: git-tools, gh-tools, atlassian-tools, slack-tools, databricks-tools), MCP, Skills, Handlers, Approvals (experimental; writing a provider) |
| Data flow | Sources, Exposures, Triggers |
| Enrichment | Retrievers, Prompt transforms, Transformers |
| Quality | Testing, Benchmarks, Doctor, Preflight checks |
| Persistence | Checkpointing — multi-turn memory across runs (memory, sqlite, dynamodb, bedrock_agentcore) |
Tutorials: Guides. Settings: Configuration.