Stack at a glance
Monorepo layout
Design principles
Pure core
@carry/core holds the gate, policy, and receipt logic with zero framework deps — so the web app, the CLI, the MCP server, and the SDK adapter enforce identically.Adapters behind interfaces
LLM and Walrus clients sit behind interfaces with deterministic mock fallbacks — offline-friendly and test-friendly.
Typed boundaries
A few typed contracts (
Memory, Policy, AnswerReceipt) define the seams; the rest composes.On-chain source of truth
The access policy and the proof chain live on Sui; anchoring recomputes the verdict there, and the verifier reads it — the app doesn’t get to assert it.
Local commands
Source on GitHub
Enoch208/carry — the full monorepo.