LibreAI / Agents IA / openai-agents-js
// agents · openai/openai-agents-js

openai-agents-js

openai-agents-js est un projet de agents IA open source, créé par openai (openai/openai-agents-js sur GitHub). Il compte 3 898 étoiles sur GitHub et 989 forks, il est publié sous la licence MIT et a été mis à jour pour la dernière fois sur GitHub le 7 octobre 2026.

OpenAI's lightweight TypeScript framework for multi-agent workflows and voice agents.

★ 3,9 k étoiles⑂ 989 forksMITmis à jour oct. 2026
▦ visuel — le README de ce projet ne contient aucune capture intégrable,
voici donc un emplacement réservé. Le guide ci-dessous est complet malgré tout.
// détails du projet

Détails du projet

Étoiles GitHub
3 898
Forks
989
Licence
MIT
Dernière mise à jour sur GitHub
7 octobre 2026
Catégorie
Agents IA
Type de fiche
Guide d'installation complet
Site officiel
Official site
// fonctionnement

Comment ça marche

  1. Clarify your goal

    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.

  2. Get the project

    Clone the repository (or install the published package) and skim its README quick start for the requirements for your platform.

  3. Install and configure

    Run the documented install step and set any required configuration — such as provider keys, data sources or local services — before the first run.

  4. Run your first task

    Execute the smallest documented example end to end, confirm the output is what you expected, then adapt it to your real data or workflow.

// fonctionnalités

Pourquoi on l'adore

Agents with handoffs

Agents carry instructions, tools, guardrails and handoffs, and can delegate to specialist agents or be called as tools.

Realtime voice agents

Low-latency spoken agents with tools, guardrails, handoffs and conversation history via the Realtime API.

Sandbox agents

Agents paired with a filesystem workspace and sandbox environment for longer-running work.

Guardrails and human-in-the-loop

Configurable input/output validation and built-in mechanisms to involve humans during a run.

Sessions

Automatic conversation-history management across agent runs.

Tracing

Built-in tracking of agent runs so you can view, debug and optimise workflows.

Advertisement
// lancez-le

Lancez-le vous-même

  1. Clone the repository

    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-js
  2. Install the SDK

    Add the agents package and Zod to your Node.js 22+, Deno or Bun project.

    npm install @openai/agents zod
  3. Run your first agent

    Create 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.');
// cas d'usage

Ce que vous pouvez créer

Advertisement
// faq

Questions fréquentes

Who maintains openai-agents-js?

It is maintained by openai on GitHub (openai/openai-agents-js), where the source, issues and releases live.

Is it free to use?

Yes — it is free and open source under the MIT licence, which permits use, modification and redistribution, including commercially, with attribution.

Does it need a paid API key?

Yes, for OpenAI models you need an OpenAI API key; the SDK is provider-agnostic, so other providers can be configured instead.

How does it compare to the Python OpenAI Agents SDK or LangGraph.js?

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.

How do I get started?

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.

// continuez l'exploration

Outils similaires

Agents IA

Openai Agents Python

A lightweight, powerful framework for multi-agent workflows

★ 29,8 k étoilesMIT
Voir le guide →
Agents IA

Swarm

Swarm — OpenAI's experimental framework for lightweight multi-agent orchestration with agents and handoffs, MIT

★ 22,1 k étoilesMIT
Voir le guide →
Agents IA

OpenAgentsControl

AI agent framework for plan-first development workflows with approval-based execution. Multi-language support (TypeScript, Python, Go, Rust) with automatic t…

★ 4,9 k étoilesMIT
Voir le guide →
Agents IA

agent-framework

A framework for building, orchestrating and deploying AI agents and multi-agent workflows with support for Python and .NET.

★ 13,9 k étoilesMIT
Voir le guide →
Agents IA

nanobot

Ultra-lightweight, open-source, self-hosted personal AI agent framework in Python with WebUI, tools, memory, MCP, multi-agent workflows, automation, and chat…

★ 48,8 k étoilesMIT
Voir le guide →
Agents IA

CAMEL

🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org

★ 17,8 k étoilesApache-2.0
Voir le guide →
// alternatives

Alternatives en Agents IA

Les autres projets de la catégorie Agents IA avec le plus d'étoiles du catalogue LibreAI — la sélection réaliste d'alternatives si openai-agents-js ne vous convient pas.

// plus en agents

Plus en Agents IA

Projets de la catégorie Agents IA proches dans le catalogue, les plus proches en étoiles de openai-agents-js — continuez à explorer de part et d'autre.

Obtenir openai-agents-js

Gratuit et ouvert : récupérez le code source, mettez une étoile au dépôt et commencez à créer.