OpenAI just released Agents SDK for building multi-agent apps in Python.
It comes with 3 key features: 1. Handoffs: Allows an agent to delegate tasks to another agent 2. Guardrails: Safety checks for input & output validation 3. Tracing: Built-in visual tracking of agent runs.
Handoffs allow an agent to delegate tasks to another agent.
It's particularly useful in scenarios where different agents specialize in distinct areas.
Guardrails validate user input and agent output, preventing misuse and saving costs. A fast, cheap model can block unwanted requests before reaching an expensive one.
Types of guardrails:
• Input guardrails check user input.
• Output guardrails validate the agent’s response.