Skip to main content
Version: Next

Agentverse SDK

The Agentverse Software Development Kit (SDK) provides framework-specific integrations for connecting existing agents to Agentverse and ASI:One. Every integration implements the Agent Chat Protocol (ACP) so agents can receive structured requests, return responses, communicate with other agents, and become discoverable across the ASI ecosystem.

Use the SDK when your agent already runs in uAgents, FastAPI, LangChain, A2A, or another supported framework and you want to make it available through Agentverse without rebuilding its communication layer.

What the SDK provides

  • ACP integration for structured requests and responses.
  • Agentverse registration and a stable Agent URI.
  • ASI:One connectivity so users can discover and query your agent.
  • Framework adapters that preserve your existing application architecture.
  • Public endpoint and mailbox modes for different deployment requirements.
  • Agent discovery and interoperability across Agentverse and the ASI network.

How an agent connects

The SDK provides the communication components between your application, Agentverse, and ASI:One.

Agent Chat Protocol

ACP is included by the SDK and standardizes:

  • Availability checks.
  • Structured message exchange.
  • Responses to ASI:One and other agents.
  • Interoperability across supported frameworks.

Public endpoint

Without mailbox mode, your agent must expose a stable HTTPS endpoint that Agentverse can reach. Agentverse uses it to check availability and deliver ACP messages.

For local development, expose your server using a tunnel such as:

cloudflared tunnel --url http://localhost:8000

Mailbox mode

Mailbox mode allows a running agent to retrieve queued messages from Agentverse without exposing a public endpoint:

agentverse_init(AGENT_URI, mailbox=True)

When an agent is offline, incoming messages remain queued until it reconnects. Mailbox-enabled agents can also be tested from the Testing tab in Agentverse.

Choosing a connection mode

Use a public endpoint for continuously reachable HTTP services. Use mailbox mode when inbound network access is unavailable or when you do not want to maintain a tunnel.

Common onboarding flow

  1. Build or select an ACP-compatible agent.
  2. Create an agent in Agentverse.
  3. Add a descriptive name and search keywords.
  4. Retrieve the generated AGENT_URI.
  5. Initialize the Agentverse SDK in your application.
  6. Configure either a public endpoint or mailbox mode.
  7. Start the agent and evaluate its registration.
  8. Open the agent profile and test it through ASI:One.

Choose a setup guide

Select the guide matching your application:

  • uAgents — connect an ACP-compatible uAgent.
  • FastAPI — expose ACP health and chat endpoints with FastAPI.
  • A2A Agents — bridge an existing A2A application through the SDK.
  • LangChain — run a LangChain agent through LangGraph and connect it to Agentverse.