Skip to main content

Agent Build Tool

abt

Write AI agents as files. Test them like code.
Run them where your team already works.

abt (Agent Build Tool) checks your agents' wiring before anything runs, tests and benchmarks every change, and runs them on real events at scale.

Quickstart · Docs · Examples · Contributing

License Python Docs Alpha

Animation: an event in Slack, Jira or GitHub reaches a trigger and starts a run. In the workflow, a source reads the data from the tool, a prompt builds the task, and an agent decides, delegating to subagents and tools whose work converges back into one answer. An exposure then delivers the result to Slack, Jira or GitHub Animation: an event in Slack, Jira or GitHub reaches a trigger and starts a run. In the workflow, a source reads the data from the tool, a prompt builds the task, and an agent decides, delegating to subagents and tools whose work converges back into one answer. An exposure then delivers the result to Slack, Jira or GitHub

An event comes in, a trigger starts a run, the agent decides, and the result goes out where your team wants.

abt is for teams that put agents in front of real Slack, Jira and GitHub traffic and need to change them with high confidence that nothing will break. It was built at GetYourGuide and runs in production there. It is alpha, so breaking changes can land in minor versions; the GitHub release notes call them out.

What you get

  • Write agents as files. An agent is a Markdown file with a little YAML on top. Tools, MCPs, budgets and middleware are a few lines of config, and custom tools are plain Python functions.
  • Catch breakage before it ships. abt compile reads every file and checks that names and references line up, so a renamed agent fails there, not in production. Tests and benchmarks show whether a prompt or model change made answers better or worse.
  • Try it all on your laptop. Run a whole Slack, Jira or GitHub workflow against a fake event and mocked data. Nothing gets posted.
  • Run it for real. Agents react to events in Slack, Jira and GitHub, scale out across workers, and stay inside the limits you set.

Why abt?

Plain SDK code gives you full control and leaves the wiring, tests and integrations to you. abt ships those ready-made: Slack, Jira, GitHub, Confluence, email, Datadog, Databricks and any MCP server, with Jinja templates for prompts and a compiler, tests and benchmarks that check every change before it ships. Claude Code subagents live in your Claude Code session; abt agents run unattended on events. For a one-off script, plain code is simpler.

An agent is a file

Here's a whole agent. agents/triage.md has a one-line description up top and the system prompt below it. The commented lines show what else you can switch on, one line each:

---
description: Routes a support message to the right team.
# model_id: anthropic:claude-haiku-5-5     # a different model for this agent
# tools: [lookup_order]                    # a Python function the agent can call
# subagents: [refund_specialist]           # other agents it can delegate to
# transformers: [redact_pii]               # clean up the answer before it goes out
# middleware:                              # guardrails on calls, tokens and time
#   - model_call_limit: {max_model_calls: 5}
#   - token_budget: {max_total_tokens: 50000}
---

You triage incoming support messages. Reply with the team that should handle it
(billing, refunds or engineering) and one sentence of why.

And here's its test, tests/triage.yaml. A check can be an exact match, a schema, or a plain sentence that an LLM judge answers with yes or no:

agents:
  - agent: triage
    tests:
      - name: sends_refund_requests_to_refunds
        prompt: "Tour cancelled by the supplier, still no refund for my 84 EUR."
        says: [routes the message to refunds]

Try it in five minutes

You'll need Python 3.12+ and uv. compile, graph, docs generate and test --dry-run never call the model, so you can try those without a key. A key (Anthropic by default, OpenAI, or an AWS profile for Bedrock) only matters once an agent runs.

Terminal recording: abt init scaffolds a project, an agent is shown as a Markdown file, abt compile passes and then fails with an unknown-agent error after the analyst file is renamed, abt run and abt test call the model, and abt dispatch runs a Slack workflow with a stand-in thread and nothing posted Terminal recording: abt init scaffolds a project, an agent is shown as a Markdown file, abt compile passes and then fails with an unknown-agent error after the analyst file is renamed, abt run and abt test call the model, and abt dispatch runs a Slack workflow with a stand-in thread and nothing posted

mkdir my-agents && cd my-agents
uv venv --python 3.13 && source .venv/bin/activate
uv pip install "abt-core[all]"

abt init                              # a two-agent starter: agents, tests, a sample prompt, profiles.yaml
abt compile                           # checks the wiring, no model call
export ANTHROPIC_API_KEY=...          # set base_url in profiles.yaml if running behind an AI gateway
abt debug                             # preflight: key, profile and one tiny live request to your LLM
abt run -s reviewer -p "Review: revenue grew 40%, no citations."   # the reviewer asks the analyst for help along the way
abt test                              # every test, LLM judges included

The Quickstart walks through every file, and Installation covers lighter installs. Ready to connect your tools? Keep reading.

Connect agents to the tools you already use

A trigger starts a run when something happens, a source fetches the data your agent needs, and an exposure delivers the answer. Each is a small YAML file, and one workflow wires them together:

# workflows/support_ticket.yaml
trigger:
  support_slack:                 # a new message in #support
    vars:
      channel_id: "{{ event.scope_id }}"   # hand the channel and thread to the source
      thread_ts: "{{ event.thread_id }}"
steps: [support_thread, triage_task, triage, triage_writeback]

Try it first. In the Slack example, this runs the real agents against a made-up Slack thread, prints the answer and posts nothing:

abt dispatch -s summarize_thread --skip-exposures \
  --mock-source slack_thread="Tour cancelled by the supplier, still no refund for my 84 EUR."

Then switch it on. abt watch run --all listens to Slack, Jira or GitHub and runs the workflow on every event. When one process is not enough, split listening from running over Redis and add workers; with --acks-late, a worker that dies mid-run hands its job to another. The watch guide covers scaling, health checks and observability.

Know whether a change made it better

abt bench runs the same cases with your changes and without them, then compares quality and token use. Cases bring their own data, so a benchmark needs no access to your tools and posts nothing. Add it to CI and a pull request that makes answers clearly worse fails before it merges.

abt bench report: your changes against main, all 10 cases still pass, quality unchanged, a typical case uses 34% fewer tokens and runs faster abt bench report: your changes against main, all 10 cases still pass, quality unchanged, a typical case uses 34% fewer tokens and runs faster

What abt bench prints for a tighter triage prompt: every case still passes and a typical case spends a third fewer tokens (example numbers).

Want a cheaper model? Swap it in and the report tells you what it costs in quality before you ship it. Benchmarks explains how to read the report.

Contributing

Bug reports, feature requests and PRs are welcome. Easy ways in: run an example, tell us where the docs lost you, or add an example of your own. CONTRIBUTING.md shows how to run abt from source and open a PR. We follow the Code of Conduct. If you've found a security issue, please read SECURITY.md instead of opening a public issue.

License

Copyright 2026 GetYourGuide GmbH.

Apache License 2.0. See LICENSE.

Metadata

Release files for abt-core 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for abt-core 0.0.1
File Size Uploaded Provenance Actions
abt_core-0.0.1.tar.gz 1.6 MB With provenance Details for abt_core-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for abt-core 0.0.1
File Interpreter ABI Platform Actions
abt_core-0.0.1-py3-none-any.whl Python 3 none any Details for abt_core-0.0.1-py3-none-any.whl

Total release size: 3.4 MB

Release files / abt_core-0.0.1.tar.gz

Download URL abt_core-0.0.1.tar.gz
Size 1.6 MB
Tags Source
SHA-256 checksum
How to use checksums
8950c185dae771b548182b7cb8f4f484ce20026c8459696d4ca90c0323ebc186
BLAKE2b-256 checksum
How to use checksums
74f5cf97242602a971edbfc34c67e6b9f02c64996f82be0e0883e9b64bda77aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 3, 2026.

Transparency log

Release files / abt_core-0.0.1-py3-none-any.whl

Download URL abt_core-0.0.1-py3-none-any.whl
Size 1.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
408ce8e2bad8453e63eaeff537774b373deefd09935add13a8cb324ffb36754a
BLAKE2b-256 checksum
How to use checksums
1561744445fa20d79718474a8774751840909a9e8bd6cb7a4c9be55abc057e54
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 3, 2026.

Transparency log

Security for abt-core 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for abt_core-0.0.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Dec 3, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page