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

725 B
Raw Blame

LangChain Examples with AgentOps

This directory contains examples of using LangChain with AgentOps instrumentation.

Prerequisites

  • Python >= 3.10 < 3.13
  • Install required dependencies:
    pip install agentops langchain langchain_openai
    

Examples

1. LangChain Examples

Example: langchain_examples This example demonstrates:

  • Comprehensive LangChain usage examples

AgentOps Integration

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

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