LibreAI / AIエージェント / openai-agents-js
// agents · openai/openai-agents-js

openai-agents-js

openai-agents-jsは、openaiが公開しているオープンソースのAIエージェントプロジェクトです(GitHub: openai/openai-agents-js)。GitHubスターは3,898、フォークは989で、MITライセンスの下で公開されています。GitHubでの最終更新は2026年10月7日です。

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

★ 3.9k スター⑂ 989 フォークMIT更新 2026年10月
▦ ビジュアル — このプロジェクトのREADMEには埋め込み可能なスクリーンショットがないため、
ここではプレースホルダーを表示しています。下のガイド自体は完全な内容です。
// プロジェクトの基本情報

プロジェクト基本情報

GitHubスター
3,898
フォーク
989
ライセンス
MIT
GitHubでの最終更新
2026年10月7日
掲載タイプ
完全なインストールガイド
公式サイト
Official site
// 仕組み

仕組み

  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.

// 機能

選ばれる理由

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
// 自分で実行

自分で実行してみる

  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.');
// 活用例

作れるもの

Advertisement
// よくある質問

よくある質問

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.

// さらに探索

似ているツール

AIエージェント

Openai Agents Python

A lightweight, powerful framework for multi-agent workflows

★ 29.8k スターMIT
ガイドを見る →
AIエージェント

Swarm

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

★ 22.1k スターMIT
ガイドを見る →
AIエージェント

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 スターMIT
ガイドを見る →
AIエージェント

agent-framework

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

★ 13.9k スターMIT
ガイドを見る →
AIエージェント

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 スターMIT
ガイドを見る →
AIエージェント

CAMEL

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

★ 17.8k スターApache-2.0
ガイドを見る →
// 代替候補

代替候補: AIエージェント

LibreAIカタログに掲載されたAIエージェントプロジェクトの中で最もスターの多いもの — openai-agents-jsが合わなかった場合に検討したい、現実的な候補リストです。

// さらに見る agents

さらに見る: AIエージェント

カタログの中でopenai-agents-jsとスター数が近いAIエージェントプロジェクト — 前後の棚もそのまま見て回れます。

openai-agents-jsを入手する

無料でオープン — ソースコードを入手して、リポジトリにスターを付け、作り始めましょう。