Skip to content

Integrate AgentOps with LiteLLM for LLM API call monitoring - #22

Open
homanp wants to merge 1 commit into
mainfrom
claude/integrate-agentops-litellm
Open

Integrate AgentOps with LiteLLM for LLM API call monitoring#22
homanp wants to merge 1 commit into
mainfrom
claude/integrate-agentops-litellm

Conversation

@homanp

@homanp homanp commented Jul 15, 2025

Copy link
Copy Markdown
Collaborator

This pull request integrates AgentOps with LiteLLM to enable monitoring and analysis of LLM API calls across various providers.

Changes made:

  1. Added configuration for LiteLLM to use AgentOps success callback.

The integration is implemented in the simplest way possible, requiring only one line change in the ReagClient class initialization.

Note: This change assumes that the necessary environment variables (AGENTOPS_API_KEY) have been set up separately. No additional dependencies were installed as per the instructions.

To complete the setup, ensure that the AGENTOPS_API_KEY is properly set in the environment where the code will run.

@homanp homanp added the claude Generated by Claude AI agent label Jul 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

claude Generated by Claude AI agent

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant