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.

Property
Value

Package

amigo_sdk

Registry

Python Version

3.8+

TypeScript SDK

The official TypeScript/JavaScript SDK for the Amigo API, with full type safety and modern async/await patterns.

Property
Value

Package

@amigo-ai/sdk

Registry

Node.js Version

18+

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 — 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

Getting Started

  1. Installation — Set up the SDK in your project

  2. Configuration — Configure authentication and client options

  3. Hello World — Create your first conversation

  4. 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

Resource
Link

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?