One line of code. Every framework.

Python and TypeScript SDKs that trace, evaluate, and optimize your agents in production. OpenTelemetry-native, framework-agnostic, and installable from PyPI and npm.

pip install langwatch
import langwatch

@langwatch.trace()
def run_agent(query: str) -> str:
    # your agent code, untouched
    ...
$ langwatch login · then run your agent. traces show up live in the platform.

Five minutes. From clone to first trace.

Install the SDK, set one environment variable, wrap your agent. Traces, evaluations, and prompt history land in the platform without changing your call sites.

  1. 01
    Install the SDK
    pip install langwatch · npm i langwatch
  2. 02
    Set your API key
    export LANGWATCH_API_KEY=… (or langwatch login)
  3. 03
    Wrap your agent
    @langwatch.trace() / lw.trace("triage-agent", async () => …)
  4. 04
    Add an eval, optionally
    langwatch.evaluation.run("ragas/faithfulness", …)

Plays nicely with your stack.

Browse the integration docs
Languages
Python SDKTypeScript SDK
Wire format
OpenTelemetry
Agent frameworks
OpenAI AgentsAnthropicCrewAILangGraphLangChainPydantic AIAgno
Model gateways
LiteLLMAWS BedrockAzure OpenAI
Optimization
DSPy
Other
REST APICLI

Read the docs. Ship something today.