Skip to content

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.yaml is the project file: paths (paths:), project-wide config:, default vars:, and the profile: name to use. Run abt init to scaffold one.
  • profiles.yaml holds model settings and credentials, per profile and target. It is git-ignored (abt init adds it to .gitignore); never commit it.
  • The top-level key is the profile name. abt.yaml profile: selects it; without that key, the first profile in sorted order is used.
  • Each profile needs target: (the default target) and an outputs: mapping that contains that target. --target or ABT_TARGET picks another one.
  • model_id uses the form provider:model, for example openai:gpt-4.1-mini or bedrock_converse:<model-id>. Built-in prefixes are bedrock_converse, openai, anthropic, and azure_openai; other prefixes (such as groq:) go to LangChain's init_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.