RepositoryTypeScriptUSUnited States
latitude-dev

latitude-dev/latitude-llm

Open-source observability for AI agents. Find where your agents fail, dispatch your coding agent to fix it, and verify the fix against real traces.

4.8kstars
406forks
3issues
5views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: ai-error-monitor

#1 Repository of the week

1
TINIX TRENDING·Topic: agent-monitoring

#1 Repository of the week

1
TINIX TRENDING·Topic: llm-error-tracing

#1 Repository of the week

Latitude — issue detection for AI agents

New: Latitude MCP server: connect your AI agent to Latitude →

Open source AI Agent Monitoring

Sentry, but for agents and LLMs.

License Build Commits last month npm downloads PyPI downloads GitHub stars Follow on X

Website  ·   Docs  ·   Changelog  ·   Slack  ·   X

Demo of the Latitude UI showing LLM observability, issue tracking, and evals

🌈 Why Latitude?

Latitude shows you what will break next in your AI Agent and helps you fix it before users notice.

  • Issue-centric: failed traces grouped into tracked issues, with status, size, and trend.
  • Human-aligned evals: evals built automatically from your team's judgments, with an alignment score that tracks drift from human judgment over time.
  • Agent-native traces: multi-turn sessions, tool calls, and full execution paths in one view.
  • Semantic search: find any trace by meaning, exact matches, or roughly similar sentences. No sampling, 100% of traces are searchable.
  • Issue alerts: get notified the moment a new issue is detected or an existing one escalates. Connect Slack, email, or webhooks.
  • MCP server: everything you can do in the Latitude UI, now available from your coding agent via MCP.

📚 Table of contents

⚡ Quick start

You can use Latitude for free, including 20K credits/month, 30-day data retention, and unlimited seats.

Sign up at latitude.so and grab your API key and project slug.

Paste this prompt into Claude Code, Cursor, Windsurf, Codex, OpenCode, or another coding agent:

Read the Latitude Telemetry AI skill from https://raw.githubusercontent.com/latitude-dev/skills/refs/heads/main/skills/latitude-telemetry/SKILL.md and add tracing to this application.

Manual TypeScript setup

npm install @latitude-data/telemetry

This example uses OpenAI; replace it with the LLM SDK your app already imports.

import { Latitude } from "@latitude-data/telemetry";
import OpenAI from "openai";

const latitude = new Latitude({
  apiKey: process.env.LATITUDE_API_KEY!,
  project: process.env.LATITUDE_PROJECT_SLUG!,
  instrumentations: { openai: OpenAI },
});

const client = new OpenAI();

await client.chat.completions.create({
  model: "gpt-4o",
  messages: [{ role: "user", content: "Hello" }],
});

await latitude.shutdown();

Every supported LLM call now shows up as a trace in Latitude. Use capture() at request, conversation, or agent boundaries when you want to add user IDs, session IDs, tags, or metadata.

Python and any OpenTelemetry-compatible runtime are also supported. Full setup, provider guides, and OTel passthrough are in the Start tracing guide.

🔌 Integrations

Latitude is provider-agnostic. Telemetry works out of the box with most model providers and frameworks (OpenAI, Anthropic, Bedrock, Vercel AI SDK, LangChain, and more), plus any OTEL-compatible application.

See the full integration list for setup instructions.

✳️ With Claude Code

Building inside Claude Code? We have a dedicated package that captures full session transcripts as traces. Check out docs.

npx -y @latitude-data/claude-code-telemetry install

Works in the terminal, the Desktop app, and IDE extensions.

🛠️ Development

Check out the Development setup and the Contributing guide to get started contributing to Latitude.

🏠 Self-host

Latitude is self-hostable at any scale, on fully open infrastructure. Pull the ready-to-go container images on Docker Hub:

Deploy on Railway

  • Single-host (simple) — a production-grade instance on one machine with Docker Compose, follow the Single-host guide.
  • Cluster (advanced) — a scalable, highly-available deployment on Kubernetes via a Helm chart, follow the Cluster guide.
  • One-click (Railway) — the whole stack on managed infrastructure, easy deploy through Railway.

👥 Community

Join the Slack community to ask questions, share feedback, and show what you're building.

📄 License

Latitude is licensed under the MIT License.

🤝 Contributing

Contributions are welcome. Read the Contributing Guide to get started, then join the Slack community, open an issue, or submit a pull request.

New to the project? Good first issues are a friendly place to start.

🧑‍💻 Thanks to all of our contributors

geclos csansoon andresgutgon neoxelox learningbizz cesr guillemwilly paulacavero ntizish Ashad-h cballou samufyi daavidrgz Bald1nh0 txus felpasl NewtTheWolf baibhavKumar1 cursoragent david8z eltociear marcos-muino-garcia PeterDaveHello timneutkens VaibhavWakde52 zhyd1997 buweiyuqi monotykamary wnor543

Made with love by the Latitude Team

Similar Projects

Discover other similar projects and AI models.

RepositoryTypeScript
traceroot-ai/traceroot

traceroot: the open-source platform that continuously improves your ai agents.

1.5k
Nov 29, 2026
RepositoryTypeScript
evilmartians/agent-prism

React components for visualizing traces from AI agents

411
Oct 8, 2026
RepositoryTypeScript
jackulau/coding.sh

Open-source, local-first observability and evals for AI agents: see what Claude Code, Codex, Cursor and others did and what it cost.

183
Nov 28, 2026
RepositoryTypeScript
Necmttn/ax

the agent experience layer · observability + memory for AI coding agents (Claude Code + Codex) · local-first, typed, yours

124
Oct 28, 2026
RepositoryPython
Arize-ai/phoenix

AI Observability & Evaluation

12.5k
Nov 29, 2026
RepositoryPython
truera/trulens

Evaluation and Tracking for LLM Experiments and AI Agents

3.7k
Nov 30, 2026
RepositoryPython
Jwuthri/Tracely-ai

Trace-native CI/CD for AI agents — production failures become regression tests that block the PR. Auto-detect, cluster, freeze into hermetic cases, replay in CI for $0.

1.1k
Nov 21, 2026
RepositoryJavaScript
sodiumsun/agenttrail

Local observability for AI coding agents. Agenttrail Map shows your project as a live map of what each agent is working on, in the browser or natively in Herdr.

1.1k
Nov 6, 2026
RepositoryRust
taichuy/1flowbase

Build for agents — from the AI Gateway to the entire application stack.

294
Dec 2, 2026