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+ PRs Welcome

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

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

Prerequisites

  • Python 3.11+
  • Docker Desktop (running)
  • uv for fast dependency management

Install

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
make run

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

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

Use from an AI agent via MCP

Add DAC to your Claude Desktop config (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "dac": {
      "command": "dac",
      "args": ["mcp", "serve"]
    }
  }
}

Restart Claude Desktop. You can now ask Claude:

"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 = {Darwinic 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-0.1.0.tar.gz (178.9 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-0.1.0-py3-none-any.whl (40.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: darwin_agentic_cloud-0.1.0.tar.gz
  • Upload date:
  • Size: 178.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for darwin_agentic_cloud-0.1.0.tar.gz
Algorithm Hash digest
SHA256 85a87064c6d56409efe67a37dcdfb5c6c28fd900a17b7ffe944a290ba2793138
MD5 29c789072ae68fac4fe3fd2964c60627
BLAKE2b-256 2a4b92d02a57b8f637d04eb0b9860ae20ec7a61f39a4dac472626c8ed36f3ace

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for darwin_agentic_cloud-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fcd0446dbd68926dceec02aeed70aa676b113e199cd402a61658f90794fa3523
MD5 a806743e50d59d308707f7404ac80994
BLAKE2b-256 4f9a225010315223da9a218adf38bb3ce0317ffdfac810165ff3a2f5f1573769

See more details on using hashes here.

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