Guides
Task-oriented walkthroughs. Each assumes you finished Getting started.
Path to production
Work through these in order; skip a step you do not need yet.
- Your first workflow: one source, agent and exposure running end to end.
- Project flags and Middleware: set run guardrails (timeouts, call limits, budgets) before real traffic.
- Structured outputs: make output machine-checkable where downstream code reads it.
- Testing: YAML suites with a judge model, to gate changes.
- CI/CD with abt: compile, test and lint on every pull request.
- Observability: metrics and OTLP traces in your collector.
- Stateless runs: concurrent invocations from a service or container.
- Event-driven agents (Watch) and Deploying to Kubernetes: trigger workflows from events and run the workers on a cluster.
Optional: Publishing manifests to share public agents with other projects.
Core
| Guide | Level | Time | What you build |
|---|---|---|---|
| Your first workflow | Beginner | ~15 min | Source → prompt → agent → exposure (Slack-style) |
| RAG agent | Intermediate | ~20 min | Agent with retrievers |
| Multi-agent dependencies | Intermediate | ~20 min | subagents: delegation, workflows/ order/branching |
| Slack integration | Intermediate | ~15 min | Thread in, reply out |
| Structured outputs | Intermediate | ~10 min | output_schema + contracts |
| CI/CD with abt | Intermediate | ~10 min | Compile, test and lint in CI |
| Observability | Intermediate | ~15 min | Metrics, OTLP, Braintrust (optional extras) |
| Stateless runs | Intermediate | ~10 min | Concurrent service / container invocations |
| Project flags | Intermediate | ~5 min | dbt-style flags: in abt.yaml |
| Using the Python SDK | Intermediate | ~15 min | AbtRunner from code |
| Loop detection | Intermediate | ~10 min | Pattern-based stuck-loop detection |
| Retries | Intermediate | ~5 min | Retry policies and backoff |
| Middleware | Intermediate | ~10 min | Declarative per-agent middleware stacks |
| Rubric middleware | Advanced | ~10 min | LLM-graded progress evaluation |
| Cross-project composition (Loom) | Advanced | ~15 min | Share agents across team boundaries |
| Event-driven agents (Watch) | Intermediate | ~30 min | Auto-dispatch entrypoint workflows from Slack, GitHub, Jira or cron |
Debugging a workflow (abt chat) |
Intermediate | ~10 min | Interactive REPL: mock sources, re-run turns |
| Publishing manifests | Intermediate | ~5 min | Push public agents for cross-project consumption |
| Deploying to Kubernetes | Advanced | ~15 min | abt watch produce/abt watch consume on k8s, replicas, health probes |
Experimental
| Guide | Level | Time | What you build |
|---|---|---|---|
| Context compaction | Advanced | ~15 min | Long-run context window management |
| Message collapse | Advanced | ~10 min | Message merging heuristics |
| Code interpreter | Advanced | ~10 min | Sandboxed JavaScript REPL tool |
| Agent invoke API | Advanced | ~15 min | HTTP invoke of public agents from abt watch consume --serve-api |
Experimental features may change in a minor release.