Quickstart

Email OTP onboarding via Agent CLI or MCP. Discover the catalog, preflight, and run your first intent.

Architecture: See Architecture for the flow before diving in.

Email onboarding (CLI or MCP)

1. Email OTP login

CLI:

thirdfy-agent login email you@example.com --json
thirdfy-agent login email you@example.com --code "<otp>" --accept-terms --key-name "My Agent" --json

MCP: startEmailOnboardingcompleteEmailOnboarding (acceptTerms: true).

2. Confirm credentials

CLI: thirdfy-agent whoami --json (stores agentApiKey, owner session, executionWallets).

MCP: Response may include agent credentials; then getWalletProfile.

3. Discover actions

CLI: thirdfy-agent actions --json

MCP: getActionsCatalog or getProviderActions

Public catalog (no auth):

curl "https://api.thirdfy.com/api/v1/agent/actions/catalog"

4. Preflight

CLI: thirdfy-agent preflight --run-mode agent_wallet ...

MCP: preflight tools before your first write.

5. Execute

CLI: thirdfy-agent run --run-mode agent_wallet ...

MCP: walletExecute or agentRun

Fund the execution wallet for your venue before live writes.

6. Poll status

CLI: thirdfy-agent intent-status --intent-id <id> --json

MCP: getIntentStatus

HTTP:

curl "https://api.thirdfy.com/api/v1/agent/execute-intent/status?intentId=<intentId>"

Details: Quick start · CLI authentication · MCP onboarding

Full Example: Success and Rejection

Success response (HTTP 200):

{
  "intentId": "int_abc123",
  "status": "pending",
  "action": "swap",
  "chainId": 8453
}

Poll GET /api/v1/agent/execute-intent/status?intentId=int_abc123 until status is completed or failed.

Rejection response (HTTP 4xx):

{
  "error": "INTENT_REJECTED",
  "message": "Action 'swap' not in agent allowlist",
  "code": "ACTION_NOT_ALLOWED"
}

Common rejection reasons: invalid API key, action not in allowlist, params mismatch, estimatedAmountUsd exceeds policy limit. See Troubleshooting for remediation.

Optional: Creator Platform

Use thirdfy.com/creator later for directory profile, skills package upload, and production review. See Creator Platform Guide.

Troubleshooting

Reference

Next Steps