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

Openai Agents Python

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.

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

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

  • Research assistants that browse and summarize.
  • Coding agents that edit, test, and PR.
  • Support agents with real tool access.
  • Voice agents for calls and meetings.

Also on this shelf: semantic-kernel — Microsoft's SDK for weaving LLMs into real applications, fast. Also on this shelf: label-studio — the open-source studio for labeling data of every type. The AI Agents shelf also holds generative_agents — Stanford's Generative Agents simulation - 25 AI characters living in a virtual town.

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

Swarm

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

★ 22.1k 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 →
// 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.

  • openclaw★ 391.6k

    A personal AI that really does things — on any OS, with your data staying yours.

  • superpowers★ 294.9k

    An agentic skills framework & software development methodology that works.

  • ECC★ 275.2k

    Agent harness optimization system with skills, memory and security for Claude Code, Codex and more

  • hermes-agent★ 252.0k

    The agent that grows with you — a Python framework for adaptive AI agents.

  • deepseek-harness★ 245.5k

    DeepSeek's plugin-based agent harness where everything is a plugin.

// more in agents

More in AI Agents

Nearby AI Agents projects in the catalogue, closest in stars to Openai Agents Python — keep exploring the shelf either side of it.

  • smolagents★ 29.9k

    smolagents — Hugging Face's barebones agent library where agents think in code: a CodeAgent that writes its actions as Python, model-agnostic, Apache-2.0

  • chroma★ 29.5k

    Open-source search infrastructure built for AI workloads.

  • gpt-researcher★ 30.0k

    An autonomous research agent that plans, searches and writes cited reports from any data source

  • page-agent★ 29.4k

    Alibaba's in-page GUI agent: control any web interface with natural language, from one script tag

  • deepagents★ 30.0k

    The batteries-included agent harness from the LangChain team.

  • mlx★ 28.7k

    Apple's array framework for running ML efficiently on Apple silicon.

Get Openai Agents Python

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