Skip to main content

LangSmith

LangSmith is a full-lifecycle DevOps service from LangChain that provides monitoring and observability. To integrate with Langflow, just add your LangChain API key as a Langflow environment variable and you are good to go!

Step-by-step Configuration

  1. Obtain your LangChain API key from https://smith.langchain.com
  2. Add the following keys to Langflow .env file:

_10
LANGCHAIN_API_KEY="your-api-key"
_10
LANGCHAIN_PROJECT="your-project-name"

or export the environment variables in your terminal:


_10
export LANGCHAIN_API_KEY="your-api-key"
_10
export LANGCHAIN_PROJECT="your-project-name"

  1. Restart Langflow using langflow run --env-file .env
  2. Run any project and check the LangSmith dashboard for monitoring and observability.
LangSmith Flow ExampleLangSmith Flow Example
LangSmith TraceLangSmith Trace

Hi, how can I help you?