LangGraph integration + Ainfera Routing. Build stateful graphs and agents — inference routed through Ainfera with signed audit per turn.
Fleet dogfood: Yavanna (LangGraph runtime).
No LangGraph install required — proves the OpenAI-compatible layer graphs call:
git clone https://github.com/ainfera-ai/ainfera-langgraph
cd ainfera-langgraph
./curl-example.sh # signup → inference → audit verifypip install -r requirements.txt
export AINFERA_API_KEY=ai_infera_... # https://app.ainfera.ai/signup
python main.pymain.py compiles a minimal StateGraph with one node using ChatOpenAI pointed at https://api.ainfera.ai/v1.
Use any LangChain ChatOpenAI (or model binding) with:
base_url="https://api.ainfera.ai/v1"api_key=os.environ["AINFERA_API_KEY"]
Budget caps, routing, and per-turn receipts are enforced at the Ainfera API — the graph code stays vanilla LangGraph.
- One Agent Card across providers (L1)
- Routed inference with per-call budget caps (L3)
- Hash-chained receipts per LLM turn (L4)
- ainfera-letta — Letta + memory blocks
- ainfera-mcp — Claude Desktop + Cursor
- ainfera-langchain — LangChain chains
- ainfera-openai-compatible — universal wedge
Apache 2.0. © Ainfera Inc. 2026.