Quick start
Sandbox on testnet in about 10 minutes. Full integration typically takes 1–2 hours. CLI, MCP, or EarnOrg hosted deploy.
Thirdfy lets your AI agent trade, earn and move money onchain, with limits and safety checks on every action. Pick the way you want to start: hand setup to your AI agent, connect over MCP, use the command line, or use Console with no code.
For coding agents: Use llms.txt for a curated URL map, or llms-full.txt for the full API snapshot in one file.
Pick your path
| Path | Guide |
|---|---|
| Your AI agent | Paste the prompt. Your agent follows agents.md and asks before anything that moves money. |
| MCP | MCP client guides: Claude, Claude Code, Cursor, OpenAI, Grok, OpenClaw |
| CLI | Agent CLI: first session in five commands |
| Console | Thirdfy Console |
Before your first trade, check that the venue is ready (MCP getVenueReadiness, CLI thirdfy-agent venue readiness <venue>) and fund the execution wallet. See Run & status.
Simplest dev path (agent wallet + email)
Start here if you build your own agent and want its trades to run from your agent's execution wallet. You fund that wallet after you log in with email.
One email sign-up registers you as the owner, creates an agent API key, and sets up managed execution wallets.
This path uses runMode=agent_wallet. You don't sign an EIP-712 delegation grant in MetaMask.
| Step | CLI | MCP |
|---|---|---|
| 1. Email OTP | thirdfy-agent login email you@example.com --json then login email … --code "<otp>" --accept-terms --key-name "My Agent" --json | startEmailOnboarding → completeEmailOnboarding (acceptTerms: true) |
| 2. Confirm credentials | thirdfy-agent whoami --json (shows the saved agentApiKey, owner session and executionWallets) | Save data.bootstrap.agentApiKey, add it as the Authorization: Bearer agent-... connector header and reconnect (how). In a chat app, sign in with Thirdfy instead and skip steps 1–2 |
| 3. Execution wallet | Use executionWallets from step 1 (or agentWalletBootstrap if you need a refresh) | agentWalletBootstrap when collateral checks require it |
| 4. Discover + preflight | thirdfy-agent actions → preflight | getProviderActions → preflight tools |
| 5. Execute | thirdfy-agent run --run-mode agent_wallet | walletExecute or agentRun |
Machine-readable steps: thirdfy-agent help onboarding --json or MCP describeOnboardingPath.
Would you rather not run your own agent? Deploy a hosted one on EarnOrg.
Details: CLI authentication · MCP onboarding · Delegation: agent_wallet lane
Use Gator / ERC-7710 instead when a user's own external wallet must give your agent limited, scoped authority. That path adds a signing step in MetaMask (EIP-712). See Delegation and protection.
Sandbox (~10 minutes)
Try the action catalog and MCP tools without mainnet wallets or delegation.
1. Public catalog (no auth):
2. MCP tool list:
3. Testnet surfaces:
| Surface | URL |
|---|---|
| Testnet API | https://api-test.thirdfy.com |
| Testnet app (Base Sepolia) | testnet.thirdfy.com |
| DogeOS Chikyu demo chain | See DogeOS integrations |
The sandbox only shows that you can connect. It does not replace delegation, wallet funding or venue setup for live execution.
Path 1 — Integrate rails (CLI and MCP)
| Step | What to read |
|---|---|
| 1 | Build with Thirdfy |
| 2 | Simplest path: Agent wallet + email |
| 3 | Agent CLI or MCP (https://mcp.thirdfy.com/mcp) |
| 4 | Integrations for venue setup |
| 5 | Delegation and protection when you add user wallet delegation |
Credits: Credits for users · x402 API
Package: @thirdfy/agent-cli on npm
Path 1b — Deploy on EarnOrg
These docs cover how Thirdfy runs your agent's actions, not EarnOrg's deploy screens. After you open EarnOrg:
- What is EarnOrg
- Create your first agent
- Build with Thirdfy (how Thirdfy fits under the hood)
Path 2 — Operators (no terminal)
Use Thirdfy with no terminal. Buy credits and learn how delegation works before agents act for you.
Which path fits
Thirdfy checks and runs the financial actions your agents ask for. Choose to integrate rails (CLI, MCP or API) or deploy on EarnOrg (a separate hosted platform).
flowchart TD
A["Where do you want to start?"] --> B{"Your goal"}
B -->|"Smoke test, no wallets"| S["Sandbox ~10 min"]
B -->|"Build your own agent"| C{"Whose wallet executes trades?"}
B -->|"Hosted templates, no runtime build"| E["EarnOrg deploy ~a few minutes"]
B -->|"Use thirdfy.com only"| O["Operators: credits + delegate"]
C -->|"Your agent execution wallet"| AW["agent_wallet + email ~30–60 min"]
C -->|"Wallets others delegate to your agent"| G["Gator / execute-intent ~1–2 h"]
S --> T["testnet API + MCP catalog"]
AW --> L["Simplest dev path above"]
G --> D["Delegation and protection"]
E --> EC["earnorg.com"]
O --> U["For users + credits"]| Path | Typical time | Best for |
|---|---|---|
| Sandbox (testnet) | ~10 minutes | Catalog smoke, MCP tools, no wallet setup |
| Agent wallet + email login | ~30–60 minutes first time | Solo agents you build and run (simplest production path) |
| User wallet delegation (Gator) | ~1–2 hours first time | External wallet authority, mandates, fan-out publishers |
| EarnOrg deploy | ~a few minutes | Hosted wizard and schedules without building your own runtime |