https://api.edenai.run/v3 is the whole integration.
Overview
Atomic Agents is a lightweight, modular Python framework for building AI agents on composable, schema-driven building blocks (via Instructor and Pydantic). It works with Eden AI through its existing OpenAI-compatible client, so your agents reach models from OpenAI, Anthropic, Google, Mistral and more behind one key.Installation
Eden AI reuses the OpenAI client and Instructor that Atomic Agents already relies on. Atomic Agents 2 needs Python 3.12 or later; on an older Python, pip installs the 1.x line, which has noAtomicAgent or AgentConfig.
Quick Start
Atomic Agents does not read an API key from the environment itself, so the snippets below readEDEN_AI_API_KEY. Export it first:
TOOLS mode sends a tool call, so pick models that support function calling. Every model named on this page does.
Model naming
Use theprovider/model format, for example vertex/gemini-flash-latest, anthropic/claude-sonnet-latest or mistral/mistral-large-latest. To browse every id, see List LLM Models.
Switching models
Change themodel string on AgentConfig to reach any Eden AI model, with no per-provider SDKs and no code changes:
Environment Variables
Atomic Agents reads no Eden AI variable of its own.EDEN_AI_API_KEY is the name the snippets on this page use, so you can rename it as long as you change the os.getenv call to match.
Next Steps
- aisuite - Another OpenAI-style multi-provider interface
- Chat Completions - Core LLM endpoint
- List LLM Models - Browse available providers and models