Founders get multi-agent workflow automation with openai-agents-python, a lightweight framework, backed by 28k+ GitHub stars.
27,688 stars4,263 forksPythonQuality 8/10Updated 7/6/2026100% free · open source
What it does
Openai-agents-python allows founders to automate complex workflows by defining and orchestrating multiple AI agents that can interact with each other and their environment.
Install / run
pip install openai-agents
When to use it
•When you need to automate a business process that involves multiple decision-making steps
•When you want to integrate AI-driven decision making into your existing workflows
•When you need to simulate complex scenarios or environments to test and optimize your business strategies
Quick start
1Create a new Python file, e.g. `agents.py`, and import the `Agent` class from `openai_agents`
2Define your first agent by creating an instance of the `Agent` class, e.g. `agent = Agent('my_agent')`
3Configure your agent's behavior by defining its `act` method, e.g. `agent.act = lambda state: 'take_action'`
4Create a workflow by defining a list of agents and their interactions, e.g. `workflow = [agent1, agent2]`
5Run your workflow using the `run` method, e.g. `workflow.run()`
Ready-to-paste prompt
Create an agent that responds to user input: `agent = Agent('user_input'); agent.act = lambda state: input('Please enter your response: ')`
Heads up: Make sure you have the `openai` library installed and configured with a valid API key to use the `openai-agents` library, as it relies on OpenAI's API for its functionality
Saves to your device
Topics
agents
ai
framework
harness
llm
openai
python
What's inside — free to inspect
No purchase needed
Read the entire source before you build — unlike paid marketplaces that hide it behind a buy button.
13
top-level files
7
folders
34.4M
repo size
MIT
license
Key files
AGENTS.md
pyrightconfig.json
README.md
File tree
.agents/
.github/
.vscode/
docs/
examples/
src/
tests/
.gitignore
.prettierrc
AGENTS.md
CLAUDE.md
LICENSE
Makefile
mkdocs.yml
PLANS.md
pyproject.toml
pyrightconfig.json
README.md
SECURITY.md
uv.lock
Quick Actions
Details
Creator
openai
Language
Python
Category
automation
Published
3/11/2025
Are you the creator of this tool? Claim your listing → and earn 85% of every sale.
Related skills
More automation tools founders pair with this one.