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

openai-agents-js

openai-agents-js é um projeto de agentes de IA de código aberto de openai (openai/openai-agents-js no GitHub). Tem 3.898 estrelas no GitHub e 989 forks, é publicado sob a licença MIT e foi atualizado pela última vez no GitHub em 7 de outubro de 2026.

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

★ 3,9 mil estrelas⑂ 989 forksMITatualizado out 2026
▦ visual: o README deste projeto não inclui nenhuma captura incorporável,
então aqui vai um marcador. O guia abaixo está completo mesmo assim.
// dados do projeto

Dados do projeto

Estrelas no GitHub
3.898
Forks
989
Licença
MIT
Última atualização no GitHub
7 de outubro de 2026
Categoria
Agentes de IA
Tipo de ficha
Guia de instalação completo
Site oficial
Official site
// como funciona

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

// recursos

Por que as pessoas gostam 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
// execute você mesmo

Execute você mesmo

  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

O que você pode criar

Advertisement
// perguntas frequentes

Perguntas frequentes

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.

// continue explorando

Ferramentas semelhantes

Agentes de IA

Openai Agents Python

A lightweight, powerful framework for multi-agent workflows

★ 29,8 mil estrelasMIT
Ver o guia →
Agentes de IA

Swarm

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

★ 22,1 mil estrelasMIT
Ver o guia →
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,9 mil estrelasMIT
Ver o guia →
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,9 mil estrelasMIT
Ver o guia →
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,8 mil estrelasMIT
Ver o guia →
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,8 mil estrelasApache-2.0
Ver o guia →
// alternativas

Alternativas em Agentes de IA

Os outros projetos de Agentes de IA com mais estrelas no catálogo do LibreAI — a lista realista de alternativas se openai-agents-js não for o ideal para você.

// mais em agents

Mais em Agentes de IA

Projetos de Agentes de IA próximos no catálogo, os mais próximos em estrelas de openai-agents-js: continue explorando dos dois lados dele.

Baixe o openai-agents-js

Grátis e aberto: pegue o código-fonte, dê uma estrela no repositório e comece a criar.