Skip to main content

AvaChain

Lightweight AI Agents with Tools

Get StartedAPI Reference

Build Powerful AI Agents

Create intelligent agents with custom tools and multiple LLM providers

from avachain import AvaAgent, OpenaiLLM

# Initialize LLM
llm = OpenaiLLM(api_key="your-api-key")

# Create agent
agent = AvaAgent(
sys_prompt="You are a helpful assistant",
ava_llm=llm,
streaming=True
)

# Run agent
response = agent.run("Hello! How can you help me?")
🧠

Multiple LLM Providers

Seamlessly integrate with OpenAI, Anthropic Claude, and Mistral AI models. Switch between providers with minimal code changes.

🔧

Custom Tool Integration

Create and integrate custom tools that give your AI agents powerful capabilities. Connect to APIs, services, and data sources.

âš¡

Real-time Response Streaming

Deliver a responsive user experience with real-time streaming responses. See answers as they're generated.

🔊

Text-to-Speech Capabilities

Enable voice interactions with integrated TTS functionality. Make your agents truly conversational.

Ready to Build?

Start building intelligent AI agents with AvaChain today. Our comprehensive documentation will guide you through the process.

Get Started Now