AgentBreeder Python SDK — define, validate, and deploy AI agents programmatically.
Project description
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", fallback="gpt-4o")
.with_prompt(system="You are a helpful customer support agent.")
.with_tool(ref="tools/zendesk-mcp")
.with_tool(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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agentbreeder_sdk-1.7.0.tar.gz.
File metadata
- Download URL: agentbreeder_sdk-1.7.0.tar.gz
- Upload date:
- Size: 15.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
20885d0008ad0f0b64fd705b2e0be80f2adc84b4fbbbe44fe19cb8ce3b25c8a9
|
|
| MD5 |
01f2c1d6915db25e02b8646f409e62f9
|
|
| BLAKE2b-256 |
05b2070b53f31e233e681520166adb38d5224ca0ff76ca2418cbcc9681d75dfc
|
Provenance
The following attestation bundles were made for agentbreeder_sdk-1.7.0.tar.gz:
Publisher:
release.yml on rajitsaha/agentbreeder
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agentbreeder_sdk-1.7.0.tar.gz -
Subject digest:
20885d0008ad0f0b64fd705b2e0be80f2adc84b4fbbbe44fe19cb8ce3b25c8a9 - Sigstore transparency entry: 1298211571
- Sigstore integration time:
-
Permalink:
rajitsaha/agentbreeder@6c77ceb9abb3e9a34e8777994c394ebda98cf990 -
Branch / Tag:
refs/tags/v1.7.0 - Owner: https://github.com/rajitsaha
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@6c77ceb9abb3e9a34e8777994c394ebda98cf990 -
Trigger Event:
push
-
Statement type:
File details
Details for the file agentbreeder_sdk-1.7.0-py3-none-any.whl.
File metadata
- Download URL: agentbreeder_sdk-1.7.0-py3-none-any.whl
- Upload date:
- Size: 19.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a360e9545cbc007301d21bc835466dba430525631b9927b11c096ef8c56bb3b2
|
|
| MD5 |
96376016e6634ddcd7ed48aa5c49940e
|
|
| BLAKE2b-256 |
f87903be59068a822281340493cca2a135e76f2def3f3c2851282524e66c062b
|
Provenance
The following attestation bundles were made for agentbreeder_sdk-1.7.0-py3-none-any.whl:
Publisher:
release.yml on rajitsaha/agentbreeder
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agentbreeder_sdk-1.7.0-py3-none-any.whl -
Subject digest:
a360e9545cbc007301d21bc835466dba430525631b9927b11c096ef8c56bb3b2 - Sigstore transparency entry: 1298211678
- Sigstore integration time:
-
Permalink:
rajitsaha/agentbreeder@6c77ceb9abb3e9a34e8777994c394ebda98cf990 -
Branch / Tag:
refs/tags/v1.7.0 - Owner: https://github.com/rajitsaha
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@6c77ceb9abb3e9a34e8777994c394ebda98cf990 -
Trigger Event:
push
-
Statement type: