jwuthri-cloud/Tracely-ai
Tracely-ai
Trace-native CI/CD for AI agents: grade production traces, cluster failures, freeze them into replayable regression tests, and block PRs that regress. Self-hostable.
GitHub metrics
- Stars
- 848
- -100 this week
- Forks
- 76
- 30-day growth
- —
- Open issues
- 1
| Day | GitHub stars |
|---|---|
| 2026-10-29 | 1209 |
| 2026-11-16 | 948 |
| 2026-11-23 | 848 |
What it does
Tracely is a self-hostable platform for monitoring AI agents and turning recorded failures into regression tests. It collects OpenTelemetry traces, groups agent activity into conversations, and uses structural checks or configurable LLM judges to identify failed runs. Related failures are organized into clusters, helping developers inspect recurring problems without reviewing each trace separately.
Developers can promote a failed trace into a regression case containing the original input, recorded tool results, and model responses. The Python SDK and CLI replay supported calls against these fixtures and check whether updated code reproduces the failure. GitHub CI integration posts commit statuses and pull request comments, with failing exit codes for unsuccessful or incomplete checks. Tracely also supports scripted and adversarial multi-turn scenarios, trend analysis, and alerts through Slack, email, or webhooks.
For a local trial, Docker Compose starts the API, worker, web interface, and supporting data services. The demo profile loads sample conversations and regression cases. Developers can instrument Python agents with the SDK or connect an existing OTLP exporter. Structural evaluation works without an LLM key, while model-based grading and semantic failure analysis require an OpenRouter key. Recorded replay has limits: it handles individual turns and cannot intercept every provider API or streaming call.
Why it matters
A trace can show where an agent failed without preventing that failure from returning after a code change. Tracely connects recorded failures to regression cases and CI checks. Instead of requiring developers to invent every test case in advance, it preserves the input and external responses from a failed run. This is useful when a bug depends on a particular sequence of tool calls. Replay still needs separate live testing to establish how changed prompts or model responses behave.
Main features
- Collects OTLP traces and groups agent activity into conversations.
- Grades runs with structural checks and configurable LLM judges.
- Clusters failures using structural signatures and optional semantic analysis.
- Promotes failed traces into versioned regression cases with recorded fixtures.
- Replays recorded tool calls and supported model calls in CI.
- Runs scripted and adversarial multi-turn scenarios against agent endpoints.
- Posts GitHub commit statuses and pull request comments for CI gates.
- Sends failure alerts through Slack, email, and custom webhooks.
Who it's for
- Teams running AI agents that need to investigate conversation failures, tool errors, and recurring issues.
- Python developers adding tracing, evaluation, and regression testing to agent applications.
- CI and platform engineers who want agent regression results attached to GitHub pull requests.
- Organizations that prefer to operate their own trace storage and evaluation services.
Strengths
- Regression cases preserve recorded production failures, including tool outputs, model responses, and error conditions.
- Existing OTLP exporters can send traces without requiring Tracely's Python instrumentation SDK.
- CI gates distinguish failed tests from missing coverage or incomplete execution instead of reporting an unsupported pass.
- The API, workers, interface, and supporting data stores can run together through Docker Compose.
Limitations
- Recorded fixture replay is single-turn. Multi-turn scenarios require a running agent HTTP endpoint and execute against that service.
- Streaming calls and unsupported provider APIs are not intercepted during replay. Such calls can reach live services because the SDK does not block network access.
- The local demo uses development authentication and a documented ingest key. Production deployments require separate authentication, credentials, and configuration.
- Tracely does not automatically back up its own stored data. Self-hosting operators must configure backups for the relevant storage services.
Getting started
Clone the repository and run the following commands from its root to start the full demo stack. Install the Python SDK separately in the environment where your agent runs.
docker compose --profile demo up -d --build --wait
pip install "tracelyai-sdk[openai]"
The demo interface is available at http://localhost:3001, with the backend at http://localhost:8000. Stop the local stack with:
docker compose down
The Docker demo uses development authentication. Follow the production deployment guide before making a self-hosted installation publicly accessible.
Requirements: Docker and Docker Compose for the local stack; Python 3.10+ for the SDK; an OpenRouter key for model-based evaluation and semantic analysis.
Always follow the official instructions in the README on GitHub. This overview is our summary, not a copy.
Sources
- jwuthri-cloud/Tracely-aiRepositoryPrimarygithub.com
- Tracely — LLM Observability & AI Agent Evaluation in CIOfficial sitePrimarytracely-ai.com
- doc.tracely-ai.com/self-hostingWeb
- doc.tracely-ai.comWeb
- doc.tracely-ai.com/quickstartWeb
- doc.tracely-ai.com/product/evaluatorsWeb
- doc.tracely-ai.com/product/clustersWeb
- doc.tracely-ai.com/product/casesWeb
- doc.tracely-ai.com/replayWeb
- doc.tracely-ai.com/cliWeb
- doc.tracely-ai.com/product/gatesWeb
- doc.tracely-ai.com/product/scenariosWeb
- doc.tracely-ai.com/product/alertsWeb
- github.com/jwuthri-cloud/Tracely-ai/blob/main/sdk/pyproject.tomlRepositoryPrimary
- github.com/jwuthri-cloud/Tracely-ai/blob/main/guides/DEPLOY.mdRepositoryPrimary