← All projects
Developer building blocks

OpenAI Agents SDK

A Python toolkit from OpenAI for building AI agents that use tools and work together.

Widely used

What it does

This toolkit helps programmers build AI agents: AI set up with instructions and tools so it can take actions. Agents can hand tasks to each other, follow safety checks, pause for a human, and remember conversations.

It also supports voice agents and includes tracing to see what an agent did. It works with OpenAI models and, its makers say, more than 100 other AI models.

Who it's for

Python developers building agent-based apps.

Can I use it without coding?

Developers only. A Python library that needs programming. New to this? Start here.

Can I run it?

Cost
Free, but needs an AI accountThe software is free, but it uses an online AI service (like OpenAI or Anthropic), which usually charges for use.
Privacy
Sends what you give it to an online service
API key
Needed. An API key is a password-like code from an online AI service. What's that?

Try it

Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?

Before you install

  • Only download from the official GitHub page. Copies with similar names exist for many popular projects.
  • License (MIT): Very permissive: free to use, change and share, including for business.
  • Keep your API key private. Never paste it into websites or share it, and set a spending limit with the AI service.
  • What you type or upload is sent to an online service. Avoid sharing private or sensitive information.
  • More on staying safe