Skip to content

v1.20.0

Latest

Choose a tag to compare

@stephanj stephanj released this 01 Dec 14:32
· 8 commits to master since this release

A minor release about seeing what an agent did. Opt-in agent trace recording saves every agent turn, redacted, with its conversation. A new agent run view shows a run as a tree of steps and tool calls with their reasoning, timings and full results, offline and without an account. From there a run can be saved as JSONL or uploaded to a Hugging Face dataset, where it opens in the Hub's agent trace viewer. Long agent runs now show live progress, a stopped prompt is no longer lost, and search_files/list_files no longer freeze the IDE.

🔍 Agent run view

Open any recorded run with View agent run in the chat toolbar: every step, its reasoning, each tool call with its timing and full result. Works offline.

Agent run view

🤗 Export or upload to Hugging Face

The run view's Export menu saves the trace as .jsonl or uploads it to a (private) Hugging Face dataset.

Export menu in the agent run view

On the Hub, the trace opens in the agent trace viewer, with the home directory already redacted to ~:

DevoxxGenie trace in the Hugging Face trace viewer

⚙️ Settings

Turn it on in Settings → DevoxxGenie → Debug and choose the Hugging Face dataset to upload to:

Hugging Face upload settings

What's changed

Added

  • feat(trace): opt-in agent trace recording with redaction. With Record agent traces on (Settings → DevoxxGenie → Debug, off by default), each agent/MCP turn is stored in a new trace_events table in conversations.db: the user message, each assistant step (text, reasoning, tool calls, model) and the tool results, matched by tool-call id. parallel_explore sub-agent steps are tagged with their sub-agent id. Every string is redacted before it is written: known secret formats, the home directory (~) and OS username (<user>), and custom regexes from Settings. An optional TruffleHog scan (Auto or Required) runs off the EDT and either redacts findings or drops the turn. Tool results are truncated at a configurable limit (default 50,000 characters), and trace rows are deleted with their conversation, by clear-all and by the 50 MB cleanup (task-279, #1448)
  • feat(trace): upload agent traces to Hugging Face. A trace is converted to the Hub's Session Trace (STS) JSONL and committed to a dataset, by default a private <user>/devoxxgenie-traces, where it opens in the Hub's agent trace viewer. The token comes from the IDE credential store, HF_TOKEN or hf auth login; a first-use dialog asks for what's missing. Uploads can ask for confirmation and end with a notification linking to the file. Redaction runs again before upload, and TruffleHog Required mode holds back unscanned turns. Conversations without trace rows export as plain user/assistant pairs (task-280, #1449)
  • feat(trace): local agent run view. Opens a recorded conversation in an editor tab with a summary line (model, turns, steps, tool calls, failures, duration, scan result), a single-line tree of turns, steps, tool calls and nested sub-agents, and a detail pane with a step's text and reasoning or a call's arguments and full result. Calls with the same tool and arguments as an earlier one are marked ⟳ repeated, and calls that hit the tool-call limit are marked too. Works offline with no Hugging Face token. Conversation history rows get hover icons to view the run, export it, upload it or delete the conversation; they replace the right-click menu, which a macOS secondary click also used to open the conversation behind. The time column now shows a compact relative time ("30m ago") (task-283, #1453)
  • feat(trace): View agent run in the chat toolbar, plus an Export menu in the run view with Save as .jsonl… and Upload to Hugging Face…. The button is hidden while recording is off and disabled while the conversation has no trace or a response is in flight (also for non-streaming runs and queued prompts). It refreshes on "+" and on history selection, and reopening a run replaces its tab with a fresh snapshot (task-284, #1457)
  • feat(chat): live progress while an agent run is in flight. A line in the response footer ticks every second with the running tool and its step (n/max), "Waiting for the model · n/max tool calls" between calls, or "Working…", plus the elapsed time. It appears after about 5 s and disappears when the run completes, errors or is stopped. Sub-agent tool events don't change the main agent's count (task-288, #1458)
  • feat(models): Claude Fable 5.2 and Claude Haiku 5.5 for Anthropic and Bedrock. Haiku 5.5 rejects sampling parameters, so temperature is omitted for it; the current Claude models are also in the built-in fallback list used when the remote models.json is unavailable (#1444)

Fixed

  • fix(chat): a stopped prompt is saved to the conversation history. Stopping a run never published the conversation event, so the prompt, the partial answer and the agent trace buffered for the turn were lost. stop() now saves the run once, with the text streamed so far, on a pooled thread; a late completion or error doesn't save it again (task-286, #1460, #1461)
  • fix(agent): search_files and list_files no longer freeze the IDE. They ran their whole walk inside one read action, so the EDT froze waiting for the write lock (18 s on this repository). Each VFS lookup now takes its own short read action and file contents are read without a lock. Both tools also skip folders the IDE excludes or ignores, plus .intellijPlatform (task-285, #1454)
  • fix(rag): incremental indexing without duplicate chunks. Start Indexing re-embedded every file and appended new chunks next to the old ones (in this project's collection 56% of 50,393 chunks were copies). It now skips unchanged files, re-embeds changed and new ones and prunes deleted or newly excluded files. Re-indexing replaces a file's chunks on every path, embedding the new ones before removing the old, so an unreachable embedding server keeps the existing entries. A new Rebuild Index button wipes and re-embeds everything, which also cleans up duplicates from earlier versions (#1451)
  • fix(chat): chat tabs keep saving after a detach. PromptOutputPanel.removeNotify() disposed the conversation panel on every Swing detach (hiding or re-docking the tool window, opening Settings during a run), so later turns weren't saved and no trace was written. The panel is now disposed only with its tab (#1450)
  • fix(chromadb): the retry interceptor returned an already-closed response after the last failed attempt, surfacing as IllegalStateException: closed instead of the real HTTP status; an interrupted backoff now stops retrying (#1450)
  • fix(settings): ChromaDB lookups in the Agent Mode settings page run off the EDT
  • fix(chat): a run longer than a minute shows its time as 34m 15s (or 1h 2m 5s) instead of 2054.6s (#1459)
  • fix(spec): long Backlog.md task titles written as YAML block scalars (title: >-) show in the Task List instead of >-; plain values continued on the next line and quoted values are parsed correctly too (#1456)

Documentation

  • docs: new Agent Traces page (recording, redaction and TruffleHog, the agent run view, JSONL export and Hugging Face upload, with screenshots), linked from Agent Mode and Debug
  • docs(blog): announce DevoxxGenie 1.20.0
  • docs(tips): a tip about the free Keenable key (100K searches a month) (#1439)

Dependencies

  • build(deps): upgrade langchain4j 1.23.0 → 1.24.1 (beta 1.24.1-beta34), AWS SDK BOM 2.59.1 → 2.59.11, commonmark 0.32.0 → 0.33.0, logback-classic 1.6.7 → 1.6.8, Netty 4.2.20 → 4.2.21, Mockito 5.24.0 → 5.25.0 and the Gradle wrapper 9.9.1 → 9.9.3 (#1440, #1443, #1452, #1462, #1464)

Contributors

📖 Docs: https://genie.devoxx.com/docs/features/agent-traces
📝 Blog: https://genie.devoxx.com/blog/devoxxgenie-1-20-0-agent-traces