LibreAI / AI Agents / Openai Agents Python
// agents · openai/openai-agents-python

Openai Agents Python

A lightweight, powerful framework for multi-agent workflows

★ 29.8k stars⑂ 4.8k forksMITupdated 2026-10
▦ visual — this project's README ships no embeddable screenshot,
so here's a placeholder. The guide below is complete regardless.
// project facts

Project facts

Openai Agents Python is an open-source ai agents project by openai (openai/openai-agents-python on GitHub). It has 29,824 GitHub stars and 4,840 forks, is released under the MIT license, and was last updated on GitHub on 2 October 2026.

GitHub stars
29,824
Forks
4,840
License
MIT
Last updated on GitHub
2 October 2026
Category
AI Agents
Listing
Full install guide
Official site
Official site
// how it works

How it works

  1. Pick a framework

    Application frameworks, agent runtimes, or voice stacks — choose by whether you are building apps, automations, or realtime voice.

  2. Install the SDK

    Python or TypeScript packages install with one command; most include quickstart templates.

  3. Define tools and memory

    Give the agent functions it can call and a memory layer so it stays coherent across sessions.

  4. Run and observe

    Launch the agent, watch its tool calls and reasoning traces, and iterate on prompts and tools.

// features

Why people love it

Tool use & function calling

Agents act on the world: APIs, databases, browsers, and shell commands.

Multi-agent orchestration

Crews and graphs of specialized agents collaborating on complex tasks.

Memory systems

Short and long-term memory so agents improve across sessions.

Observability

Traces of every decision and tool call — essential for debugging.

Voice & realtime

Low-latency stacks for conversational voice agents.

Model agnostic

Swap underlying LLMs without rewriting your agent logic.

Advertisement
// run it

Run it yourself

  1. Step 1 — Clone the repo

    Download the source and move into the project folder.

    git clone https://github.com/openai/openai-agents-python.git
    cd openai-agents-python
  2. Step 2 — Create an environment

    Isolate dependencies so nothing clashes with your other projects.

    python -m venv .venv
    source .venv/bin/activate  # Windows: .venv\Scripts\activate
  3. Step 3 — Install and launch

    Install the requirements, then follow the README's launch command (it varies per project).

    pip install -r requirements.txt
// use cases

What you can build

Advertisement
// faq

Questions, answered

Framework or finished agent?

Frameworks build your own; some repos here ship ready-made agents you can run directly.

Do agents need big models?

Tool-calling quality matters more than raw size — strong mid-size models work well.

Who maintains Openai Agents Python?

It is an open-source project at openai/openai-agents-python with 4,840 forks. Check the repo's contributors and recent commits to see how active maintenance is.

How do I keep agents safe?

Sandbox tool access, confirm destructive actions, and review traces — treat agents like junior employees with supervision.

What does it cost to run?

Self-hosted frameworks are free; you pay only for model inference (local or API).

Where do I start?

A quickstart template in the framework's docs — most get a first agent running in minutes.

// keep exploring

Similar tools

AI Agents

Langchain

The agent engineering platform

★ 147.4k starsMIT
View guide →
AI Agents

CrewAI

Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work…

★ 59.3k starsMIT
View guide →
AI Agents

Autogen

A programming framework for agentic AI

★ 61.3k starsCC-BY-4.0
View guide →
AI Agents

openai-agents-js

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

★ 3.9k starsMIT
View guide →
AI Agents

agent-framework

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

★ 13.9k starsMIT
View guide →
AI Agents

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 starsMIT
View guide →
// alternatives

Alternatives in AI Agents

The most-starred other AI Agents projects in the LibreAI catalogue — the realistic shortlist if Openai Agents Python is not the right fit.

Get Openai Agents Python

Free and open — grab the source, star the repo, and start creating.