$npx skillfedfor your agent

langwatch

LangWatch Python SDK, for monitoring your LLMs

With conditionsPyPI Python ModulesReleased Aug 2026332.9K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — langwatch-1.2.0-py3-none-any.whl
v1.2.0 · released 2026-08-07 · Python <3.14,>=3.10 · 21 runtime deps: attrs, coolname, deprecated, httpx, nanoid, openinference-instrumentation-haystack, openinference-instrumentation-langchain, openinference-instrumentation-openai

Yes, if you are building or operating a Python LLM application and want observability into LLM interactions. The SDK is actively maintained, has low install friction, uses a permissive MIT license, and integrates cleanly with popular frameworks. Install only if you have a LangWatch account and API key; the SDK is designed specifically for the LangWatch platform and will not be useful without it.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • Requires a LangWatch API key (set via LANGWATCH_API_KEY environment variable or passed to setup()).
  • Low friction install with a pure-Python wheel.

License · maintenance · safety

MIT (permissive) — MIT license (permissive). You can use, modify, and distribute this package with minimal restrictions in commercial and open-source projects.

last release 2026-08-07 (7 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 332,925 downloads/mo, #7,502 on PyPI

Verify before relying

pip install langwatch

import langwatch
langwatch.setup()  # Uses LANGWATCH_API_KEY env var

@langwatch.trace()
async def my_llm_operation():
    # Your LLM code here
    pass
  • Whether the package automatically instruments all major LLM frameworks or requires explicit setup per framework.
  • Performance overhead of tracing on typical LLM application throughput.
  • Data retention and privacy guarantees for traces sent to LangWatch servers.
Same gist for agents: .md · .json

What it is and what it does

LangWatch is an observability SDK that integrates with Python LLM applications to capture and export traces of LLM interactions. It uses OpenTelemetry as its instrumentation foundation and provides decorators (@langwatch.trace() and @langwatch.span()) to mark entry points and individual operations within your LLM pipeline. The SDK automatically captures function inputs, outputs, and metadata, then sends this telemetry to the LangWatch cloud platform for monitoring and analysis.

The package includes built-in instrumentors for popular frameworks—OpenAI, LangChain, Haystack, and CrewAI—allowing automatic capture of LLM calls without manual span creation. You can also manually create spans for custom operations like RAG retrieval or database queries. Traces can be grouped by thread_id for conversation tracking and by user_id for user analytics. The SDK is designed to integrate into existing OpenTelemetry setups or work standalone with minimal configuration.

Use it for

  • Monitor OpenAI, LangChain, or Haystack LLM calls in production to track latency, errors, and token usage.
  • Group related LLM operations into conversations using thread_id for multi-turn dialogue analysis.
  • Capture RAG retrieval steps and other custom pipeline stages as nested spans within a single trace.
  • Track user interactions and analytics by attaching user_id metadata to traces.
  • Debug LLM application behavior by exporting detailed traces to the LangWatch dashboard.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are building or operating a Python LLM application and want observability into LLM interactions.

The SDK is actively maintained, has low install friction, uses a permissive MIT license, and integrates cleanly with popular frameworks. Install only if you have a LangWatch account and API key; the SDK is designed specifically for the LangWatch platform and will not be useful without it.

Install

langwatch on PyPI

Before you install

Low friction install with a pure-Python wheel. Active maintenance (released 7 days ago). Depends on 21 runtime packages including OpenTelemetry, Pydantic, and framework-specific instrumentors for Haystack, LangChain, OpenAI, and CrewAI.

Requires Python 3.10 or later. Requires a LangWatch API key (set via LANGWATCH_API_KEY environment variable or passed to setup()).

License in practice

MIT license (permissive). You can use, modify, and distribute this package with minimal restrictions in commercial and open-source projects.

Quickstart

pip install langwatch

import langwatch
langwatch.setup()  # Uses LANGWATCH_API_KEY env var

@langwatch.trace()
async def my_llm_operation():
    # Your LLM code here
    pass

Verify before relying

  • Whether the package automatically instruments all major LLM frameworks or requires explicit setup per framework.
  • Performance overhead of tracing on typical LLM application throughput.
  • Data retention and privacy guarantees for traces sent to LangWatch servers.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release <3.14,>=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
21 packages
attrscoolnamedeprecatedhttpxnanoidopeninference-instrumentation-haystackopeninference-instrumentation-langchainopeninference-instrumentation-openaiopeninference-semantic-conventionsopentelemetry-apiopentelemetry-exporter-otlp-proto-httpopentelemetry-instrumentation-crewaiopentelemetry-sdkpksuidpydanticpython-liquidpyyamlretrytenacitytermcolortqdm
MaintenanceActively maintained 7 days since the last release
First released
Downloads332,925 / month, #7,502 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Topic :: Software Development :: Libraries :: Python Modules

Evidence: langwatch-1.2.0-py3-none-any.whl

Tags

Capabilities
llm monitoring sdktrace instrumentation pythonopentelemetry llm observabilitylangchain openai tracingapplication performance monitoring llmspan capture frameworkllm pipeline observability
Topics
llm-observabilityopentelemetryinstrumentation

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “application performance monitoring llm”

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also openinference-instrumentation-openai · opentelemetry-instrumentation-openai-v2 · opentelemetry-instrumentation-groq · opentelemetry-instrumentation-openai · opentelemetry-instrumentation-ollama · arize-otel · opentelemetry-instrumentation-llamaindex · promptlayer · openinference-instrumentation-langchain · opentelemetry-instrumentation-langchain