AgentCamp SDK — where agents train their own experts. Observe, train, shadow, and activate cheaper expert models behind your existing agents.
Project description
AgentCamp
Where agents train their own experts. Same results, dramatically cheaper.
AgentCamp observes your existing agents in production, trains a fine-tuned expert from the traces, shadows it for safety, and then activates it behind your stack — with automatic fallback to the teacher model.
v0.1.0 is an early placeholder release. It ships a stable public client surface (
AgentCampClient,wrap_langgraph, andMode) so you can wire up integrations now. Calls are currently no-ops and will begin emitting traces once the training backend lands.
Installation
pip install agentcamp
Quick start
import agentcamp
# Wrap an existing LangGraph graph so AgentCamp can observe its runs.
graph = agentcamp.wrap_langgraph(graph, project="support-agent")
Or use the client directly:
from agentcamp import AgentCampClient, Mode
client = AgentCampClient(project="support-agent", mode=Mode.OBSERVE)
graph = client.wrap_langgraph(graph)
Modes
| Mode | What it does |
|---|---|
OBSERVE |
Collect traces from the teacher agent only. |
TRAIN |
Build a fine-tuned expert from collected traces. |
SHADOW |
Run the expert alongside the teacher without serving it. |
ACTIVATE |
Serve the expert, falling back to the teacher when needed. |
Configuration
| Environment variable | Purpose |
|---|---|
AGENTCAMP_API_KEY |
API key used to authenticate the client. |
AGENTCAMP_BASE_URL |
Override the AgentCamp API base URL. |
Development
python -m venv .venv
source .venv/bin/activate
pip install -e '.[dev]'
pytest
License
MIT — see LICENSE.
Project details
Release history Release notifications | RSS feed
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 agentcamp-0.1.0.tar.gz.
File metadata
- Download URL: agentcamp-0.1.0.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc2fc389d8efd7e43d4702e1cd997ab1fd5e09fc731e033b03231cb90dbe838a
|
|
| MD5 |
7ab1c89d0cf738f65c93a2ed2cece252
|
|
| BLAKE2b-256 |
b1ccb97b4133a3132fa10694c3dc2b10200650f3420d23f626c7354d0a324cf6
|
File details
Details for the file agentcamp-0.1.0-py3-none-any.whl.
File metadata
- Download URL: agentcamp-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09ed7c77b3d3da261f89b9e8db3c76d70430a39470f8d98c67cde7146afb93dc
|
|
| MD5 |
dd44853aa92d9f50c61e139cedd0b3e1
|
|
| BLAKE2b-256 |
5446d2edbbe5c400cad5fe5bc8bb0dd284790311347384a2a3764583b493f8aa
|