Skip to main content

Darwin — adaptive software systems. Includes darwin.agenticcloud, the verifiable agentic cloud. Open-source compute for AI agents with cryptographically signed attestations.

Project description

Darwin Agentic Cloud

CI License: Apache 2.0 Python: 3.11+ PyPI PRs Welcome

The verifiable agentic cloud. Open-source compute for AI agents with cryptographically signed attestations.

Install: pip install darwin-agentic-cloud

Live demo: https://darwin-agentic-cloud.fly.dev/docs

Darwin Agentic Cloud (DAC) is a programmatic compute substrate designed for AI agents to call directly. Every execution returns a cryptographically signed attestation containing the workload hash, output hash, substrate identity, cost, and policy compliance proof. Agents that take action based on compute results can verify that what they asked for actually happened.

Why DAC

Agent frameworks today let an LLM call arbitrary tools and execute arbitrary code. None of them answer the question an agent operator actually needs answered:

"Did this workload actually run? On what hardware? Under what policy? At what cost? With what output? And can I prove it to a regulator, an auditor, or another agent?"

DAC is the answer. One API. Verifiable execution. Bounded spend. Capability-based auth. Native MCP support so any Claude, GPT, or Gemini agent can call it with zero glue code.

Architecture

+--------------------------------------------------------------+
|  Agent  (Claude / GPT / Gemini / LangGraph / CrewAI / ...)   |
+------------------------------+-------------------------------+
                               |
                               |  POST /v0/run  |  MCP tool call
                               v
+--------------------------------------------------------------+
|  DAC Server  (FastAPI + MCP)                                 |
|  [ Auth ]  [ Cost Meter ]  [ Policy Engine ]  [ Router ]     |
+------------------------------+-------------------------------+
                               |
                               v
+--------------------------------------------------------------+
|  Sandbox Layer                                               |
|  Docker (v0)  ->  gVisor  ->  Firecracker  ->  TEE           |
+------------------------------+-------------------------------+
                               |
                               v
+--------------------------------------------------------------+
|  Signed Attestation  (Ed25519 -> Sigstore in production)     |
|  workload_hash | output_hash | substrate | cost | policy     |
+--------------------------------------------------------------+

Quickstart

Install from PyPI

pip install darwin-agentic-cloud

Or develop from source

Prerequisites: Python 3.11+, Docker Desktop (running), uv for dependency management.

git clone https://github.com/vje013/darwin-agentic-cloud.git
cd darwin-agentic-cloud
uv sync --extra dev --extra test

Run your first attested workload

# Start the server
darwin serve

# In another terminal, run a workload
darwin run examples/example_workloads/hello.py

# Verify the attestation
darwin attest verify ./attestations/<id>.json

Use from an AI agent via MCP

darwin mcp install

That writes the Claude Desktop config for you. Restart Claude Desktop, then ask:

"Run a Python script that computes the first 100 prime numbers and verify the attestation."

Claude will call DAC, execute the workload in a sandbox, return the signed attestation, and verify the signature — all without you writing any glue code.

Core concepts

  • Workload spec — code + inputs + cost cap + timeout. Hashed and signed.
  • Sandbox — isolated execution environment (Docker → gVisor → Firecracker → TEE).
  • Attestation — cryptographically signed proof of execution. Includes workload hash, output hash, substrate identity, cost, and policy compliance.
  • Capability token — scoped, revocable auth credential. Agents present tokens, not user credentials.
  • Substrate — the underlying compute (local Docker, leased GPU, Akash node, HPC cluster). Agents don't pick; DAC routes.

See docs/CONCEPTS.md for the full model.

Documentation

Status

DAC is in alpha. The API is unstable and the attestation format may change in incompatible ways before v1.0. Production deployments are not yet supported. Follow the CHANGELOG for release notes.

Contributing

Contributions are welcome. See CONTRIBUTING.md for the developer setup, DCO sign-off requirements, and PR process.

DAC is developed in the open. We ship in small, reviewable PRs with full test coverage. The roadmap is public and we welcome RFCs against the docs/rfc/ directory.

Influences and prior art

DAC stands on the shoulders of:

  • Modal for the developer-experience bar on serverless agentic compute
  • E2B for sandbox-as-a-service for AI agents
  • SkyPilot for cross-substrate workload routing
  • Ray for the distributed-compute primitive
  • Sigstore for the keyless-signing pattern that DAC attestations will adopt in production
  • SPIFFE/SPIRE for the workload identity model
  • Open Policy Agent for policy-as-code as a runtime layer
  • Hivemind and Petals for decentralized training and inference
  • Model Context Protocol for the agent-tool integration standard

License

Apache License 2.0 — see LICENSE.

Citation

If you use DAC in academic work, please cite:

@software{dac2026,
  author = {Edouard, Vladimir J.},
  title = {Darwin Agentic Cloud: Verifiable Compute for AI Agents},
  year = {2026},
  url = {https://github.com/vje013/darwin-agentic-cloud}
}

macOS Claude Desktop setup

Claude Desktop's renderer process runs sandboxed under macOS Seatbelt and cannot read inside ~/Documents/. If your project lives there, the venv must live outside it.

Recommended layout:

mkdir -p ~/.local/share/darwin-agentic-cloud
uv venv ~/.local/share/darwin-agentic-cloud/.venv --python 3.12
ln -s ~/.local/share/darwin-agentic-cloud/.venv .venv
uv pip install . --python ~/.local/share/darwin-agentic-cloud/.venv/bin/python

Then point Claude Desktop's MCP config at the symlinked venv path. Editable installs (-e .) embed a path back into ~/Documents/ via a .pth file, which the sandbox blocks. Use a non-editable install for the Claude-spawned venv; keep a separate editable install for your own dev terminal if you want hot reload.

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

darwin_agentic_cloud-2.0.0.tar.gz (186.1 kB view details)

Uploaded Source

Built Distribution

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

darwin_agentic_cloud-2.0.0-py3-none-any.whl (45.4 kB view details)

Uploaded Python 3

File details

Details for the file darwin_agentic_cloud-2.0.0.tar.gz.

File metadata

  • Download URL: darwin_agentic_cloud-2.0.0.tar.gz
  • Upload date:
  • Size: 186.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for darwin_agentic_cloud-2.0.0.tar.gz
Algorithm Hash digest
SHA256 149606c7272614d090876954c6e40c444438476f35ee87e4dcffc878005e19e5
MD5 f811e0f59c479eb60e5a42068a34efcb
BLAKE2b-256 a9f2822d8e2bcae11f902978264a94b07b79e2b0469c1a422b3a5715a8a2addb

See more details on using hashes here.

Provenance

The following attestation bundles were made for darwin_agentic_cloud-2.0.0.tar.gz:

Publisher: publish.yaml on vje013/darwin-agentic-cloud

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

File details

Details for the file darwin_agentic_cloud-2.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for darwin_agentic_cloud-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a4154dcac53c14fa5d7438f025a19b1553922e29bf4014fb716c54b5543b22ae
MD5 8c8b042b2b4f4acf65890a21277934bb
BLAKE2b-256 4dfc26203da8586b48b77420a98298fb54adafe995c5a12b27f131e9b8580016

See more details on using hashes here.

Provenance

The following attestation bundles were made for darwin_agentic_cloud-2.0.0-py3-none-any.whl:

Publisher: publish.yaml on vje013/darwin-agentic-cloud

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