Skip to content

Elsai Agents

Elsai Agents is a lightweight, model-agnostic framework for building AI agents in Python. The language model decides what tools to call, in what order, until it reaches a final answer — no brittle chains or rigid pipelines needed.

What you can build

PatternDescription
Conversational assistantsSingle-agent chatbots that call tools
Autonomous task agentsMulti-step reasoning with memory and state
Multi-agent systemsGraphs of agents that collaborate or compete
Voice agentsBidirectional streaming with audio I/O

Key features

FeatureDescription
Model AgnosticAmazon Bedrock, Anthropic, OpenAI, Gemini, Ollama, LiteLLM, and more
Tool systemPython decorators, directory hot-reload, MCP server support
Multi-agentGraph (deterministic) and Swarm (autonomous) patterns
StreamingAsync token streaming and bidirectional audio streaming
HooksStrongly-typed lifecycle events for observability and control
SessionsBuilt-in conversation persistence with file, S3, or custom backends
ObservabilityOpenTelemetry tracing and metrics out of the box

Minimal example

python
from elsai import Agent

agent = Agent()
agent("Explain quantum entanglement in one paragraph")

Every additional capability — tools, memory, multi-agent orchestration — layers on top without rewriting existing code.

Installation

bash
pip install --extra-index-url https://elsai-agents.elsai.ai/root/ elsai-agents==0.1.0 elsai-agents-tools

Next steps

Copyright © 2026 Elsai Foundry.