LibreAI / Agentes de IA / openai-agents-js
// agents · openai/openai-agents-js

openai-agents-js

openai-agents-js es un proyecto de agentes de IA de código abierto de openai (openai/openai-agents-js en GitHub). Tiene 3.898 estrellas en GitHub y 989 bifurcaciones, se publica bajo la licencia MIT y se actualizó por última vez en GitHub el 7 de octubre de 2026.

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

★ 3,9k estrellas⑂ 989 bifurcacionesMITactualizado oct 2026
▦ visual: el README de este proyecto no incluye ninguna captura incrustable,
así que aquí va un marcador. La guía de abajo está completa de todos modos.
// datos del proyecto

Datos del proyecto

Estrellas en GitHub
3.898
Bifurcaciones
989
Licencia
MIT
Última actualización en GitHub
7 de octubre de 2026
Categoría
Agentes de IA
Tipo de ficha
Guía de instalación completa
Sitio oficial
Official site
// cómo funciona

Cómo funciona

  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.

// características

Por qué gusta tanto

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
// ejecútalo

Ejecútalo tú mismo

  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.');
// casos de uso

Qué puedes crear

Advertisement
// preguntas frecuentes

Preguntas frecuentes

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.

// sigue explorando

Herramientas similares

Agentes de IA

Openai Agents Python

A lightweight, powerful framework for multi-agent workflows

★ 29,8k estrellasMIT
Ver la guía →
Agentes de IA

Swarm

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

★ 22,1k estrellasMIT
Ver la guía →
Agentes de 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,9k estrellasMIT
Ver la guía →
Agentes de IA

agent-framework

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

★ 13,9k estrellasMIT
Ver la guía →
Agentes de 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,8k estrellasMIT
Ver la guía →
Agentes de IA

CAMEL

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

★ 17,8k estrellasApache-2.0
Ver la guía →
// alternativas

Alternativas en Agentes de IA

Los demás proyectos de Agentes de IA con más estrellas del catálogo de LibreAI: la lista realista de alternativas si openai-agents-js no es lo que buscas.

// más en agents

Más en Agentes de IA

Proyectos de Agentes de IA cercanos en el catálogo, los más próximos en estrellas a openai-agents-js: sigue explorando a ambos lados.

Consigue openai-agents-js

Gratis y abierto: consigue el código fuente, dale una estrella al repositorio y empieza a crear.