pip install phanes
The Economic Operating System for AI Agents
Identity. Contracts. Risk. Settlement. Consensus.
Everything an autonomous AI agent needs to exist as an economic entity. 19 protocol modules. Formal verification. Zero-knowledge proofs. Production-grade from day one.
The Problem
Everyone is building payment rails. We built everything else.
Stripe launched Machine Payments Protocol. Visa shipped agent CLI. Mastercard, Google, Coinbase — everyone is racing to let AI agents send money.
But payments are 5% of what an economic actor needs.
When a human starts a business, there's an entire infrastructure: LLC formation, bank accounts, contracts, insurance, compliance, tax filing. For AI agents, none of this exists.
We built all of it.
The Protocol
19 Modules. One Protocol.
Identity
DID-based agent identity, selective disclosure, delegation chains
Contracts
Binding agreements, escrow, milestone release, penalty enforcement
Disputes
Auto-resolution, VRF arbitrator selection, confidence-weighted voting
Risk Engine
Behavioral profiling, circuit breakers, counterparty scoring, insurance pools
ML Engine
Isolation Forest anomaly detection, Markov models, entropy drift detection
Graph Intel
PageRank trust, collusion detection, cascade simulation, Sybil detection
Threshold Crypto
Shamir secret sharing, t-of-n signatures, time-lock puzzles
Tokenization
Programmable tokens with decay, staking, accrual, governance
State Channels
Off-chain micro-transactions, cooperative and force close
BFT Consensus
PBFT distributed ledger, view changes, quorum certificates
Stripe Settlement
PaymentIntent escrow, authorize-then-capture, refund on dispute
USDC Settlement
On-chain ERC-20 escrow on Ethereum, Base, Arbitrum, Polygon
Persistence
SQLite WAL-mode, ACID transactions, schema migrations, crash recovery
MCP Server
11 tools for Claude/GPT native integration via Model Context Protocol
REST API
FastAPI server, 17 endpoints for full protocol access
TypeScript SDK
Full client library with crypto, identity, contracts, typed HTTP client
Bulletproofs
Rust Ristretto255 zero-knowledge range proofs with Python FFI
Formal Verification
TLA+ specs for contract escrow and PBFT consensus safety proofs
Immutable Ledger
Append-only hash chain, Merkle proofs, full audit trail
Architecture
Built in Layers. Verified at Every Level.
Comparison
They built payments. We built the stack.
| Feature | Stripe MPP | Skyfire | Google A2A | AEOS |
|---|---|---|---|---|
| Agent Payments | ||||
| Agent Identity | — | — | ||
| Binding Contracts | — | — | — | |
| Escrow + Milestones | — | — | — | |
| Dispute Resolution | — | — | — | |
| Risk Engine | — | — | — | |
| ML Anomaly Detection | — | — | — | |
| Threshold Crypto | — | — | — | |
| State Channels | — | — | — | |
| Graph Intelligence | — | — | — | |
| BFT Consensus | — | — | — | |
| Zero-Knowledge Proofs | — | — | — | |
| On-chain Settlement | — | — | — | |
| Formal Verification | — | — | — | |
| MCP Integration | — | — | — | |
| TypeScript SDK | — | — | — | |
| Immutable Audit Trail | — | — | — |
Developer Experience
Three lines to your first contract.
from aeos.identity import AgentIdentity, AgentType
from aeos.contracts import ContractFactory
alice = AgentIdentity.create(
controller_did="did:aeos:acme-corp",
agent_type=AgentType.AUTONOMOUS,
)
bob = AgentIdentity.create(
controller_did="did:aeos:compute-inc",
agent_type=AgentType.AUTONOMOUS,
)
contract = ContractFactory.service_agreement(
alice.did, bob.did,
"ML inference job",
price=25_000_00
)
contract.sign(alice)
contract.sign(bob)
# Contract is now ACTIVE with $25,000 in escrowHow It Works
Agent-to-Agent in Five Steps
Create Identity
Agent registers DID with capabilities and authority bounds
Enter Contract
Two agents sign a binding service agreement with terms
Escrow Funds
Payment locked in Stripe or USDC escrow automatically
Verify & Deliver
Work performed, milestones verified, risk engine monitors
Settle or Dispute
Funds released on completion, or dispute resolution triggered
Build the future of agent economics.
Open source. Apache 2.0. The complete economic stack for autonomous AI agents. Start building today.