Skip to main content

DevoxxGenie 1.20.0: See What Your Agent Did, Locally and on Hugging Face

ยท 7 min read
Stephan Janssen
Creator of DevoxxGenie

An agent run is a black box. You ask a question, the model thinks, calls a dozen tools, and gives an answer. When the answer is wrong, or the run takes two minutes, you want to know what happened in between.

DevoxxGenie 1.20.0 records that. Turn on agent traces and every agent turn is saved with its reasoning, tool calls and results. You can open the run in a new agent run view in the IDE, save it as a file, or upload it to Hugging Face, where it opens in the Hub's agent trace viewer.

๐Ÿ“– Docs: Agent Traces: record, view and share agent runs

๐Ÿ’ก Why record your agent runs?โ€‹

The chat shows you the answer. A trace shows you how the agent got there, and that changes what you can do with a run:

  • Find out why an answer is wrong. You see every tool result the model read, so you can tell whether it searched for the wrong thing, read the wrong file, or got good input and drew the wrong conclusion.
  • See where the time goes. Each step shows how long the model thought and how long each tool took. You know whether a slow run needs a faster model, a smaller context or better tools.
  • Catch wasted work. Repeated tool calls, loops and runs that hit the tool-call limit are marked, so you can fix the prompt, your DEVOXXGENIE.md or a tool description instead of guessing.
  • Know what the agent touched. Which files it read, which commands it ran, which pages it fetched, with the full arguments and results. Useful when you want to trust, or check, what an agent did in your project.
  • Compare models and prompts. Run the same task with two models, or two versions of a prompt, and compare their steps, tool calls and timings. That's real evidence for choosing a local model.
  • Go back later. A trace is saved with its conversation, so you can still open last week's run. The Activity Log only shows what is happening now.
  • Share a run instead of describing it. Send a teammate, or us in a bug report, the exact run as a file or a Hugging Face link, not a screenshot of the chat.

All of this works locally. Uploading to Hugging Face is optional.

๐Ÿ” The agent run viewโ€‹

Here is a real run: a local model on Ollama answering "what is the latest info about the cryptography exploit by AI?" with web search.

The agent run view

The summary line tells the story at a glance: 1 turn, 9 steps, 12 tool calls, 0 failed, 1 m 23 s, scan: CLEAN.

The tree below it shows each step the model took and the tool calls it made, one line each:

  • +10.8 s ยท reasoning is time the model spent thinking before it called a tool.
  • 657 ms next to a tool call is how long the tool took.
  • A โœ“ or โœ— shows whether the call succeeded.

Select a step and the right pane shows its reasoning and the calls it made. Select a tool call and you see its full arguments and result.

In this run the tools were fast (all under 1.1 s). Most of the 83 seconds went into the model's own reasoning between calls, with an 18-second pause before step 4 and 20 seconds to write the final answer. That's the kind of thing you can't see from the chat.

The run view also marks the problems you usually go looking for:

  • โŸณ repeated on a call with the same tool and arguments as an earlier one, which is how a looping model shows up,
  • hit the tool-call limit on a call that ran into the agent's limit,
  • sub-agent steps from parallel_explore, nested under the call that started them.

The run view runs entirely in the IDE. It needs no network and no account.

โ–ถ๏ธ Open it from the chatโ€‹

When the current conversation has a trace, the chat toolbar shows View agent run:

View agent run in the chat toolbar

The conversation history has the same action on each row, next to export, upload and delete, so you can also go back to a run from last week.

๐Ÿค— Share it on Hugging Faceโ€‹

The run view's Export menu can save the trace as a .jsonl file or upload it to Hugging Face:

The Export menu in the agent run view

The trace is converted to Hugging Face's Session Trace format and uploaded to a dataset, by default a private <your user>/devoxxgenie-traces. On first use, DevoxxGenie asks for a write token, or uses the one from HF_TOKEN or hf auth login.

Before each upload you get a confirmation (you can turn it off):

Upload confirmation

When it's done, a notification links straight to the file:

Upload notification

On the Hub, the dataset is tagged Traces and the file opens in the agent trace viewer, with each message, the model's thinking and the tool calls:

A DevoxxGenie trace in the Hugging Face trace viewer

What Hugging Face adds on top of the local view:

  • A link that opens in the browser, without DevoxxGenie or an IDE, for anyone with access to the dataset.
  • One place for all your runs, across machines and projects, to compare how models and prompts handle the same task.
  • A dataset of real agent sessions for evaluation, kept private until you decide otherwise.

๐Ÿ”’ Redaction comes firstโ€‹

A trace holds your prompts, file contents and command output, so recording is off by default and everything is redacted before it is written:

  • known API key, token and private key formats are replaced,
  • your home directory becomes ~ and your username <user> (look at the project path in the Hugging Face screenshot above),
  • your own regular expressions are applied,
  • and, when it is installed, TruffleHog scans each turn in the background. Set it to Required and a turn is only kept, and only exported, after a successful scan.

Redaction runs again before export or upload. It is best-effort, so the confirmation dialog reminds you that a trace can still contain code and prompts.

โš™๏ธ Try itโ€‹

  1. Open Settings โ†’ DevoxxGenie โ†’ Debug and check Record agent traces
  2. Optionally install TruffleHog (brew install trufflehog)
  3. Run an agent prompt
  4. Click View agent run in the chat toolbar

๐Ÿ“– The full guide, with every setting and troubleshooting, is in the Agent Traces docs.

Also in 1.20.0โ€‹

  • Live progress during agent runs. A slow local model spends most of a run between tool calls, so the chat looked stuck. A progress line now ticks every second in the response footer: the running tool and its step, or "Waiting for the model ยท 3/25 tool calls", with the elapsed time.
  • Readable response times. A long run now shows 34m 15s instead of 2054.6s.
  • Stopped prompts are kept. Stopping a running prompt used to lose it. It is now saved to the conversation history with the partial answer and the trace recorded so far.
  • search_files and list_files no longer freeze the IDE. They held a read lock for the whole search (18 s on our repository). They now also skip excluded folders.
  • Incremental RAG indexing. Start Indexing no longer re-embeds every file and duplicates every chunk. Unchanged files are skipped, deleted files are pruned, and a new Rebuild Index button starts from scratch.
  • Chat tabs keep saving after the tool window is hidden or re-docked during a run.
  • Claude Fable 5.2 and Claude Haiku 5.5 are available for Anthropic and Bedrock.
  • Long Backlog.md task titles show in the Task List instead of >-.

Upgradeโ€‹

Update from the JetBrains Marketplace (Settings โ†’ Plugins), or download it from GitHub releases. Feedback and issues are welcome on GitHub.