Trace LangChain agents, chains, tools, and LLM calls with HoneyHive. Add four lines of setup and use OpenInference to instrument your existing LangChain app.
To trace LangChain with HoneyHive, install honeyhive[openinference-langchain], call HoneyHiveTracer.init(), run LangChainInstrumentor().instrument(tracer_provider=tracer.provider), and use your existing LangChain code unchanged. See the tracing quickstart and tracer initialization guides for setup details.LangChain is a framework for building applications with LLMs. It provides agents, tools, chains, and integrations with model providers. HoneyHive integrates with LangChain through the OpenInference instrumentor, automatically capturing agent runs, tool calls, chain executions, and LLM interactions.
Add HoneyHive tracing in just 4 lines of code. Add this to your existing LangChain app and all agents, tools, and model calls are automatically traced.
To see where to initialize the tracer for your environment, including AWS Lambda and long-running servers, see Tracer Initialization.
HoneyHive’s LangChain integration is tested against the following versions on PyPI, as of April 2026. Newer patch releases are generally safe; if you hit an issue, pin to these versions to reproduce a known-good configuration.
Package
Version
langchain
1.2.15 (minimum: >= 1.0.0, recommended: >= 1.2.0)
openinference-instrumentation-langchain
0.1.62
Requires Python 3.11+. The same instrumentor also traces LangGraph.
LangGraph uses the same OpenInference LangChain instrumentor. If you’ve already set up LangChain instrumentation, LangGraph state graphs are automatically traced too. See the LangGraph integration for custom StateGraph patterns.
If your project already uses Traceloop / OpenLLMetry, you can use its LangChain instrumentor instead of OpenInference. The setup is identical - only the install and import paths differ. Note the class name casing: Traceloop ships LangchainInstrumentor (lowercase “c”), while OpenInference ships LangChainInstrumentor.