Skip to content

EasilyAI

Unified AI Integration

One Python library to rule them all - seamlessly integrate OpenAI, Anthropic, Google Gemini, X.AI Grok, and Ollama with a consistent API

EasilyAI Hero

Quick Start Example

python
from easilyai import create_app

# Create an app with any provider
app = create_app("MyAI", "openai", "your-api-key", "gpt-4")

# Generate text
response = app.request("text", "Write a haiku about coding")
print(response)
python
from easilyai import create_app

# Use OpenAI for image generation
app = create_app("ImageAI", "openai", "your-api-key", "dall-e-3")

# Generate an image
image_url = app.request("image", "A futuristic robot in a library")
print(f"Generated image: {image_url}")
python
from easilyai import EasilyAIPipeline

# Create a pipeline for complex workflows
pipeline = EasilyAIPipeline()
pipeline.add_task("generate_text", "Write a story about AI")
pipeline.add_task("generate_image", "Illustrate: {previous_output}")

results = pipeline.run()
print(results)

Supported Providers

🤖 OpenAI

GPT-4, DALL-E, Whisper

Full Support

🧠 Anthropic

Claude 3.5 Sonnet, Haiku

Text Generation

🌐 Google Gemini

Gemini Pro, Gemini Vision

Text Generation

✨ X.AI Grok

Grok-1, Grok-Vision

Text Generation

💻 Ollama

Local LLMs, Llama, Mistral

Text Generation

🤗 Hugging Face

Transformers, Diffusers

Experimental

Why Choose EasilyAI?

💡 Developer Experience

Stop juggling multiple SDKs and APIs. EasilyAI provides a unified interface that feels natural and consistent across all providers.

🛡️ Production Ready

Built-in error handling, automatic retries, comprehensive logging, and extensive testing make this perfect for production applications.

⚡ Performance Focused

Optimized for speed with efficient request handling, connection pooling, and minimal overhead.

6+
AI Providers
3
Task Types
100%
Type Safe
1
Unified API

Released under the MIT License.