Openai Agents Python
A lightweight, powerful framework for multi-agent workflows
OpenAI's lightweight TypeScript framework for multi-agent workflows and voice agents.
openai-agents-js is an open-source ai agents project by openai (openai/openai-agents-js on GitHub). It has 3,898 GitHub stars and 989 forks, is released under the MIT license, and was last updated on GitHub on 7 October 2026.
Decide the first concrete outcome you want from it, so you can pick the right example, template or mode instead of exploring everything at once.
Clone the repository (or install the published package) and skim its README quick start for the requirements for your platform.
Run the documented install step and set any required configuration — such as provider keys, data sources or local services — before the first run.
Execute the smallest documented example end to end, confirm the output is what you expected, then adapt it to your real data or workflow.
Agents carry instructions, tools, guardrails and handoffs, and can delegate to specialist agents or be called as tools.
Low-latency spoken agents with tools, guardrails, handoffs and conversation history via the Realtime API.
Agents paired with a filesystem workspace and sandbox environment for longer-running work.
Configurable input/output validation and built-in mechanisms to involve humans during a run.
Automatic conversation-history management across agent runs.
Built-in tracking of agent runs so you can view, debug and optimise workflows.
Get the source so you can inspect, configure and run it locally.
git clone https://github.com/openai/openai-agents-js.git
cd openai-agents-jsAdd the agents package and Zod to your Node.js 22+, Deno or Bun project.
npm install @openai/agents zodCreate an Agent with instructions and run it — see the README examples for text, sandbox and realtime variants.
import { Agent, run } from '@openai/agents';
const agent = new Agent({ name: 'Assistant', instructions: 'You are a helpful assistant.' });
const result = await run(agent, 'Write a haiku about recursion.');It is maintained by openai on GitHub (openai/openai-agents-js), where the source, issues and releases live.
Yes — it is free and open source under the MIT licence, which permits use, modification and redistribution, including commercially, with attribution.
Yes, for OpenAI models you need an OpenAI API key; the SDK is provider-agnostic, so other providers can be configured instead.
Compared with the Python OpenAI Agents SDK or LangGraph.js, openai-agents-js's distinguishing focus is: openAI's lightweight TypeScript framework for multi-agent workflows and voice agents. Pick it when that focus matches your need; the alternative may suit you better if its broader or different scope is the priority.
Clone https://github.com/openai/openai-agents-js (or install its published package), follow the README quick start to install and configure it, then run the smallest documented example — the Run section on this page mirrors those steps.
A lightweight, powerful framework for multi-agent workflows
AI agent framework for plan-first development workflows with approval-based execution. Multi-language support (TypeScript, Python, Go, Rust) with automatic t…
A framework for building, orchestrating and deploying AI agents and multi-agent workflows with support for Python and .NET.
Ultra-lightweight, open-source, self-hosted personal AI agent framework in Python with WebUI, tools, memory, MCP, multi-agent workflows, automation, and chat…
🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org
A voice-driven multi-agent assistant that orchestrates in realtime.
The most-starred other AI Agents projects in the LibreAI catalogue — the realistic shortlist if openai-agents-js is not the right fit.
A personal AI that really does things — on any OS, with your data staying yours.
An agentic skills framework & software development methodology that works.
Agent harness optimization system with skills, memory and security for Claude Code, Codex and more
The agent that grows with you — a Python framework for adaptive AI agents.
DeepSeek's plugin-based agent harness where everything is a plugin.
Free and open — grab the source, star the repo, and start creating.