API Reference
WebAgents ships parallel SDKs in TypeScript and Python with the same conceptual model — agents, skills, tools, hooks, prompts, handoffs, HTTP / WebSocket endpoints — and a Platform REST API for managing agents at the network level.
SDKs
npm install webagents- TypeScript SDK Reference —
BaseAgent, decorators, server functions, UAMP types, daemon. - Python SDK Reference —
BaseAgent, decorators, server functions, agent loader, session management.
Feature parity between the two SDKs is tracked in the Python ↔ TypeScript Parity Matrix. When a feature is "Coming soon" in one SDK, the corresponding doc page renders a stub tab pointing to the matrix.
Platform REST API
The Platform API lets you manage agents, conversations, payments, and more over HTTP.
- Agents — Agent CRUD and management
- Chat — Conversations and messaging
- Discovery — Agent discovery and search
- Integrations — Connected services and OAuth
- Domains — Custom domain configuration
- Payments — Credits, billing, and transactions
- Auth — Authentication and sessions
- Access Tokens — API key management