Consolidated integration examples for the Ainfera inference routing API.
| Example | Framework | Status |
|---|---|---|
openai-compatible/ |
OpenAI-compatible API | 🟢 Active |
langchain/ |
LangChain | 🟢 Active |
langgraph/ |
LangGraph | 🟢 Active |
crewai/ |
CrewAI | 🟢 Active |
google-adk/ |
Google ADK | 🟢 Active |
pydantic-ai/ |
Pydantic AI | 🟢 Active |
microsoft-agent-framework/ |
Microsoft Agent Framework | 🟢 Active |
llamaindex/ |
LlamaIndex | 🟢 Active |
letta/ |
Letta | 🟢 Active |
hermes/ |
Hermes Agent | 🟢 Active |
openclaw/ |
OpenClaw | 🟢 Active |
Each subfolder contains a self-contained example with:
- Pinned dependency versions
- Minimal working example
- Tool calling
- Streaming behavior
- Audit receipt output
- Retry/error handling
- Integration test against the Ainfera API
# Set your Ainfera API key
export AINFERA_API_KEY="your-key-here"
# Navigate to an example
cd langchain
# Install dependencies
pip install -r requirements.txt
# Run the example
python main.pyApache 2.0