Skip to content

Python SDK for AI agent monitoring, LLM cost tracking, benchmarking, and more. Integrates with most LLMs and agent frameworks including CrewAI, Agno, OpenAI Agents SDK, Langchain, Autogen, AG2, and CamelAI

727 B
Raw Blame

Google GenAI Examples with AgentOps

This directory contains examples of using Google's Generative AI with AgentOps instrumentation.

Prerequisites

  • Python >= 3.10 < 3.13
  • Install required dependencies:
    pip install agentops google-generativeai
    

Examples

1. Gemini Example

Example: gemini_example This example demonstrates:

  • Basic Gemini API usage with AgentOps

AgentOps Integration

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

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