SDK Overview
Pick your platform and instrument your application in minutes.
The Neatlogs SDKs capture traces, spans, token usage, and logs from your LLM application with a single init() call. Auto-instrumentation covers the major providers and frameworks out of the box; manual instrumentation gives you span-level control where you need it.
Pick your SDK
Python
The primary SDK — auto-instrumentation, @span decorator, trace(), log capture, and the full init() reference.
TypeScript / Node.js
Instrument Node.js backends and scripts with OpenInference-based auto-instrumentation.
Browser
Capture traces from client-side and edge environments.
Working without an SDK? Send traces directly over HTTP — see the HTTP API reference.
Configuration
Sessions
Group related traces into user or conversation sessions.
Tags
Label traces for filtering and analytics.
Workflow Name
Name your pipelines for cleaner dashboards.
Custom Attributes
Attach business context to spans and traces.
Prompt Templates
Track prompt template versions across traces.
PII Redaction
Scrub sensitive data before it leaves your app.