Agentic Commerce
Doma exposes its commerce primitives (buy, sell, register, configure) as AI-native records that any LLM agent can discover and execute. The discovery layer is AgentRoot, an open DNS-based protocol; the execution layer is the Doma CLI. This section covers how the stack fits together.
The three-step model

AgentRoot is a general-purpose discovery protocol; any domain can publish capabilities through it. This section walks through the Doma case: the user installs Doma's skills via AgentRoot once, then talks to the agent in English to run operations on Doma. The same three steps apply to any AgentRoot-published capability at any domain.
Install Doma's skills via AgentRoot (one time). The user asks the agent to install the skills published at
doma.xyz: e.g. "Use AgentRoot to install the trade-tokens skill from doma.xyz", or "install all doma.xyz skills". The agent's AgentRoot MCP resolvesdoma.xyz, fetches the matchingSKILL.mdfiles, and drops them into the agent's skills folder. From this point on, the skills are part of the agent's runtime context (portable across Claude Code, Cursor, Codex CLI, Gemini, OpenCode).Prompt the agent in plain English (every operation). With the skills installed, prompts like "buy 10 USDC of
<token>on Doma testnet" or "registermydomain.iovia MPP" match against the installed skills' trigger phrases. The user does not pick which skill runs; the agent matches the prompt.The skill drives the Doma CLI and the wallet. The matched skill orchestrates everything below the prompt: it calls Doma CLI commands, triggers the agentic wallet browser sign-in the first time a signature is needed, surfaces confirmations, and reports results. The user doesn't type any
doma <command>lines.
Protocol stack

Prerequisites
You configure the toolchain once. After that, you talk to your agent in plain English; the skill drives the CLI, the wallet, and the on-chain calls. You don't have to remember any doma … commands.
Node.js ≥ 20. Required for both
agent-root(the AgentRoot CLI) and@doma-protocol/cli.An AI agent that can load
SKILL.mdor MCP tools. Claude Code, Claude Desktop, Cursor, Codex CLI, Gemini CLI, or OpenCode.Install the Doma CLI:
npm install -g @doma-protocol/cli(one time).Pick a wallet path:
Agentic wallet (recommended). Nothing to configure up front. The first time a skill needs a signature, it triggers
doma auth loginfor you. You click Authorize in the resulting browser tab once, and Privy is your signer from then on. No key on your machine. Spend cap enforced server-side. Revocable any time.Local private key.
export DOMA_PRIVATE_KEY=0x…once. The skill uses that key for every signature. Faster setup, no browser dance, but the key sits on disk and the wallet has unbounded spend authority. Use a dedicated test wallet.
The doma <command> lines that appear in the Doma CLI reference are what the skill runs on your behalf. As a user you don't need to memorize or type them. They're documented so you understand what's happening under the hood and so you can use the CLI directly if you want.
Where to go next
New to AgentRoot? Start with AgentRoot → Protocol Overview. The protocol's home is agentroot.io.
Want to install a Doma skill in your agent? Jump to Discover & Use Skills.
Ready to run transactions? Install the Doma CLI and pick a wallet mode.
Building your own AgentRoot zone? See Publish Your Own.
Want a worked example? Read the Skills reference pages for
secondary-sales,trade-tokens, andMPP.
Last updated