
L
LLMxRay
Open Sourceπ Alt to LangSmithOpen-source observability and tracing tool for LLM-powered applications
π³ Self-Hostableπ No Sign-upβ‘ Editorial Signal: 77/100β
30 Stars
git clone https://github.com/LogneBudo/llmxray.gitLLMxRay is an open-source observability platform designed to monitor, trace, and debug Large Language Model interactions. It addresses the lack of transparent, self-hostable monitoring by giving developers deep visibility into token usage, latency, and prompt execution chains.
Capture end-to-end execution paths of complex multi-step LLM chains.
Track token consumption and API costs in real-time across different providers.
Keep all sensitive prompt data and user inputs strictly within your private infrastructure.
Debugging hallucinating prompt chains and unexpected agent behavior
Auditing production applications for token spend and latency bottlenecks
Ensuring enterprise compliance by keeping LLM traces on-premise
Unlike LangSmith which requires a cloud subscription and sends telemetry to external servers, LLMxRay lets you self-host your tracing data completely for free.
Backend engineers and AI developers building production LLM apps who need privacy-first monitoring.
LLMxRay is engineered to eliminate critical operational friction in devtools & cli. From an architectural standpoint, the system adopts a local-first, self-contained deployment posture, ensuring streamlined onboarding and minimal setup overhead.
Because the underlying code is fully open-source, engineering teams can audit security implementations, inspect telemetry vectors, and extend functionality via custom fork without risk of sudden vendor deprecation.
LLMxRay is an open-source, local-first observability and diagnostic platform authored by LogneBudo, engineered specifically to monitor, trace, and evaluate Large Language Model executions orchestrated via Ollama and local runtime environments. Rather than funneling sensitive inference metadata to multi-tenant cloud telemetry aggregators, LLMxRay operates a high-throughput, self-contained monitoring engine that interfaces directly with local Ollama REST endpoints (`/api/generate` and `/api/chat`). The system intercepts token-by-token streaming responses in real time, calculating vital performance metrics including Time-to-First-Token (TTFT), sustained token generation velocity (tokens per second), memory bandwidth saturation, and context window utilization. Architecturally, LLMxRay incorporates dedicated analytical modules for dissecting model reasoning phases, explicitly parsing and visualizing inner chain-of-thought 'thinking blocks' generated by modern reasoning models. Telemetry persistence is handled via an embedded, zero-configuration local database (such as SQLite or DuckDB), ensuring that high-cardinality trace logs, retrieval-augmented generation (RAG) context payloads, and prompt templates remain strictly within local filesystem boundaries. An integrated vector embeddings explorer and agent execution graph visualizer allow developers to inspect multi-turn agent tool calls, memory vector distances, and intermediate routing decisions without risking external network egress or compromising sensitive inference telemetry.
Developer experience in LLMxRay emphasizes immediacy, simplicity, and deep operational transparency. The platform launches via a lightweight CLI command, immediately provisioning a reactive, web-based dashboard accessible locally at `http://localhost:3000`. The user interface features an intuitive, dual-purpose design that combines an interactive model playground with real-time telemetry panels. Developers can execute prompts, adjust sampling temperature and top-p hyperparameters on the fly, and compare performance across multiple local models or quantization tiers (e.g., Q4_K_M versus Q8_0) side by side. Configuration ergonomics are streamlined through environment variables and a lightweight YAML file, allowing engineers to define custom Ollama host endpoints, local port bindings, and trace retention thresholds. LLMxRay stands out by providing native dataset curation workflows: developers can inspect reasoning chains, flag erroneous responses, and export curated prompt-response pairs into JSONL formats formatted specifically for downstream Supervised Fine-Tuning (SFT) or Direct Preference Optimization (DPO). Detailed diagnostic telemetry exposes token consumption breakdowns, prompt ingestion latency, and agent tool invocation arguments, providing complete clarity during prompt engineering cycles while eliminating guesswork from complex local inference optimization and model benchmarking routines. Integrated tool workshop modules allow engineers to test, mock, and validate function-calling schemas against local models interactively before committing them to agentic orchestrators.
LLMxRay is distributed under the permissive Apache License 2.0, providing comprehensive legal protections for both open-source contributors and enterprise commercial adopters. The Apache 2.0 license permits unrestricted internal deployment, proprietary extension, and embedded redistribution without copyleft obligations or commercial licensing fees. From a Total Cost of Ownership perspective, LLMxRay represents an enormous financial advantage over commercial SaaS observability suites such as LangSmith, Arize AI, or Datadog LLM Observability. These proprietary platforms charge punishing, usage-based fees tied to ingested token volumes, active trace spans, and seat licenses, costs that scale exponentially as agentic workflows generate multi-step reasoning traces. By executing 100% locally, LLMxRay completely eliminates third-party telemetry billing. Furthermore, its lightweight runtime footprintβconsuming approximately 100MB of RAM and negligible CPU overhead during passive monitoringβallows it to co-exist harmoniously on local workstations or GPU server instances alongside active Ollama processes. Crucially, the platform guarantees zero cloud telemetry or data leakage, insulating enterprises from catastrophic regulatory penalties under GDPR, HIPAA, and corporate intellectual property confidentiality agreements without requiring recurring enterprise support retainers or complex vendor compliance reviews. Teams avoid unpredictable third-party API billing spikes while maintaining full architectural autonomy and predictable, static annual compute budgeting across both local prototyping and air-gapped enterprise deployments.
From an enterprise AI systems perspective, LLMxRay is unconditionally recommended for immediate production deployment by organizations building on-premise, privacy-first AI applications and local agentic workflows with Ollama. Regulated entities across defense, healthcare, legal, and financial sectors that cannot transmit proprietary prompts or confidential customer data to third-party cloud telemetry vendors will find LLMxRay an indispensable observability foundation. Its surgical token benchmarking and thinking-block visualization provide unmatched insight into local model behavior. However, enterprise platform teams requiring distributed, multi-region observability across heterogeneous cloud API endpoints (e.g., OpenAI, Anthropic, or AWS Bedrock) with centralized Single Sign-On and granular Role-Based Access Control should deploy mature distributed tracing systems like OpenTelemetry paired with self-hosted Jaeger or ClickHouse. For production rollout, containerize LLMxRay using Docker Compose, linking its container service directly to the internal host network running the Ollama daemon. Configure persistent Docker volumes to preserve local telemetry databases across container restarts, and utilize reverse proxies like Nginx or Caddy with mutual TLS authentication if exposing the diagnostic dashboard across internal enterprise corporate subnets, VPN gateways, and secure bastion networks. Establish automated database compaction routines to prevent unbounded SQLite growth over long-running test suites, and schedule periodic JSONL export syncs to secure central object storage.
LLMxRay is 100% free and open-source under an open software license. There are no mandatory monthly subscription fees to access the source code or run it locally.
Unlike LangSmith which requires a cloud subscription and sends telemetry to external servers, LLMxRay lets you self-host your tracing data completely for free.
Yes. LLMxRay is designed for self-hosting via Docker or direct server deployment. Running on your own infrastructure allows you to maintain direct control over your local compute, database storage, and operational environment.
No account creation or credit card is required to evaluate LLMxRay. You can immediately access core features or run it locally without onboarding friction.
You can launch or test LLMxRay quickly using the following command: git clone https://github.com/LogneBudo/llmxray.git Visit the official portal at https://github.com/LogneBudo/llmxray for documentation and guides.
ToolsRadar maintains strict editorial independence. This review of LLMxRay was conducted using our standardized 5-pillar evaluation framework (Setup, Code Auditability, Maintenance Vitality, Cost Advantage, and Community Signal). We do not accept paid placements to inflate benchmark scores.
Maintainers of LLMxRay and community advocates can display this real-time verification badge in your GitHub README, official documentation, or landing page.
[](https://lordorange.top/tool/llmxray)<a href="https://lordorange.top/tool/llmxray" target="_blank"><img src="https://lordorange.top/badge/llmxray.svg" alt="Featured on ToolsRadar" /></a>Compare other trending developer tools and open-source projects in this space.
Cross-referenced architectural playbooks and category rankings featuring LLMxRay.
High-signal, production-tested utilities with transparent codebases and active communities.
Take back data ownership by replacing expensive monthly cloud subscriptions with self-hosted software.
From simple autocomplete to multi-agent SWE loops: how autonomous agents read repos, run test suites, and write production software.
The definitive guide to escaping SaaS subscription sprawl with Coolify, Traefik, Tailscale, and automated S3 backup pipelines.