Skip to content

Integrations

Connect StrataRouter to your AI framework of choice — with native integrations for every major ecosystem.


Available Integrations

LangChain
Native chain and retriever integration. Use StrataRouter as a routing chain inside any LangChain pipeline.
LangGraph
Graph-based stateful workflows. Route between graph nodes dynamically based on semantic intent.
CrewAI
Multi-agent team coordination. Assign tasks to the most capable agent based on query semantics.
AutoGen
Group chat speaker selection. Route conversation turns to the optimal agent automatically.
Google (Gemini)
Native Gemini 3.1 Pro and Vertex AI integration with multimodal routing support.
Custom Integrations
Build your own integration using the provider client interface. Any REST API or local model is supported.

Framework Comparison

Framework Best For Integration Style Complexity
LangChain Chains and retrievers Native chain node Low
LangGraph Stateful workflows Graph node router Medium
CrewAI Multi-agent teams Agent selector Medium
AutoGen Group chat systems Speaker selector Medium
Custom Any use case REST / Python API Variable

Quick Examples

from stratarouter.integrations.langchain import StrataRouterChain

router_chain = StrataRouterChain(router)
result = router_chain.route("Where's my invoice?")
print(result.route_id)  # "billing"
from stratarouter.integrations.langgraph import StrataRouterNode

node = StrataRouterNode(router)
graph.add_node("router", node)
graph.add_conditional_edges("router", node.route_fn)
from stratarouter.integrations.crewai import StrataRouterCrew

crew = StrataRouterCrew(router, agents=[billing_agent, support_agent])
result = crew.kickoff("Handle this refund request")
from stratarouter.integrations.autogen import StrataRouterSelector

selector = StrataRouterSelector(router)
groupchat = autogen.GroupChat(agents=[...], speaker_selection_method=selector)

Guides