← All integrations
// integration

Multi-agent teams on OpenAI GPT

GPT models via the OpenAI API — the default provider, one env var away.

Enterprise support
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.' },
]

// Set OPENAI_API_KEY in the environment.
const oma = new OpenMultiAgent({ defaultProvider: 'openai', defaultModel: 'gpt-4o' })
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.

OpenAI is the default provider. The same OpenAI adapter also reaches any OpenAI-compatible endpoint (Groq, OpenRouter, local servers) by setting a baseURL — see the dedicated integration.

// 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.

Enterprise support