We can ask an agent to draft a brief. However, the chat alone does not answer the questions that arise afterwards, e.g. which files the agent opened, whether it stayed inside the research agent, and whether it called the documentation tool or invented the answer. The transcript is the model’s own report. The trace, in contrast, is the set of calls that happened.
CAPA 2.0 (released on August 3) records those calls. In this post, we focus on reading them.
Turn it on
Activity follows the installed providers. capa install writes the hooks that report session start, the prompt, shell commands, file edits, MCP calls, sub-agent start and stop, and the end of the turn. The capabilities file enables it with one option.
options:
agentActivity: true
The console for a project has the same switch. The feed is on the project (at http://127.0.0.1:5912, under Activity). No data leaves the machine, since the rows are stored in the local CAPA database.
One run, read from the top
We assigned a short task in a demo project, that is, draft a one-page brief, leave it as brief.md, and do not publish it. The run opens on the prompt, which is the appropriate first check. If the prompt in the trace is not the prompt that was sent, the trace belongs to a different turn.

Under the prompt, the run is a list of spans. This run contains the following.
- research-agent started and later stopped. The delegation happened. The instructions on that agent say it does not publish, so we then check for a publish call. There is none.
- brief.md and capabilities.yaml show up as file spans. These are the writes. If a relevant file is missing, the agent did not touch it, regardless of the claims in the chat.
- A shell span is the exact command:
capa sh draft-status --title "Q3 launch brief". This is the same command from the March post oncapa sh, now visible as a command the agent chose. - aws-search-documentation is an MCP call, with the query it sent. This is the difference between “it said it looked at the docs” and “it called the docs tool with this string.”
The process diagram is the same run drawn as a path (prompt, shell, then the documentation call).

We use the diagram for the overall shape and the timeline for the arguments. A failed span stays in the list with an error, which is usually more useful than the model’s summary of the failure.
What we use it for
- Staying in bounds. Sub-agent started, publish tool never called, only the two files changed.
- What it ran. The shell text is the command, not a paraphrase.
- What it asked a remote tool. The MCP span contains the tool name and the arguments.
- Where the tokens went. The stop span can carry input and output counts for the turn, which is the first place we check when a short task was expensive.
It is not a substitute for reading the diff. Rather, it is how we decide which diff to open, and whether the agent made a detour it did not mention.
Activity traces shipped in CAPA 2.0. The run above was recorded on 2.2.4, with agentActivity on, in a local demo project.