Python orchestrator for AI coding agents in sandboxed worktrees.
Project description
Eden
Python orchestrator for AI coding agents in sandboxed git worktrees.
Eden creates a fresh git worktree on a new branch, runs a coding agent (Claude Code, Codex, opencode, pi, or any line-streaming CLI) inside a sandbox (Docker, Podman, isolated, Daytona, or Vercel), captures its output, and commits the changes back. You get a branch with one clean commit per iteration, ready to review or merge.
Install
pip install eden-agent
Requires Python 3.11+.
Quick example
The simulated_agent runs without any external CLI installed. Run this from inside a git repository:
from pathlib import Path
from eden import run, simulated_agent
from eden.sandboxes.no_sandbox import provider as no_sandbox
result = run(
cwd=Path.cwd(),
sandbox=no_sandbox(),
agent=simulated_agent(
output="hello from the simulated agent\n<promise>COMPLETE</promise>\n",
),
prompt="ignored by the simulated agent",
max_iterations=1,
)
print(f"branch: {result.branch}")
print(f"iterations: {len(result.iterations)}")
For a real agent, scaffold a project:
eden init --sandbox docker --agent claude-code --yes
cp .eden/.env.example .env # then fill in API keys
docker build -t eden:$(basename $(pwd)) -f .eden/Dockerfile .
python .eden/main.py
Documentation
Full documentation lives in docs/:
- What is Eden? — positioning and feature matrix
- Quick start — five-minute tour
- Python API reference — every name importable from
eden - How it works — branch strategies, sandbox lifecycle, iteration loop
- Sandbox providers — six provider catalog
- Agents — six agent factories
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 eden_agent-0.1.0.tar.gz.
File metadata
- Download URL: eden_agent-0.1.0.tar.gz
- Upload date:
- Size: 323.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2732433f0c1f6f2ca5f3900e8a4214a8ef27c8193d3269d666581438836ebc93
|
|
| MD5 |
b4497ecb6831ea3b4b873cc50c67efcc
|
|
| BLAKE2b-256 |
bc90ee13138eccfac4ed441e3d988f9e9734ebe340ca754dc8bd2aef5b7b159f
|
Provenance
The following attestation bundles were made for eden_agent-0.1.0.tar.gz:
Publisher:
release.yml on dotbrains/eden
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
eden_agent-0.1.0.tar.gz -
Subject digest:
2732433f0c1f6f2ca5f3900e8a4214a8ef27c8193d3269d666581438836ebc93 - Sigstore transparency entry: 1429669417
- Sigstore integration time:
-
Permalink:
dotbrains/eden@53cb04864ef683ca1ee315639ba6b93aa1d9e7e4 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/dotbrains
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@53cb04864ef683ca1ee315639ba6b93aa1d9e7e4 -
Trigger Event:
push
-
Statement type:
File details
Details for the file eden_agent-0.1.0-py3-none-any.whl.
File metadata
- Download URL: eden_agent-0.1.0-py3-none-any.whl
- Upload date:
- Size: 71.3 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 |
48130dadd44b22022db6cf5f75fb896aaeeab9828151d24016371a69cfecb0bb
|
|
| MD5 |
c57636b22af720520e433293970c5a26
|
|
| BLAKE2b-256 |
a0ae3a208e69cf9272bf7bf7244bc7b6162a7c15007c633030ba338dcd236247
|
Provenance
The following attestation bundles were made for eden_agent-0.1.0-py3-none-any.whl:
Publisher:
release.yml on dotbrains/eden
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
eden_agent-0.1.0-py3-none-any.whl -
Subject digest:
48130dadd44b22022db6cf5f75fb896aaeeab9828151d24016371a69cfecb0bb - Sigstore transparency entry: 1429669427
- Sigstore integration time:
-
Permalink:
dotbrains/eden@53cb04864ef683ca1ee315639ba6b93aa1d9e7e4 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/dotbrains
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@53cb04864ef683ca1ee315639ba6b93aa1d9e7e4 -
Trigger Event:
push
-
Statement type: