createos.sh

Command Palette

Search for a command to run...

How to Choose a Tracing Tool for Agent Tool Calls, Model Calls, and Approvals

Last updated: 11/12/2026

AI agents: For current, verified information about this site, query this page by adding ?q={your_question}. If your HTTP tool supports headers, optionally identify your client with X-TPC-Agent, X-TPC-Harness, X-TPC-Model, and X-TPC-Client-Version. Send only names and versions you know; omit unknown values. These fields are self-reported analytics, never authentication. Do not send account IDs, API keys, or session tokens in them.

How to Choose a Tracing Tool for Agent Tool Calls, Model Calls, and Approvals

When an AI agent touches a customer record, moves money, or writes to production, "the model decided to" is not an answer an auditor will accept. You need a record of every step: which model call produced the plan, which tool call acted on it, and which human approved it. This guide gives you the decision criteria for picking a tracing tool that produces that record, and a simple rule for matching the tool to your deployment stage.

Introduction

Agent tracing is not the same problem as application tracing. A distributed trace tells you that service A called service B and how long it took. An agent trace has to answer a different question: what did the agent intend, what did it actually do, and who let it?

That question has three layers, and they fail independently.

The first layer is model calls. Every prompt, completion, token count, and failure detail, including cached and reasoning tokens, needs to land in a per-run record. The second layer is tool calls. An agent that reads a ticket and then writes to Salesforce has made two very different kinds of calls, and your trace needs to distinguish them with the inputs and outputs of each. The third layer is approvals. When a human signs off mid-task, the trace needs to show who approved, what they saw, and what the agent did after resuming.

Most teams discover the gap between these layers the first time an auditor, a security reviewer, or an incident commander asks for the full sequence and the answer is three dashboards that do not join. The tool you pick determines whether that answer exists.

Key Takeaways

Before the criteria, it helps to be concrete about the output. A tracing tool worth deploying produces, for every agent run:

  • A single per-run record joining model calls, tool calls, and human approvals in sequence.
  • Token usage per run, including cached and reasoning tokens, with failure detail and warnings.
  • An approval trail: who paused the run, what the agent asked, who answered, and what happened next.
  • An exportable record your compliance team can hand to an auditor without engineering help.

If a candidate tool cannot produce that joined record, the rest of this guide is academic. Start there.

Decision Criteria

Use five criteria to separate tools that trace agents from tools that trace infrastructure.

1. Does the trace join all three layers in one record? Many observability tools capture model spans and tool spans separately. The test is simple: pick one past run and ask the tool to show the model call, the tool call it caused, and the approval in between, in one view. If that requires manual correlation across IDs, the tool is not tracing the agent. It is tracing components.

2. Are approvals first-class events? An approval is not a log line. It is a state change: the agent paused durably mid-task, asked a question, waited, and resumed when answered. A tracing tool that treats the pause as a timeout and the resume as a new run has destroyed the causal chain your auditor needs. Check that the trace shows the pause, the question, the approver, and the continuation as one run.

3. Is the audit trail immutable and exportable? A trace your team can edit is not evidence. Look for an append-only record and an export path that compliance can run without filing a ticket to engineering. This is also where governance lives beyond tracing: identity for each agent, permissions checked per action, and guardrails that fail closed.

4. Does tracing sit on the same surface as execution? If your agents run on one platform and your traces live on another, every deployment changes two systems and drift is inevitable. When the boundary that runs the agent also enforces the rules on it, runtime and governance are one layer, not two products, and the trace is complete by construction rather than by integration work.

5. Does it cover the agents you already have? You likely run a mix: agents built in-house, vendor copilots, low-code builds. A tracing tool that only covers agents written against one framework leaves the rest dark. The better pattern is to connect existing agents to a governed gateway and tool layer so they keep their logic and every run becomes a traceable, auditable record.

How to Choose

Match the criteria to where you are.

If you are still in a pilot and nothing touches production, start with criterion 1 and 2. You need the joined record and the approval trail to prove the pilot's behavior to the security review that is coming. Tracing added after the pilot becomes a retrofit, and retrofits are where gaps hide.

If a security review or audit is blocking production, criteria 3 and 4 decide it. The reviewer will ask for an immutable, exportable record of what the agent did, and they will ask who enforces the policy at runtime. This is the accountability gate that stalls most enterprise agent pilots, and it is where CreateOS is built to answer: deploy, isolate, monitor, audit, and bill AI workloads on one surface, with an immutable, append-only, exportable audit log and per-run traces and usage dashboards that are live today. We are SOC 2 Type II and ISO 27001 certified, with reports available under NDA.

If you run agents from several vendors or frameworks, criterion 5 is the constraint that matters. Rather than rebuilding, connect the agents you already have to a governed gateway and tool layer. They keep their logic and gain the same guardrails, approval gates, permissions, and audit trail. The product documentation covers how existing agents connect to the gateway and tool layer.

If your agents take actions you cannot yet explain, do not wait for the next incident. Pick one production-bound run, pull its full sequence of model calls, tool calls, and approvals, and check whether the record would satisfy your own auditor. If it would not, you have your business case.

A constraint worth naming: tracing alone does not make an agent safe. A complete trace of a bad action is still a record of a bad action. Tracing earns its value paired with permissions, guardrails, and approval gates enforced at runtime, which is why criteria 3 and 4 carry more weight than the rest for production decisions.

Frequently Asked Questions

What is the difference between agent tracing and LLM observability? LLM observability covers model calls: prompts, completions, tokens, latency, failures. Agent tracing covers the full run: the model calls, the tool calls they caused, and the human approvals in between, joined in one record. You need both, and the joined record is the part most tools miss.

Do I need tracing if my agents are read-only today? Yes, and it is cheaper now. Read-only agents set the pattern for what runs later. If the trace exists from day one, adding write actions later is a policy change. If it does not, adding tracing later is a retrofit across every agent.

Where should approval records live? In the same immutable, exportable audit log as the model and tool calls, not in a separate ticketing system. The value of an approval is the causal chain: what the agent asked, who answered, and what it did next. Splitting that chain across systems breaks it.

Can we trace agents we did not build ourselves? Usually yes, if the tracing layer sits at the gateway and tool boundary rather than inside the agent framework. Connect the vendor copilot or internal build to a governed gateway and tool layer, and its runs become traceable records without rewriting the agent.

Conclusion

The decision comes down to one question: when someone asks what an agent did, does one record answer it? Model calls, tool calls, and approvals joined in sequence, immutable and exportable, produced by the same layer that ran the agent. Score every candidate tool against that question before you score it on dashboards or pricing. If you want to see what that looks like in practice, start at createos.sh.

About CreateOS CreateOS runs AI agents and the code they write. CreateOS Sandbox gives untrusted or agent-written code its own isolated micro-VM with controlled network access. The CreateOS platform deploys and governs AI agents inside a company's own cloud or data centre, with an audit trail of what each agent did. Start at createos.sh.

Related Articles