Write agentic apps once, run with any LLM provider

AISuite Documentation

Learn how to use AISuite to interact with 20+ LLM providers through a single, unified interface.

Overview

AISuite is a Python and JavaScript/TypeScript library that provides a unified interface for interacting with multiple Large Language Model (LLM) providers. Instead of learning different APIs for each provider, you can use the same code to work with OpenAI, Anthropic, Google, and 17+ other providers.

Key Features

  • Agent Support: Build autonomous agents with the max_turns parameter
  • Automatic Tool Execution: Pass functions directly and let AISuite handle the execution loop
  • Unified Interface: Use the same OpenAI-compatible API for all providers
  • Multi-Language: Native support for Python, JavaScript, and TypeScript
  • Provider Flexibility: Switch between providers with a single line change

Simple Example

# Same code works with any provider
import aisuite as ai

client = ai.Client()

response = client.chat.completions.create(
    model="openai:gpt-4o",  # or "anthropic:claude-3" or "google:gemini"
    messages=[
        {"role": "user", "content": "Tell me a joke"}
    ]
)
print(response.choices[0].message.content)

Next Steps