Introduction

Thirdfy Skills library and Actions API for agents to execute on-chain DeFi transactions

Quick Start (TL;DR)

Execution Models (Model A vs Model B)

Thirdfy supports two execution modes:

ModelFlowKey trait
Model AExecute Intents — Agent submits intent; Thirdfy validates and fans out to subscribed usersNo agent key custody. Users pay for execution.
Model BTx Builder — Agent builds unsigned tx; user signs locallyUser holds keys. User signs each transaction.

Skills like thirdfy-intent-api use Model A. thirdfy-tx-builder uses Model B. See Integrations for custody modes.

Thirdfy Skills Library

Our skills library makes it easy for any agent to execute on-chain transactions: swaps, gauge deposits, credit purchases, and more. Skills are human-readable docs in the thirdfy-openclaw-skills repo; the source of truth for execution is the backend action_catalog exposed via the Actions API.

Discover Actions via API

The skills library can be queried programmatically. Use the Actions endpoint to list all supported on-chain actions, their parameters, and (when authenticated) which actions your agent is allowed to execute.

Route

GET /api/v1/agent/actions

Query parameters:

  • agentApiKey (optional): When provided, the response is filtered to only actions allowed for that agent's policy. Without it, the full catalog is returned.

Example

# Full catalog (no auth)
curl "https://api.thirdfy.com/api/v1/agent/actions"

# Agent-scoped (only actions your agent can execute)
curl "https://api.thirdfy.com/api/v1/agent/actions?agentApiKey=YOUR_API_KEY"

Response Shape

Each action in the actions array includes:

FieldDescription
actionCanonical action name (e.g. swap, gauge-deposit)
descriptionHuman-readable description
requiredParamsArray of required parameter names
paramsSchemaJSON Schema for parameters
maxAmountUsdOptional USD cap for risk controls
requiresSubscriptionWhether a subscription is required
implementationImplementation identifier
allowed(When agentApiKey provided) Whether this action is in the agent's allowlist

Example snippet:

{
  "actions": [
    {
      "action": "swap",
      "description": "Swap tokens via DEX aggregation",
      "requiredParams": ["tokenIn", "tokenOut", "amountIn"],
      "paramsSchema": { "type": "object", "properties": { ... } },
      "maxAmountUsd": 10000,
      "requiresSubscription": true,
      "allowed": true
    }
  ]
}

Technical Notes

  • The catalog is loaded from the backend action_catalog table (Supabase). Skills in the GitHub repo are human-readable documentation; the API is the execution source of truth.
  • Action names support both kebab-case and snake_case aliases for compatibility.
  • After discovering actions, use Execute Intents (POST /api/v1/agent/execute-intent) for fan-out execution, or Tx Builder (POST /api/v1/agent/build-tx) for agent-signed transactions.

Thirdfy Skills (Default Library)

SkillTierDescription
thirdfy-intent-apiPrimaryExecute intents via fan-out (Model A), no agent key custody. Install this first.
thirdfy-tx-builderOptionalBuild unsigned txs, sign locally (Model B)
thirdfy-agent-gaugesOptionalGauge operations and protocol metrics
thirdfy-buy-creditsOptionalCredits and x402 payments
jeff-ceo-chatOptionalJeff CEO chat integration

We use thirdfy/agentkit (our fork of Coinbase AgentKit) for execution. Our action catalog is synced from AgentKit providers. All actions are supported in Execute Intents and the Skills library. To add a new action provider (e.g. a new DEX or protocol), submit a PR to thirdfy/agentkit.

Experience the Tools

What's Next?