← Back to Leaderboard
Tjwuthri-cloud

jwuthri-cloud/Tracely-ai

Self-hosted OTLP pipeline that turns agent failures into replayable CI gates

Engineering Health (Methodology)
A · 82/100
Maintenance Activity
● Updated 3d ago
Latest Release
Rolling commits (main)
Commercial License Check
MIT · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption16/25
Release Cadence11/20
License Clarity20/20
DockerSelf-HostedMCPAPI
Total Stars
★ 848
24h Growth
+1
7d Growth
+7
Forks
79

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

jwuthri-cloud/Tracely-ai Star History (2026-10-11 - 2026-12-03) DAILY STAR HISTORY (35-DAY D1 TELEMETRY) +687 in 53d · avg +13/day 886 476 65 2026-10-11: ★ 1612026-10-17: ★ 5972026-10-24: ★ 7962026-10-31: ★ 8342026-11-04: ★ 8362026-11-08: ★ 8382026-11-12: ★ 8402026-11-16: ★ 8412026-11-20: ★ 8412026-11-24: ★ 8412026-11-28: ★ 8422026-12-03: ★ 848 ★ 848 10-11 11-06 12-03

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

Tracely is a self-hosted, asynchronous observability and evaluation stack. The tracelyai-sdk and other OTLP/HTTP exporters send to FastAPI at POST /v1/traces. The API persists the payload to MinIO/S3 before dispatching work through Redis and Celery. Workers map OpenTelemetry data, update the PostgreSQL registry, write events to ClickHouse, and then run evaluation, failure clustering, and alerting.

ClickHouse stores traces and scores in ReplacingMergeTree tables and uses server-side async_insert instead of a process-local buffer shared across workers. PostgreSQL with pgvector handles the transactional registry through SQLAlchemy 2.0 and Alembic. A Python 3.12+ uv workspace separates backend/, workers/, and sdk/; the Next.js 15 frontend uses React Flow for visual workflows. OTLP is the ingestion contract, with support for gen_ai.*, OpenInference, and Tracely-specific agent and conversation attributes.

Key Capabilities & Differentiators

Structural checks and LLM judges evaluate conversations, runs, or individual spans. Results appear as trace-table columns and update over SSE. Evaluators support agent and environment targeting, deterministic sampling, and outputs including scores, booleans, text, and JSON-schema results. Structural signatures and semantic embeddings group failures for triage, while human calibration distinguishes judges that miss failures from those that flag too many runs. The Python SDK can auto-instrument OpenAI, Anthropic, Google, Mistral, and LangChain integrations.

Promoting a failure packages its inputs and recorded model and tool outputs into fixtures, with a contract that the case fails on old code and passes on the fix. The CI paths are distinct: offline fixture replay, multi-turn scenarios against a registered HTTP endpoint, and gating existing tracely.env=ci traces by matching inputs to promoted cases. tracely gate can return a nonzero exit, publish a commit status, and update a PR comment; repository merge rules determine whether the verdict actually blocks a merge.

Trade-offs & Limitations

The decision point versus a commercial alternative such as LangSmith is whether production-derived regression fixtures and control of the deployment are worth owning the stack. Blob-first ingestion keeps the original payload independent of the derived event rows, but debugging a missing trace can involve object storage, the queue, workers, and ClickHouse. Keeping full input and output payloads also turns retention, access control, and redaction into operational requirements: sensitive content in a trace can carry over into its fixture bundle.

Recorded fixtures make it possible to test code paths against the same model and tool outputs without live calls. They cannot tell you whether the live model has drifted, an external tool has changed, or a new execution path will receive the responses it expects. Keep live endpoint scenarios or online evaluation where those risks matter, and budget for model calls if you use LLM judges. The MIT license permits commercial self-hosting under its notice terms; it does not eliminate the work of operating the stack or reviewing data sent to external providers.

Hardware & Deployment Guide

Docker and Docker Compose run the full API, worker, frontend, PostgreSQL, ClickHouse, Redis, and MinIO stack. Run docker compose --profile demo up -d --build --wait for seeded traces, cases, and gate results. The UI defaults to port 3001 and the API to 8000; TRACELY_WEB_PORT and TRACELY_BACKEND_PORT override them. Local development adds Python 3.12+ with uv and Node 20+ with pnpm. The Celery worker does not hot-reload.

Deployment paths include Railway, Coolify via docker-compose.coolify.yml, and Kubernetes via deploy/eks/README.md. For production, replace the demo ingest key, configure SESSION_SECRET and SECRETS_ENCRYPTION_KEY, and plan backups and retention. Size ClickHouse and object storage for trace volume and retention, and Celery for ingestion bursts and evaluation concurrency. ClickHouse’s internal logs have no built-in TTL in this setup; a nightly sweep limits their growth. No GitHub release is listed, so test upgrades and migrations against a pinned revision before rolling them out.

Ingestion: OTLP/HTTP payloads are persisted to MinIO/S3 before Redis/Celery dispatch; workers map spans into ClickHouse events.
Trace views: Indexed agent, conversation, turn, and step fields organize spans into conversation waterfalls; evaluator scores stream into the trace table over SSE.
Triage: Structural signatures and semantic embeddings group related failures; human labels measure where judges miss failures or over-flag.
Regression contracts: Recorded model and tool outputs turn a failing trace into a fixture-backed case expected to fail before the fix and pass after it.
CI integration: Run HTTP scenarios, match CI-emitted traces to promoted cases by input, or replay fixtures; the GitHub integration reports status and updates a PR comment.
Alert routing: A visual flow can route gate failures, newly seen failure modes, and threshold breaches to Slack, email, or configurable webhooks.
Best For

Teams already collecting agent traces that want to turn recurring production failures into repeatable PR checks and can operate the backing services.

Skip If

You only need hosted dashboards, cannot retain model and tool payloads even after redaction, or need live model behavior validated on every run rather than fixture-based regression coverage.

Reviewed on 2026-12-03 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerSelf-HostedMCPAPI
git clone https://github.com/jwuthri-cloud/Tracely-ai && cd Tracely
docker compose --profile demo up -d --build --wait
open http://localhost:3001

Comparison vs. Top Agents & Frameworks Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
Tracely-ai ★848+7PythonMITSelf-hosted OTLP pipeline that turns agent failures into replayable CI gates
langfuse38.2k+282TypeScript—OpenTelemetry platform for agent tracing and evals, with an AI gateway
opik23.6k+50JavaApache-2.0Self-hostable observability platform for tracing and evaluating LLM and agent wo
Vibe-Trading39.6k+490PythonMITA self-hosted trading agent for evidence-linked research and inspectable backtes

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/jwuthri-cloud/Tracely-ai.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

jwuthri-cloud/Tracely-ai Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about Tracely-ai

How do I connect an existing agent without changing frameworks?

Use the Python SDK or send OTLP/HTTP to POST /v1/traces with a bearer ingest key. The ingest path reads standard gen_ai.* and OpenInference attributes; add Tracely’s agent, conversation, turn, and environment attributes where you need richer grouping or CI matching. An HTTP scenario can exercise a non-Python agent without importing the SDK into that agent.

Do I need a GPU, and what should I size first?

No GPU or CUDA requirement is specified for the self-hosted services or fixture replay. Start by sizing ClickHouse and MinIO/S3 for trace volume, payload size, and retention, then size Celery workers for ingest bursts and evaluation concurrency. Account separately for any models you choose to host yourself; LLM judges are not part of the keyless, offline fixture replay path.

Can a company self-host it, and what compliance work remains?

The repository uses the MIT license, which permits commercial self-hosting subject to preserving the required copyright and license notices. That does not by itself satisfy data-handling requirements: review access and retention for recorded prompts, tool I/O, and fixtures, and account for data sent to any external judges or alert destinations you configure.

When would I choose Tracely over LangSmith?

Choose Tracely over LangSmith when self-hosting and turning a real production failure into a fixture-backed PR check are the deciding requirements. If you already have a curated evaluation dataset and a managed workflow that meets your needs, first test whether fixture promotion saves enough effort to justify owning the stack. Compare both on one real failure, from trace capture through a merge-blocking verdict, rather than assuming feature parity.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining jwuthri-cloud/Tracely-ai? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature jwuthri-cloud/Tracely-ai on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare