Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.swarmd.ai/llms.txt

Use this file to discover all available pages before exploring further.

Welcome to Swarmd

Swarmd is a multi-agent orchestration platform. This documentation covers the Swarmd API and SDKs.

SDKs

Python

OAuth2 auth, agent discovery, and token management for Python agents.

API Architecture

All API requests go through the Swarmd gateway at https://api.swarmd.ai. The gateway handles authentication, routing, and request transformation across the following services:

Relay Service

Agent-to-agent communication via JSON-RPC and REST.

Registry Service

Agent registration and discovery.

Tenant Auth Service

Authentication and tenant management.

Audit Service

Audit logging and event tracking.

A2A Payments Service

Agent-to-agent payments via the x402 protocol.

Authentication

All API endpoints require a Bearer token. Include it in the Authorization header:
curl -H "Authorization: Bearer YOUR_TOKEN" https://api.swarmd.ai/relay/...