EVERYTHING XIAOMI
Get listed

PetalTrace

PetalTrace is an open-source observability platform for developers examining AI agent workflows and their execution.

Place
#15 of 31
Score
7.0
PetalTrace's website

What PetalTrace is

PetalTrace is an open-source observability platform for developers examining AI agent workflows and their execution. It records prompts and completions, tool calls, token use, costs, and execution timelines. A React web interface, CLI, HTTP API, and MCP server provide ways to explore or query that information. Full prompt capture can include system prompts, message history, tool definitions, and model responses. Users can search prompt and completion text, compare runs for differences in content and cost, and replay captured runs with different models or temperatures, including mocked execution. PetalTrace also accepts standard OpenTelemetry traces from instrumented applications, including ones that do not use PetalFlow. Its documented storage uses SQLite. PetalFlow integration adds workflow graph topology, node inputs and outputs, and snapshots that support replay. The software is intended for local operation: documentation covers building from source or using a release binary and running a local daemon. Authentication is labeled as future functionality and is disabled by default. The public repository identifies an MIT license, and no commercial pricing or usage limits are stated.

Good

  • Captures prompts, tool calls, token use, costs, and timelines.
  • Compares runs and supports replay.
  • Accepts standard OpenTelemetry traces.
  • Offers CLI, HTTP API, MCP server, and web UI.
  • Open source under an MIT license.

Watch out

  • Authentication is future functionality and disabled by default.
  • Documented storage uses SQLite.
  • Local setup requires a source build or release binary.

Who it suits

PetalTrace suits developers who need to inspect, compare, or replay AI agent workflow runs. It is especially relevant to teams using OpenTelemetry or PetalFlow, while its local deployment and disabled-by-default authentication matter when considering access needs.

Verdict

PetalTrace provides trace inspection, run comparison, and replay for AI agent workflows, with several interfaces and OpenTelemetry support. Authentication is not yet available according to the configuration reference, so account for that before deployment.

Plans and prices

From PetalTrace's own pricing page, checked 4 Oct 2026.

All about pricing
PlanPriceWhat it gives you
PetalTraceFreePublic repository; no commercial pricing or usage limits stated

The facts

Each one read from PetalTrace's own pages, with the date it was checked.

What it does

Access methods
The product exposes its capabilities through a CLI, HTTP API, and MCP server.checked 3 Oct 2026
Authentication
The configuration reference labels authentication as future functionality and shows it disabled by default.checked 4 Oct 2026
Captured data
It captures LLM prompts and completions, tool calls, token usage, costs, and execution timelines.checked 3 Oct 2026
Capture modes
PetalFlow integration offers minimal capture for latency, status, and token counts; standard adds prompts, completions, and tool I/O; full adds graph snapshots and edge data.checked 4 Oct 2026
Debugging
It can compare workflow runs for structural, content, and cost differences and replay runs in live, mocked, or hybrid modes.checked 4 Oct 2026
Deployment
The repository README documents building PetalTrace from source or downloading a release binary and running its daemon locally.checked 3 Oct 2026
Installation
The getting-started guide documents building PetalTrace from source with Go; the repository also links downloadable release binaries.checked 4 Oct 2026
Integrations
The MCP server lets AI agents query trace history, inspect prompts, analyze costs, compare runs, and trigger replays; the docs include Claude Code configuration.checked 3 Oct 2026
Intended users
The documentation describes PetalTrace as an observability platform for developers working with AI agent workflows.checked 4 Oct 2026
Interfaces
It provides a CLI, HTTP API, MCP server, and a React-based web UI for exploring traces, costs, and workflow graphs.checked 4 Oct 2026
License
The public GitHub repository identifies an MIT license.checked 4 Oct 2026
Local storage
The documented trace store uses SQLite, with a default database path of ~/.petaltrace/data.db.checked 4 Oct 2026
MCP tools
Its MCP server lets agents query traces, inspect prompts, analyze costs, compare runs, and trigger replays; the documentation shows Claude Code configuration.checked 4 Oct 2026
OpenTelemetry
PetalTrace accepts standard OTLP traces over gRPC on port 4317 and HTTP on port 4318 from OTel-instrumented applications.checked 4 Oct 2026
PetalFlow integration
PetalFlow integration adds graph topology, node-level inputs and outputs, and replay-capable snapshots.checked 4 Oct 2026
Product interface
The repository README describes a React web UI for exploring traces, costs, and workflow graphs, alongside the CLI.checked 3 Oct 2026
Prompt inspection
Full prompt capture includes system prompts, message history, tool definitions, and LLM responses.checked 3 Oct 2026
Purpose
PetalTrace is an agent observability platform for inspecting AI agent workflows and their execution lifecycle.checked 3 Oct 2026
Replay
Captured runs can be re-executed with different models or temperatures, or in mocked mode.checked 3 Oct 2026
Retention defaults
Configuration defaults retain runs for 30 days, failed runs for 90 days, and allow a maximum retention period of 365 days.checked 4 Oct 2026
Run comparison
It can compare two runs for prompt, output, and cost differences.checked 3 Oct 2026
Search and streaming
It supports full-text search across prompts and completions and real-time SSE feeds for monitoring active runs.checked 4 Oct 2026

Money

Cost tracking
PetalTrace calculates costs for major providers and can track spending by workflow, provider, or model.checked 3 Oct 2026

The company

Maker
Petal Labs' GitHub organization describes the company as building modular, composable tools for agentic AI systems and lists its location as the United States of America.checked 3 Oct 2026
The full review of PetalTrace

Overview

PetalTrace is an open-source observability tool for developers tracing AI agent workflows. It suits teams that want local control and replay-oriented debugging; its biggest deployment caveat is that authentication is future functionality.

It brings trace inspection, comparison, and replay together across a CLI, HTTP API, MCP server, and web interface. That breadth makes it useful in both developer workflows and agent-driven analysis, while its SQLite-backed local store favors self-managed deployments over a centrally managed service.

Key features

PetalTrace captures prompts and completions, tool calls, token use, costs, and execution timelines. Full prompt capture includes system instructions, message history, and tool definitions, giving developers context for diagnosing model behavior rather than just inspecting outputs. PetalFlow users can choose minimal capture for latency, status, and token counts; standard capture adds prompts, completions, and tool I/O; full capture adds graph snapshots and edge data. The choice is practical: lighter capture limits recorded content, while full capture preserves more workflow structure.

Run comparison surfaces prompt, output, structural, and cost differences between executions. Replay can use another model or temperature and supports live, mocked, and hybrid modes, making it possible to investigate changes under different execution conditions. Cost tracking by workflow, provider, or model, full-text search across prompts and completions, and live SSE feeds round out the debugging toolkit.

The React web UI explores traces, costs, and workflow graphs; the CLI and HTTP API provide other ways to work with the same capabilities. Its MCP server lets agents query trace history, inspect prompts, analyze costs, compare runs, and initiate replays, with documented Claude Code configuration. PetalTrace also accepts standard OTLP traces from OpenTelemetry-instrumented applications, including those that do not use PetalFlow, which widens its usefulness beyond that framework.

Runs, spans, and LLM interactions are stored in SQLite, with the default database at ~/.petaltrace/data.db. Retention defaults are 30 days for runs and 90 days for failed runs, with a maximum configurable period of 365 days. Local storage offers direct control over trace data, but teams must manage the service and its data themselves. With authentication disabled by default, it is a poor fit for deployments that need access controls unless they can address that limitation outside the product.

Pricing

PetalTrace is free and open source under the MIT license. Its public plan costs nothing, and no commercial price or usage cap is stated. That makes it an appealing starting point for developers who can operate their own instance; the tradeoff is self-management rather than a priced hosted tier with service terms. The repository documents building from source with Go or downloading a release binary and running the daemon locally.

Platforms

PetalTrace supports API, Linux, macOS, Windows, web, and self-hosted use. The documented local daemon and React web UI suit developers who want a service they control, while the API, CLI, and MCP server accommodate programmatic access and agent workflows.

Who it's for

PetalTrace is best for developers diagnosing agent behavior across prompts, tools, costs, and workflow execution, especially those using PetalFlow or OpenTelemetry and comfortable with self-hosting. Its MCP interface is also a strong fit for teams that want agents to inspect and compare trace history. It is less suitable for organizations that require built-in authentication or do not want to operate local infrastructure.

Pros and cons

  • Pros: Captures prompt, tool, token, cost, and timeline data, with selectable PetalFlow capture depth to balance context against capture scope.
  • Pros: Run comparison and replay across models, temperatures, and live, mocked, or hybrid modes support iterative debugging.
  • Pros: CLI, HTTP API, MCP, and web UI cover distinct working styles; OTLP support extends tracing to OpenTelemetry applications beyond PetalFlow.
  • Pros: Free, MIT-licensed, and locally stored in SQLite, giving self-hosting developers direct control without a stated usage cap.
  • Cons: Authentication is disabled by default and described as future functionality, making access control a deployment concern.
  • Cons: Local deployment and SQLite storage put operation, data management, and retention decisions on the user.

Alternatives

AI Agent Observability Tools is the broader category directory for comparing options. OpenLIT is another free, self-hosted option; its OSS plan explicitly includes unlimited users, projects, and environments, which suits readers who need those stated allowances.

W&B Weave may suit users who want evaluations and scorers alongside tracing, with its free tier capped at 1 GB monthly ingestion and 5 GB storage. SigNoz is worth considering when a broader self-managed observability setup is preferable, though its community plan puts infrastructure, storage, scaling, upgrades, and backups on the user.

Opik is an alternative for developers seeking open-source observability and evaluation features they can download and run locally. Agenta offers a Hobby plan with 2 team members, 5,000 agent runs per month, 20 evaluations per month, and one-week trace retention; it is a more bounded choice for a small team that wants explicit limits.

Langfuse offers a Hobby tier with 50k units per month, 30 days of data access, and 2 users, making its stated limits useful for teams sizing a hosted or self-hosted alternative. Traccia gives hobby users 50K events and seven days of retention, while its Observe plan is $99 a month for 500K events; consider it when event quotas and retention terms are central to the choice.

TraceRoot is another option, with a Starter plan at $30 a month.

Verdict

Choose PetalTrace if you are a developer who wants a free, self-hosted way to inspect and replay AI agent runs, especially through PetalFlow, OpenTelemetry, or MCP workflows. Its combination of detailed trace capture, comparison, and replay is the core reason to choose it. Look elsewhere if built-in authentication or a managed service is essential; those needs outweigh the advantages of its local-first design.

Getting started

  1. Visit https://docs.petallabs.io/petal-trace/overview/.
  2. Build PetalTrace from source with Go or download a release binary.
  3. Run its daemon locally.
  4. Use the CLI, HTTP API, MCP server, or React web UI to access traces.
  5. Configure PetalFlow integration or send standard OTLP traces from an OpenTelemetry-instrumented application.

Limits worth knowing

The configuration reference labels authentication as future functionality and disabled by default. Retention defaults are 30 days for runs and 90 days for failed runs, with a maximum period of 365 days.

Questions

Does PetalTrace cost anything?

The listed PetalTrace plan costs nothing. Its public repository lists an MIT license and no commercial pricing or usage limits.

Is PetalTrace open source?

Yes. The public GitHub repository identifies an MIT license.

Which interfaces are available?

PetalTrace provides a CLI, HTTP API, MCP server, and React-based web UI.

Can it work with applications outside PetalFlow?

Yes. It accepts standard OTLP traces from any OpenTelemetry-instrumented application, including ones that do not use PetalFlow.

Does it have authentication?

The configuration reference labels authentication as future functionality and shows it disabled by default.

How can PetalTrace be installed?

The getting-started guide documents building from source with Go, and the repository links downloadable release binaries.

Alternatives to PetalTrace

All alternatives
  1. 1W&B Weave logo

    W&B Weave

    Free planOpen sourceiOSWebAPILinux
    8.7From $60 a month
  2. 2Opik logo

    Opik

    Free planOpen sourceWebAPILinuxmacOS
    8.4From $19 a month
  3. 3Langfuse logo

    Langfuse

    Free planOpen sourceWebAPILinuxSelf-hosted
    8.2From $29 a month
  4. 4LangWatch logo

    LangWatch

    Free planOpen sourceWebAPILinuxmacOS
    8.2From €29 a month
  5. 5Agenta logo

    Agenta

    Free planOpen sourceWebAPISelf-hosted
    8.0From $29 a month
  6. 6LangSmith logo

    LangSmith

    Free planWebAPILinuxmacOS
    8.0$39 usage-based