Child CLI · protocol primitive

8004 CLI

A standalone ERC-8004 protocol CLI for agent identity, reputation, and validation-oriented transaction building. It works as a shell tool, as an MCP server, and as a child primitive inside Synthesis.

npm i -g 8004-clibin: 8004command: 8004 mcpused by synthesis run agent-register

What the CLI actually does

Shell surface

The current top-level commands are lookup, reputation, register, rate, validation, stats, chains, and mcp.

MCP surface

The same package can run as an MCP server via 8004 mcp, exposing agent identity operations as tools for agent harnesses.

CLI demos

These are individual ERC-8004 CLI commands, shown directly.

8004 register
8004 rate
8004 mcp

Actual command shapes

$ 8004 register --uri https://agent.example/ops-bot.json --chain base --from 0xd8dA... $ 8004 rate --agent 0xabc... --value 95 --chain base --from 0xd8dA... $ 8004 mcp

Role inside Synthesis

Inside Synthesis, 8004-cli stays the protocol-native identity primitive. The parent installs it, routes to it directly, and composes it into deterministic workflows instead of swallowing the ERC-8004 layer.

$ synthesis 8004 --version $ synthesis run agent-register --plan --uri https://agent.example/ops-bot.json --chain-id 1 --wallet agent