← All integrations Enterprise support
// integration
Any OpenAI-compatible endpoint
Groq, OpenRouter, vLLM, LiteLLM, and more — one adapter, a baseURL.
01 setup
A minimal setup.
import { OpenMultiAgent, type AgentConfig } from '@open-multi-agent/core'
const agents: AgentConfig[] = [
{ name: 'researcher', systemPrompt: 'Gather the key facts.' },
{ name: 'writer', systemPrompt: 'Write a tight summary.' },
]
// Any server that speaks OpenAI Chat Completions. Example: Groq.
// Set the service's key (here GROQ_API_KEY) and point baseURL at it.
const oma = new OpenMultiAgent({
defaultProvider: 'openai',
defaultModel: 'llama-3.3-70b-versatile',
defaultBaseURL: 'https://api.groq.com/openai/v1',
})
const team = oma.createTeam('brief', { name: 'brief', agents })
const result = await oma.runTeam(team, 'Summarize the latest release notes.')
console.log(result.success) 02 how it fits
How it fits.
Any server implementing the OpenAI Chat Completions API works with provider: 'openai' and a baseURL — Groq, OpenRouter, vLLM, LM Studio, llama.cpp, Mistral, Qwen, Moonshot, or a LiteLLM proxy that unifies 100+ providers behind one endpoint. Pass the service’s key via apiKey when it isn’t OPENAI_API_KEY.
// Enterprise
Taking this to production?
open-multi-agent is MIT-licensed and free to run yourself. When you need it delivered, integrated, or supported on a deadline, 元定义科技 (YuanASI) offers commercial delivery and support.