SDKs
Official Python and TypeScript SDKs for the Classic API with streaming, auth, and error handling.
The Amigo SDK provides a complete interface to interact with Amigo's API in Python and TypeScript. Our SDKs abstract the complexities of authentication, request formatting, response parsing, and error handling, letting developers focus on building AI-powered applications.
Classic API only - These SDKs wrap the Classic API at api.amigo.ai. The Platform API does not have official SDKs yet - use direct HTTP requests with Bearer token authentication. See Platform API Authentication for details.
Available SDKs
Python SDK
The official Python SDK for the Amigo API, supporting both synchronous and asynchronous operations.
TypeScript SDK
The official TypeScript/JavaScript SDK for the Amigo API, with full type safety and modern async/await patterns.
Key Features
Both SDKs provide:
Auto-generated Types Types are generated from the latest Amigo OpenAPI schema, ensuring API compatibility.
Streaming Support - Real-time conversation events with built-in NDJSON parsing
Error Handling - Typed error handling for all API responses
Authentication - Automated API key-based authentication and token management
Configuration - Environment variable support with flexible configuration options
Resource Coverage - Complete access to Amigo API resources (conversations, users, services, organizations)
API Compatibility
Version Compatibility SDKs auto-generate types from the latest OpenAPI schema. Only the latest published SDK version is guaranteed to match the current API. Older versions may lack new endpoints or fields.
Getting Started
Installation - Set up the SDK in your project
Configuration - Configure authentication and client options
Hello World - Create your first conversation
Error Handling - Handle errors and edge cases
Streaming Responses - Handle real-time events
User Management - Create and manage users
Regional Endpoints - Configure regional deployments
Production Examples
Explore these examples demonstrating production-ready patterns:
Repository: github.com/amigo-ai/amigo-python-sdk/examples
Project structure best practices
Environment configuration
Error handling patterns
Async/await implementations
Repository: github.com/amigo-ai/amigo-typescript-sdk/examples
Type-safe implementations
Modern async patterns
Production error handling
Real-world application contexts
Support & Resources
Python SDK Issues
TypeScript SDK Issues
Enterprise Support
Contact support through the Amigo dashboard
API Reference
License
Both SDKs are licensed under the MIT License.
Last updated
Was this helpful?

