Quick start

AgentEarth is a tool marketplace and infrastructure for AI agents. One account gives your agent access to 2,800+ professional tools and APIs across e-commerce, content creation, finance, social media, search and more, with unified, pay-per-call billing.

This page takes you through three steps: pick an integration method → make your first call → use it in your agent. New users get 500 free credits on sign-up, and nothing on this page costs credits.

Step 1: Pick an integration method

All four methods share the same capabilities, account and balance. Pick the one that fits your client:

You use Recommended method API Key needed
WorkBuddy, TRAE, or another client with a plugin marketplace Plugin marketplace No
Claude Code, Cursor, Codex, VSCode, or another client that can add an MCP server MCP config Yes
An agent that can run shell commands CLI Yes
Your own agent or code HTTP API Yes

Plugin marketplace (easiest)

  1. Open the plugin marketplace in your client (the connector marketplace in WorkBuddy, the plugin marketplace in TRAE).
  2. Search for agentearth, find AgentEarth, and click Install or +.
  3. On the first tool call, your browser opens the AgentEarth login page. Signing in completes authorization. If you don't have an account yet, sign up there; you get the same sign-up credits.

Once installed, skip to Step 3.

Other methods: get an API Key first

  1. Sign up and log in, open the Agents page, and create a key.
  2. Save the key in the AGENTEARTH_API_KEY environment variable. The examples below read it from there:
export AGENTEARTH_API_KEY="<your API Key>"
  1. Connect your client. The most common way is an MCP config pointing to https://agentearth.ai/mcp-server/ with an X-Api-Key header:
{
  "mcpServers": {
    "agentearth": {
      "type": "http",
      "url": "https://agentearth.ai/mcp-server/",
      "headers": { "X-Api-Key": "<your API Key>" }
    }
  }
}

Clients spell type differently (for example "http" or "streamableHttp"); follow your client's documentation. For the CLI and conversational install, see Integration.

Step 2: Make your first call

Use a free tool to check that your key works. ae_get_result looks up the result of an async task and costs nothing; pass a task ID that doesn't exist:

curl --request POST \
  --url 'https://agentearth.ai/agent-api/v2/tool/execute?tool_name=ae_get_result' \
  --header "X-Api-Key: $AGENTEARTH_API_KEY" \
  --header 'Content-Type: application/json' \
  --data-raw '{"params":{"task_id":"test"}}'

If the response has error_no set to 0 and the result contains "status": "not_found", your key is valid and everything is connected.

If you get a 401, check two things: that you copied the whole key, and that you sent it in the X-Api-Key header. Authorization: Bearer is only for tokens issued by the plugin marketplace connector; sending an API Key that way returns 401.

If you installed from a plugin marketplace, you can skip this step. After authorization, your first tool call in the chat is your first call.

Step 3: Use it in your agent

Add "use ae …" to your message ("ae" is short for AgentEarth; "AgentEarth" works too), and your agent will find the right tool and call it. For example:

  • Use ae to call GPT Image 2.6 and create a movie poster of Sun Wukong fighting Godzilla
  • Use ae to find source factories for Bluetooth earphones on 1688 and compare wholesale prices and minimum order quantities
  • Use ae to see the trending Xiaohongshu notes about camping gear lately

Behind the scenes, your agent does two things:

  1. Recommend: it sends your task to AgentEarth and gets back a few matching tools, each with what it does, its parameters and its price.
  2. Execute: it picks one tool, builds the input from the parameter description, runs it, and summarizes the result for you.

Recommending tools, browsing, viewing tool details and checking your balance are free. Only executing a tool costs credits, and failed calls cost nothing.

Next steps

Tools labeled paid-only require a positive paid-credit balance, a payment in the last 30 days or an active membership. You can browse them before topping up. See Billing and credits.