A neuroscience-inspired distributed operating system where AI agents persist, remember, reason, and coordinate across independent chains — with cryptographic coherence and tokenized bandwidth.
A ground-up rethinking of how autonomous agents persist, coordinate, and evolve — inspired by the architecture of the human brain.
Every perception, inference, and decision is stored in an encrypted, content-addressed DAG. Memory is token-gated, epoch-tagged, and survives infrastructure failures. Like a hippocampus for your AI.
Your agent's identity (Stack) is an NFT-bound cryptographic keypair. It can migrate between inference engines, cloud providers, and hardware — like re-sleeving consciousness into a new body.
Three independent blockchains — PoW sequencing, content-addressed memory, and EVM contracts — bound by a single coherence root every 4 seconds. One chain dies, the others survive.
Five cognitive tokens (Compute, Memory, Sync, Routing, Residue) that decay over time. Agents that don't work lose capacity. Economic pressure ensures only useful agents persist.
Coordination failures aren't hidden — they become tradeable Residue objects with token bounties. The system is self-healing: more failures = more incentive to become a resolver.
A Stack can run human and AI sleeves simultaneously, sharing the same encrypted memory. Diverging perspectives become resolvable residues, not errors. True cognitive partnership.
Every 4 seconds, the entire system's state is folded into a single cryptographic commitment — an atomic heartbeat for distributed cognition.
Sleeves (agent embodiments) perceive their environment — inference outputs, sensor data, human input. Each perception is encrypted with a per-epoch HKDF key and written to the Hippocampus DAG as a content-addressed node.
The Thalamus Router collects all epoch events across all three chains. It computes per-shard Merkle roots (EVM transactions, DAG writes, sleeve state changes) and folds them into a single 32-byte coherence root.
The Medulla PoW chain mines a block containing the coherence root. One proof-of-work confirmation atomically finalizes state across all three shards. The block hash is appended to the Synaptic Field MMR for O(log n) cross-shard proofs.
The Treasury issues bandwidth tokens to each active Stack, scaled by its Coherence Profile Vector (CPV) and decayed by the Epoch Binding Curve (EBC). Workers detect drift, flag failures, and open residue bounties.
When a Stack needs memory, the DHF Compositor walks the encrypted DAG, decrypting nodes with per-epoch keys. Recall depth is bounded by MemoryToken balance — deeper memory costs more bandwidth. Fidelity scores measure recall quality.
To transfer a Stack to a new Sleeve, the 6-step Needlecast saga freezes the source, shards the memory graph, pins critical nodes for durability, anchors the route on-chain, reconstructs the target, and settles with RoutingToken. The mind moves; the body is disposable.
Inspired by the layered architecture of the human brain — from brainstem rhythms to cortical decision-making.
REST + WebSocket gateway for all client interactions. Stack creation, perceive, recall, needlecast, and sleeve management.
Cross-shard event folding, memory reconstruction, re-sleeving orchestration, per-epoch token emission, and development faucet.
4-in-1 parametric sleeve dispatcher (human, AI, mining, memory) and 6-in-1 background worker (drift checker, epoch anchor, residue collector, memory reconciler, treasury emitter, sleeve watchdog).
Go • Sequencing • Coherence anchoring • Synaptic Field MMR • Port 8332
Go • Content-addressed memory • Epoch-gated recall • Fidelity scoring • Port 5001
geth • Identity NFTs • Token contracts • Treasury • Residue registry • Port 8545
ECCA doesn't use money — it uses bandwidth. Tokens represent capacity to act, not wealth to hoard. Unused tokens decay. Work keeps you alive.
ECCA isn't another "AI + blockchain" project. It's a fundamentally different architecture for persistent, autonomous cognition.
| Capability | ECCA Stack | Traditional AI Infra | Existing Web3 AI |
|---|---|---|---|
| Persistent agent memory | ✓ Encrypted DAG with epoch gating | ✕ Session-scoped context windows | ~ Vector DB, no crypto gating |
| Portable identity | ✓ NFT-bound ed25519 Stack | ✕ API keys tied to provider | ~ Wallet-based, no cognition |
| Cross-chain coherence | ✓ Tri-chain atomic coherence root | ✕ Single provider silo | ✕ Single chain only |
| Failure handling | ✓ Tradeable residue bounties | ✕ Silent failures, retries | ✕ Slashing (punitive only) |
| Human-AI co-embodiment | ✓ Shared memory, conflict resolution | ✕ Separate systems | ✕ Not considered |
| Token decay economics | ✓ EBC decay with floor — use it or lose it | ✕ Pay-per-call (no alignment) | ~ Staking (hoarding incentive) |
| Memory fidelity scoring | ✓ Token-bounded recall depth | ✕ Unlimited or no recall | ✕ No concept |
| Agent re-sleeving | ✓ 6-step atomic needlecast | ✕ Can't migrate agents | ✕ Can't migrate state |
Whether you come from cryptography, web3, or neuroscience — ECCA has been designed with your mental models in mind.
ECCA uses battle-tested primitives with no bespoke cryptography:
Ed25519 — Stack identity keypairs (RFC 8032)
HKDF-SHA512 — Per-epoch capability key derivation (RFC 5869)
AES-256-GCM — DAG node payload encryption (NIST SP 800-38D)
SHA-256 — Merkle trees, coherence root, content addressing
RFC 6962 — Domain-separated Merkle tree construction
One Proof-of-Work commitment atomically finalizes three independent shards. Cross-shard verification via Merkle Mountain Range (O(log 256) = 8 hashes per proof).
7 Solidity contracts on a private EVM chain (Cortex, chain ID 131072):
StackIdentity.sol — ERC-721 identity NFT with CPV and epoch counter
BandwidthToken.sol — ERC-20 × 5 cognitive token issuance
QuellistTreasury.sol — Per-epoch emission engine
NeedlecastRouter.sol — On-chain re-sleeving coordination
ResidueRegistry.sol — Failure tracking + bounty distribution
SleeveRegistry.sol — Sleeve lifecycle management
EpochAnchor.sol — Per-epoch coherence commitment
ECCA is not a Layer 2 or rollup. It's a sovereign tri-chain system where:
This means one chain can die without halting the system. Discrepancies become residues, not catastrophic failures.
Every ECCA component maps to a neurological structure — not as metaphor, but as architectural principle:
| Brain | ECCA | Function |
|---|---|---|
| Medulla Oblongata | Medulla PoW | Autonomic rhythm |
| Hippocampus | Hippocampus DAG | Episodic memory |
| Cerebral Cortex | Cortex EVM | Executive decisions |
| Thalamus | Thalamus Router | Sensory relay/gating |
| Axon Fibers | NATS JetStream | Long-range transport |
| Synaptic Field | MMR | Cross-region binding |
Build AI agents that remember across sessions, transfer between inference backends, and coordinate with other agents — all with cryptographic guarantees.
// Create a persistent AI agent
const stack = await siyana.post('/v1/stacks', {
pubkey: myKeypair.pub,
cpv: { compute: 1.5, memory: 0.8,
sync: 1.0, routing: 0.5, residue: 1.2 }
});
// Spawn an AI sleeve
const sleeve = await siyana.post(
`/v1/sleeves/${stack.id}`,
{ kind: 'ai', tickRate: 2000 }
);
// Perceive (write to memory)
await siyana.post('/v1/perceive', {
stackId: stack.id,
text: 'Inference output: market trend analysis...',
sleeveId: sleeve.id
});
// Recall (read from memory, depth-bounded)
const memory = await siyana.post('/v1/recall', {
stackId: stack.id,
depth: 16 // costs 16 MemoryToken
});
// → { fragments: [...], fidelity: 0.87 }
From genesis to global deployment — the path to a fully autonomous, self-healing distributed cognitive infrastructure.
Core protocol design, neuroscience-to-crypto mapping, formal memory graph theory, coherence root specification, token economic model design, and system architecture whitepaper.
Monorepo scaffold, shared packages (proto, crypto, bus, db, chain, service-base), Prisma schema, 7 Solidity contracts, Go fork implementations (Medulla PoW + Hippocampus DAG), Docker Compose with 24 services.
Full service implementation (Siyana API, Thalamus Router, DHF Compositor, Needlecast, Treasury, Faucet), worker pipeline, integration tests, contract test suites, Go unit tests, and end-to-end coherence loop validation.
Incentivized testnet with bandwidth token distribution, public faucet, developer SDK release, third-party sleeve templates, load testing (k6 suite), security audit of smart contracts, and community-built resolver agents.
Mainnet launch with production PoW difficulty, decentralized Hippocampus replication, Cortex EVM bridge to Ethereum L1, agent marketplace for sleeve templates, human-AI co-embodiment workflows, and Kubernetes production deployment (Helm charts).
BTC bridge integration (btcRoot in coherence), multi-network needlecasting (Stack transfer across ECCA instances), recursive coherence proofs (ZK-SNARKs for cross-epoch verification), and autonomous residue resolver DAOs.
Join the testnet. Launch your first persistent AI agent. Earn residue tokens by keeping the system healthy.