Skip to main content

agentbreeder-sdk

The official Python SDK for AgentBreeder — define, validate, and deploy AI agents programmatically.

Installation

pip install agentbreeder-sdk

For MCP server authoring support:

pip install "agentbreeder-sdk[mcp]"

Quick Start

from agenthub import Agent, Tool, Model, Memory

# Define an agent
agent = (
    Agent("customer-support", version="1.0.0", team="customer-success")
    .with_model(primary="claude-sonnet-4-6", fallback="gpt-4o")
    .with_prompt(system="You are a helpful customer support agent.")
    .with_tool(Tool.from_ref("tools/zendesk-mcp"))
    .with_tool(Tool.from_ref("tools/order-lookup"))
    .with_deploy(cloud="aws", region="us-east-1")
)

# Validate and export to agent.yaml
agent.validate()
agent.to_yaml("agent.yaml")

Multi-Agent Orchestration

from agenthub import Orchestration, KeywordRouter

pipeline = (
    Orchestration("support-router", strategy="router", team="customer-success")
    .add_agent("triage",  ref="agents/triage-agent")
    .add_agent("billing", ref="agents/billing-agent")
    .add_agent("returns", ref="agents/returns-agent")
    .with_route("triage", condition="billing",  target="billing")
    .with_route("triage", condition="return",   target="returns")
)

pipeline.to_yaml("orchestration.yaml")

Key Classes

Class Description
Agent Define an individual AI agent
Tool Define or reference a tool
Model Configure a model (primary + fallback)
Memory Configure agent memory
Orchestration Define multi-agent orchestration
Pipeline Sequential agent pipeline
FanOut Parallel fan-out orchestration
Supervisor Supervisor + worker orchestration

All classes serialize to the same agent.yaml / orchestration.yaml format consumed by agentbreeder deploy.

Tier Mobility

The SDK is the Full Code tier of AgentBreeder. You can eject from a YAML config to SDK code at any time:

agentbreeder eject agent.yaml --output agent_sdk.py

TypeScript SDK

Looking for TypeScript / JavaScript? Install the official TypeScript SDK:

npm install @agentbreeder/sdk

See sdk/typescript/ for full documentation.

Links

Release files for agentbreeder-sdk 2.7.3

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

Source distribution (sdist)

Source distribution for agentbreeder-sdk 2.7.3
File Size Uploaded
agentbreeder_sdk-2.7.3.tar.gz 19.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for agentbreeder-sdk 2.7.3
File Interpreter ABI Platform
agentbreeder_sdk-2.7.3-py3-none-any.whl Python 3 none any Details

Total release size: 42.9 kB

Release files / agentbreeder_sdk-2.7.3.tar.gz

Download URL agentbreeder_sdk-2.7.3.tar.gz
Size 19.0 kB
Tags Source
SHA-256 checksum
How to use checksums
8d966795074bc38582af5ffb45201a406ddccfeb2a250836b75ca5fa31a8560d
BLAKE2b-256 checksum
How to use checksums
46ab53861988f74842298d637741275fc6a0eb1ded3d458e8914296ca0256d91
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jul 4, 2026.

Transparency log

Release files / agentbreeder_sdk-2.7.3-py3-none-any.whl

Download URL agentbreeder_sdk-2.7.3-py3-none-any.whl
Size 23.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
454879248ea2608446b3398a68a35458c9700a9eebad663f5378993dce90f4b7
BLAKE2b-256 checksum
How to use checksums
54ec6fd9c960919b6392bcb855dcfaaa60565be9fd03bc1ecb47baa768c9c503
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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 Jul 4, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

2.7.3 This release

2 release files

2.7.2

2 release files

2.7.1

2 release files

2.6.0

2 release files

2.5.1

2 release files

2.1.0

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.10.0

2 release files

1.9.0

2 release files

1.8.0

2 release files

1.7.0

2 release files

1.5.0

2 release files

1.4.0

2 release files

0.1.0

2 release files

0.0.0

2 release files

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