Skip to content

feat: add Eden AI as a provider option - #270

Merged
Eigenwise merged 4 commits into
Eigenwise:mainfrom
MVS-source:feat/edenai-provider
Jul 22, 2026
Merged

feat: add Eden AI as a provider option#270
Eigenwise merged 4 commits into
Eigenwise:mainfrom
MVS-source:feat/edenai-provider

Conversation

@MVS-source

Copy link
Copy Markdown
Contributor

What

Adds Eden AI as a provider option, alongside the existing OpenAI, Anthropic, Groq, Ollama, Gemini, OpenRouter and MiniMax choices.

Eden AI is an EU-based, OpenAI-compatible LLM gateway (one API key, one endpoint, many upstream vendors). Because Atomic Agents delegates model access to Instructor, no framework change is needed: Eden AI is used through instructor.from_openai(OpenAI(base_url="https://api.edenai.run/v3", api_key=...)), exactly like the current OpenRouter and MiniMax options.

Eden AI model ids are vendor-prefixed, for example openai/gpt-4o-mini, anthropic/claude-haiku-4-5, mistral/mistral-small-latest.

Changes

  • atomic-examples/quickstart/quickstart/4_basic_chatbot_different_providers.py: new edenai branch (option 8) in setup_client() and appended to providers_list.
  • atomic-agents/tests/agents/test_edenai_provider.py: unit tests mirroring test_minimax_provider.py (client setup, Instructor wrapping, AgentConfig, agent run/stream/history/system-prompt/params, env var).
  • atomic-agents/tests/agents/test_edenai_integration.py: live integration tests mirroring test_minimax_integration.py, skipped unless EDENAI_API_KEY is set.
  • README.md: Eden AI added to the Instructor-supported provider list.

Testing

  • Unit: pytest tests/agents/test_edenai_provider.py tests/agents/test_minimax_provider.py passes (28 tests, no regression on MiniMax).
  • Live: verified against the real Eden AI API with a real key. Structured output through AtomicAgent works with three upstream vendors (openai/gpt-4o-mini, anthropic/claude-haiku-4-5, mistral/mistral-small-latest), in both Instructor TOOLS and JSON modes; the example uses the default mode. The integration tests (basic chat, multi-turn memory recall, custom output schema) pass.
  • Lint: black --check and flake8 are clean on the changed files.

MVS-source and others added 4 commits July 21, 2026 15:25
Eden AI is an EU-based, OpenAI-compatible LLM gateway. Since Atomic Agents
delegates model access to Instructor, Eden AI works through
instructor.from_openai(OpenAI(base_url=..., api_key=...)), exactly like the
existing OpenRouter and MiniMax options. Model ids are vendor-prefixed
(e.g. openai/gpt-4o-mini, anthropic/claude-haiku-4-5).

Adds the provider to the multi-provider quickstart example, unit tests and
live integration tests mirroring the MiniMax ones, and a mention in the
README provider list.
Updated compatibility information for APIs supported by Instructor.
@Eigenwise
Eigenwise merged commit cb3b9c5 into Eigenwise:main Jul 22, 2026
1 check passed
MVS-source added a commit to edenai/docs that referenced this pull request Jul 27, 2026
…des (#82)

Eden AI shipped as a native provider in all three, merged upstream:
Eigenwise/atomic-agents#270, oomol-lab/open-connector#164,
HKUDS/DeepTutor#671. Adds v3/integrations/*.mdx pages (AI Frameworks,
AI Gateway, Chat UI groups) matching the existing devdoc format.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants