Skip to content

Use LangSmith with <Agentic WorkFlow>

LangSmith is a developer platform created by the LangChain team. You can connect your Agentic WorkFlow instance to LangSmith to record and monitor runs, just as you can in a LangChain application.

/// info | Feature availability Self-hosted Agentic WorkFlow only. ///

Connect your Agentic WorkFlow instance to LangSmith

Section titled “Connect your Agentic WorkFlow instance to LangSmith”
  1. Log in to LangSmith and get your API key.

  2. Set the LangSmith environment variables:

    VariableValue
    LANGCHAIN_ENDPOINT"https://api.smith.langchain.com"
    LANGCHAIN_TRACING_V2true
    LANGCHAIN_API_KEYSet this to your API Agentic WorkFlow

    Set the variables so that they’re available globally in the environment where you host your AAgentic WorkFlowtic Workflow Studio instance. You can do this in the same way as the rest of your general configuration.

  3. Restart Agentic WorkFlow.

For information on using LangSmith, refer to LangSmith’s documentation.