Adapters¶
Framework adapters for wrapping popular AI frameworks with the Reminix runtime.
Installation¶
Install with the adapter dependencies you need:
# Individual adapters
pip install reminix[runtime,openai]
pip install reminix[runtime,anthropic]
pip install reminix[runtime,langchain]
pip install reminix[runtime,langgraph]
pip install reminix[runtime,llamaindex]
# All adapters
pip install reminix[all]
Quick Start¶
from openai import AsyncOpenAI
from reminix.adapters.openai import from_openai
from reminix.runtime import serve
client = AsyncOpenAI()
agent = from_openai(client, name="gpt4-agent", model="gpt-4o")
serve(agent)
OpenAI¶
Create a Reminix Agent from an OpenAI AsyncOpenAI client. |
Anthropic¶
Create a Reminix Agent from an Anthropic AsyncAnthropic client. |
LangChain¶
Create a Reminix Agent from a LangChain agent. |
|
Create a Reminix Agent from a LangChain AgentExecutor. |
|
Create a Reminix Agent from a LangChain chat model. |
LangGraph¶
Create a Reminix Agent from a LangGraph CompiledGraph. |
LlamaIndex¶
Create a Reminix Agent from a LlamaIndex QueryEngine. |
|
Create a Reminix Agent from a LlamaIndex ChatEngine. |
|
Create a Reminix Agent from a LlamaIndex Agent. |