SDKs
Official TypeScript SDK for the Platform API. Manage agents, calls, analytics, and more.
The Amigo Platform SDK (@amigo-ai/platform-sdk) provides a fully typed TypeScript interface to the Platform API at api.platform.amigo.ai. It covers every customer-facing resource: agents, services, calls, analytics, simulations, billing, memory, and more.
Platform API only. This SDK targets api.platform.amigo.ai. For the Classic API (api.amigo.ai), see the Classic API SDKs.
Available SDK
Package
@amigo-ai/platform-sdk
Registry
Node.js Version
18+
Language
TypeScript (ships ESM + CJS, full .d.ts types)
Key Features
Full type safety. Every request and response is typed. Branded ID types (
AgentId,ServiceId, and so on) prevent cross-resource ID mixups at compile time.Workspace-scoped resources. All operations are automatically scoped to your workspace ID.
Streaming support. Real-time conversation and call events.
Built-in error handling. Typed error classes with HTTP status codes.
Zero-config retries. Automatic exponential backoff for transient failures.
Dual module output. ESM and CJS, works in Node.js 18+, Bun, and Deno.
Covered Resources
Workspaces
client.workspaces
Workspace info and settings
API Keys
client.apiKeys
Create and manage API keys
Agents
client.agents
Agent definitions and versions
Skills
client.skills
Tool/skill management
Services
client.services
Published deployable services
Context Graphs
client.contextGraphs
Conversation flow graphs
Data Sources
client.dataSources
External data connectors
World
client.world
Entity and event management
Calls
client.calls
Call records and intelligence
Phone Numbers
client.phoneNumbers
Phone number provisioning
Integrations
client.integrations
API integration configs
Analytics
client.analytics
Call volume, quality, trends
Simulations
client.simulations
Voice simulation sessions
Settings
client.settings
Voice, branding, memory, retention
Billing
client.billing
Usage metering and plans
Memory
client.memory
Entity memory and facts
Getting Started
Installation. Add the SDK to your project.
Configuration. Set up authentication.
Quickstart. Make your first API call.
Error Handling. Handle errors gracefully.
Quick Example
License
MIT License.
Last updated
Was this helpful?

