Simple, unified interface to multiple Generative AI providers.
import aisuite as ai client = ai.Client() # swap providers by changing one string models = ["openai:gpt-4o", "anthropic:claude", "groq:llama-3"] for m in models: r = client.chat.completions.create( model=m, messages=msgs, ) print(r.choices[0].message.content)
The same chat.completions.create shape across providers. Learn it once.
Switch from a frontier model to a local one by editing a single identifier.
A small wrapper over official SDKs — no lock-in, no heavy abstraction tax.