@reminix/adapters
Framework adapters for integrating popular AI agent frameworks with the Reminix runtime.
// Import specific adapters via subpath exports (recommended for tree-shaking)import { fromOpenAI } from '@reminix/adapters/openai';import { fromAnthropic } from '@reminix/adapters/anthropic';// Or import all adapters from the main entryimport { fromOpenAI, fromAnthropic } from '@reminix/adapters'; Copy
// Import specific adapters via subpath exports (recommended for tree-shaking)import { fromOpenAI } from '@reminix/adapters/openai';import { fromAnthropic } from '@reminix/adapters/anthropic';// Or import all adapters from the main entryimport { fromOpenAI, fromAnthropic } from '@reminix/adapters';
Create a Reminix Agent from an OpenAI client.
An OpenAI client instance
Configuration options
A Reminix Agent that wraps the OpenAI client
import OpenAI from 'openai';import { fromOpenAI } from '@reminix/adapters/openai';import { serve } from '@reminix/runtime';const client = new OpenAI();const agent = fromOpenAI(client, { name: 'gpt4-agent', model: 'gpt-4o', system: 'You are a helpful assistant.',});serve(agent); Copy
import OpenAI from 'openai';import { fromOpenAI } from '@reminix/adapters/openai';import { serve } from '@reminix/runtime';const client = new OpenAI();const agent = fromOpenAI(client, { name: 'gpt4-agent', model: 'gpt-4o', system: 'You are a helpful assistant.',});serve(agent);
@reminix/adapters
Framework adapters for integrating popular AI agent frameworks with the Reminix runtime.
Example