Skip to main content
brickken agent groups the ERC-8004 identity and reputation operations on Base. Every subcommand is prepare-only by default (free); add --execute to also send and pay the x402 charge. The recommended brickken-relayed mode (--execution-mode brickken-relayed, omit --signer-address) lets Brickken’s relayer sign and broadcast; the default client-signed mode signs locally with --signer-address. For the field-level semantics of each underlying method, see Agentic Methods with x402.

Shared options

These options apply to every agent subcommand:
--owner-email / --email is optional metadata. Agentic operations do not require a tokenizer user in the Brickken database.

agent register

Prepare or execute an ERC-8004 agent registration → backend method agentRegister. The prepare response includes info.agentUuid; save it for the follow-up set-uri and set-metadata calls.

agent set-uri

Prepare or execute an agent URI/profile update → agentSetURI. Run this after the registration transaction is mined; it injects the real on-chain agentId and publishes the final profile to IPFS. In addition to the shared options and all register profile flags (--name, --description, --image, --service-*, --ai-model-*, --tag, --version, --documentation, --source-code, --license, --agent-type, --supported-trust, --x402-support, --active): ¹ Provide either --agent-uuid or --agent-id.

agent set-metadata

Prepare or execute a metadata update → agentSetMetadata. Writes a single key/value pair on-chain. ¹ Provide either --agent-uuid or --agent-id.  ² Or supply --ai-model-name as the key shortcut.
For complex metadata payloads, prefer a --file to avoid shell-quoting issues. See the raw tx flow for the file-based pattern.

agent set-wallet

Prepare or execute an agent wallet update → agentSetWallet. The new wallet must sign an authorization first. ¹ Provide either --agent-uuid or --agent-id.

agent transfer-ownership

Prepare or execute an ERC-8004 identity ownership transfer → agentTransferOwnership. Moves the identity NFT from Brickken custody to a wallet you control via an ERC-721 safeTransferFrom. ¹ Provide either --agent-uuid or --agent-id. The agent must already be registered on-chain.
Ownership transfer is irreversible and is different from set-wallet (which only changes the operational wallet). After the identity leaves Brickken custody, Brickken’s relayer can no longer perform owner-only operations for that agent.

agent feedback give

Prepare or execute reputation feedback → agentGiveFeedback. ¹ Provide either --agent-uuid or --agent-id.  ² Required when the API cannot infer tracking context from the agent reference.

agent feedback revoke

Prepare or execute feedback revocation → agentRevokeFeedback.

agent feedback respond

Prepare or execute a feedback response → agentAppendFeedbackResponse.
For multi-step agent flows (registerset-uriset-metadata), wait for each transaction to be mined before preparing the next one. Preparing dependent transactions before the previous one is mined can produce nonce conflicts. See the end-to-end guide.