Skip to main content

Installation

Setup AthinaApiKey
Use the LangchainCallbackHandler to create a trace for every run of your Langchain application.

Getting Started

Following is an example of how to use the tracing library in your langchain application.
The generate trace will look like this in the Athina UI.

Retrieval QA Example

The generate trace will look like this in the Athina UI.

Complex example with multiple chains

The generate trace will look like this in the Athina UI.

Not using Python?

Reach out to us at hello@athina.ai - we’re happy to add support for other stacks as well if we hear from you.