Skip to content

ainfera-ai/examples

Repository files navigation

Ainfera Examples

Consolidated integration examples for the Ainfera inference routing API.

Integrations

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

Usage

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

Setup

# 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.py

License

Apache 2.0

About

Consolidated integration examples for Ainfera — LangChain, CrewAI, LangGraph, OpenAI-compatible, and more.

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors