Skip to main content
Phoenix has first-class support for LangChain applications.

Install

Setup

Use the register function to connect your application to Phoenix:

Run LangChain

By instrumenting LangChain, spans will be created whenever a chain is run and will be sent to the Phoenix server for collection.

Observe

Now that you have tracing setup, all invocations of chains will be streamed to your running Phoenix for observability and evaluation.

Resources