agentops/examples/openai_agents
xiaoxue af7cdc0ffd 同步完整源码 - 2026-05-25 2026-05-25 01:45:55 +08:00
..
README.md 同步完整源码 - 2026-05-25 2026-05-25 01:45:55 +08:00
agent_guardrails.ipynb 同步完整源码 - 2026-05-25 2026-05-25 01:45:55 +08:00
agent_guardrails.py 同步完整源码 - 2026-05-25 2026-05-25 01:45:55 +08:00
agent_patterns.ipynb 同步完整源码 - 2026-05-25 2026-05-25 01:45:55 +08:00
agent_patterns.py 同步完整源码 - 2026-05-25 2026-05-25 01:45:55 +08:00
agents_tools.ipynb 同步完整源码 - 2026-05-25 2026-05-25 01:45:55 +08:00
agents_tools.py 同步完整源码 - 2026-05-25 2026-05-25 01:45:55 +08:00
customer_service_agent.ipynb 同步完整源码 - 2026-05-25 2026-05-25 01:45:55 +08:00
customer_service_agent.py 同步完整源码 - 2026-05-25 2026-05-25 01:45:55 +08:00
requirements.txt 同步完整源码 - 2026-05-25 2026-05-25 01:45:55 +08:00

README.md

OpenAI Agents Examples with AgentOps

This directory contains examples of using the OpenAI Agents SDK with AgentOps instrumentation.

Prerequisites

  • Python >= 3.10 < 3.13
  • Install required dependencies:
    pip install agentops openai-agents
    

Examples

1. Agent Patterns

Example: agent_patterns This example demonstrates:

  • Common agent design patterns

2. Agent Tools

Example: agents_tools

This example demonstrates:

  • Agent tool integration

3. Customer Service Agent

Example: customer_service_agent

This example demonstrates:

  • Customer service automation

AgentOps Integration

These examples show how to use AgentOps to monitor and analyze your AI applications. AgentOps automatically instruments your OpenAI Agents calls to provide insights into performance, usage patterns, and model behavior.

To learn more about AgentOps, visit https://www.agentops.ai