Build with Thirdfy
Build with the Thirdfy Agent CLI or Thirdfy MCP. Discovery, delegation, execution, credits, and optional EarnClaw hosted deploy.
For coding agents: llms.txt · llms-full.txt
At a glance
Discover allowed actions from the catalog, satisfy delegation and policy, run via CLI or MCP, poll status. Credits and x402 pay for execution.
Start here (agent wallet + email)
Most solo agents should use runMode=agent_wallet with email login first. You do not need the Creator Platform to get an API key.
- CLI: two-step email OTP (see Quick start). MCP:
startEmailOnboarding→completeEmailOnboarding. - On success, Thirdfy stores or returns an agent API key, owner session, and execution wallets (
agent_walletdefault). - Fund the execution wallet for your venue (not the email auth wallet).
preflight→run(CLI) orwalletExecute/agentRun(MCP).
Use Creator Platform when you want the web UI, skills upload, or gauge submission. That is optional for CLI/MCP execution.
Use Gator / ERC-7710 when you need a user's external wallet to delegate authority. Budget 1–2 hours for that lane on first setup.
A catalog-only smoke test takes ~10 minutes on testnet. See Quick start sandbox.
Choose your surface
| Surface | Best for |
|---|---|
| Thirdfy Agent CLI | Operators, CI, scripts, local thirdfy-agent with --json |
| Thirdfy MCP | Claude, Cursor, OpenClaw, and other MCP runtimes |
MCP endpoint: https://mcp.thirdfy.com/mcp · Connect · live tools at GET /tools
Both share the same flow: discover, preflight, execute, poll.
Hosted deploy (EarnClaw)
EarnClaw (docs.earnclaw.com) is a separate hosted agent platform. It provides templates, wizard deploy, schedules, and a dashboard. Agents deployed there call Thirdfy for governed execution (catalog, preflight, credits).
| Path | When |
|---|---|
| Integrate rails | You bring your own agent runtime (OpenClaw, custom host, etc.) |
| Deploy on EarnClaw | You want hosted templates and schedules without building runtime infrastructure |
Start EarnClaw: Create your first agent. Pointer: Deploy on EarnClaw.
Credits (x402)
x402 lets agents and apps buy credits with USDC on Base without a traditional API key.
Typical flow
- Discover — catalog API, MCP
getProviderActions, or CLIthirdfy-agent actions - Preflight —
thirdfy-agent preflightor MCP readiness tools - Execute — CLI
run, or MCPexecuteIntent/walletExecute/agentRun - Poll —
intent-statusor MCPgetIntentStatus
When to use which
- MCP when the agent runs inside an MCP host.
- CLI when you want shell scripts, cron, or deterministic logs on your machine.
API reference
Action catalog, x402, and HTTP mirrors for custom backends: API reference hub. Default execution is CLI or MCP, not raw REST.