Skip to main content

Python orchestrator for AI coding agents in sandboxed worktrees.

Project description

Eden

CI PyPI Python License

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/:

License

PolyForm Shield 1.0.0.

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

eden_agent-0.1.0.tar.gz (323.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

eden_agent-0.1.0-py3-none-any.whl (71.3 kB view details)

Uploaded Python 3

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

Hashes for eden_agent-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2732433f0c1f6f2ca5f3900e8a4214a8ef27c8193d3269d666581438836ebc93
MD5 b4497ecb6831ea3b4b873cc50c67efcc
BLAKE2b-256 bc90ee13138eccfac4ed441e3d988f9e9734ebe340ca754dc8bd2aef5b7b159f

See more details on using hashes here.

Provenance

The following attestation bundles were made for eden_agent-0.1.0.tar.gz:

Publisher: release.yml on dotbrains/eden

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for eden_agent-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 48130dadd44b22022db6cf5f75fb896aaeeab9828151d24016371a69cfecb0bb
MD5 c57636b22af720520e433293970c5a26
BLAKE2b-256 a0ae3a208e69cf9272bf7bf7244bc7b6162a7c15007c633030ba338dcd236247

See more details on using hashes here.

Provenance

The following attestation bundles were made for eden_agent-0.1.0-py3-none-any.whl:

Publisher: release.yml on dotbrains/eden

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page