SDKs
The Amigo SDK provides a comprehensive 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, enabling developers to focus on building AI-powered applications.
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:
Streaming Support — Real-time conversation events with built-in NDJSON parsing
Error Handling — Comprehensive 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
Production Examples
Explore comprehensive 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
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?