CLI Reference
Installation
pip install substr8Current version: 1.7.2
Core Commands
substr8 proof verify
Verify a RunProof v2 JSON file.
substr8 proof verify <file>Example:
substr8 proof verify runproof.jsonOutput:
╭──────────────────────────── Verification Result ─────────────────────────────╮
│ ✓ RunProof: VALID │
╰──────────────────────────────────────────────────────────────────────────────╯
Proof ID proof_ccfe7c4abd014eab
Run ID run_ade859b400e24d09
Agent demo/research-agent
Checks:
✓ schema
✓ hash_chain
✓ merkle_root
✓ signatureVerification checks:
schema— Valid RunProof v2 structurehash_chain— Events form valid hash chainmerkle_root— Merkle root matches eventssignature— Ed25519 signature valid
substr8 proof inspect
Inspect RunProof v2 details without verification.
substr8 proof inspect <file>Output:
╭─────────────────────────── proof_ccfe7c4abd014eab ───────────────────────────╮
│ ✓ RunProof │
╰──────────────────────────────────────────────────────────────────────────────╯
Proof Details
╭─────────┬─────────────────────────╮
│ Field │ Value │
├─────────┼─────────────────────────┤
│ Run ID │ run_ade859b400e24d09 │
│ Agent │ demo/research-agent │
│ Runtime │ langgraph │
│ Status │ completed │
│ Events │ 6 │
│ Started │ 2026-03-10 08:10:33 UTC │
│ Ended │ 2026-03-10 08:10:33 UTC │
╰─────────┴─────────────────────────╯
Cryptographic Commitments
╭────────────┬───────────────────────────────────────────────────────╮
│ Field │ Value │
├────────────┼───────────────────────────────────────────────────────┤
│ Event Root │ sha256:ba56701f663b204dccafc93968d34207de6b909dd7f... │
│ Proof Hash │ sha256:a65b14e11a1a96a436e3adcc129813c10538d50f1e6... │
│ Algorithm │ ed25519 │
│ Public Key │ ed25519:09f2cb092ea8af1c94689b6cda0f80fe... │
╰────────────┴───────────────────────────────────────────────────────╯substr8 info
Show platform information and available modules.
substr8 infoOutput:
Verifiable AI Infrastructure
Components
╭──────────┬────────────┬─────────────────────────────────────────╮
│ Module │ Status │ Description │
├──────────┼────────────┼─────────────────────────────────────────┤
│ fdaa │ ✓ ready │ File-Driven Agent Architecture │
│ gam │ ✓ ready │ Git-Native Agent Memory │
│ acc │ ✓ ready │ Agent Capability Control │
│ dct │ ✓ ready │ Deterministic Capability Tokens │
│ ril │ ✓ ready │ Runtime Integrity Layer │
│ mcp │ ✓ ready │ MCP Server - Universal framework bridge │
│ gateway │ ✓ ready │ Docker Swarm orchestration │
╰──────────┴────────────┴─────────────────────────────────────────╯substr8 status
Show connection and governance status.
substr8 statusAdvanced Command Groups
The CLI includes additional command groups for power users:
| Group | Description |
|---|---|
substr8 gam | Git-Native Agent Memory |
substr8 fdaa | File-Driven Agent Architecture |
substr8 acc | Agent Capability Control |
substr8 dct | Deterministic Capability Tokens |
substr8 ril | Runtime Integrity Layer |
substr8 mcp | MCP Server commands |
substr8 registry | Run Registry queries |
substr8 gateway | Docker Swarm orchestration |
substr8 dev | Developer scaffolding |
Use --help on any group for details:
substr8 gam --help
substr8 fdaa --helpGAM Commands
Git-Native Agent Memory for semantic memory operations.
# Initialize GAM in current repo
substr8 gam init
# Store a memory
substr8 gam remember "User prefers dark mode" --tags ui,preference
# Search memories
substr8 gam recall "user preferences"
# Show GAM status
substr8 gam statusFDAA Commands
File-Driven Agent Architecture for agent workspaces.
# Create a new agent workspace
substr8 fdaa init my-agent
# Start a chat session
substr8 fdaa chat my-agent
# Verify agent matches registered hash
substr8 fdaa verify my-agentMCP Commands
Start and manage MCP servers for framework integration.
# Start local MCP server
substr8 mcp start
# Start with custom port
substr8 mcp start --port 9988Environment Variables
| Variable | Description |
|---|---|
SUBSTR8_MCP_URL | Default MCP server URL |
SUBSTR8_API_KEY | API key for cloud access |