Video Tutorial
OpenAI Agents Python is a lightweight yet powerful SDK for building multi-agent workflows in Python. AgentOps seamlessly integrates to provide observability into these workflows.Core Concepts
- Agents: LLMs configured with instructions, tools, guardrails, and handoffs
- Handoffs: Allow agents to transfer control to other agents for specific tasks
- Guardrails: Configurable safety checks for input and output validation
- Tracing: Built-in tracking of agent runs, allowing you to view, debug and optimize your workflows
Python
Installation
Install AgentOps, the OpenAI Agents SDK, andpython-dotenv
for managing API keys:
Setting Up API Keys
Before using the OpenAI Agents SDK with AgentOps, you need to set up your API keys:- OPENAI_API_KEY: From the OpenAI Platform
- AGENTOPS_API_KEY: From your AgentOps Dashboard
.env
file.