Worked example

All worked examples · source: docs/guide/assistant_dock.md

The Assistant dock

Window ▸ Assistant (Ctrl+J) opens the dock in its own column on the right. It answers questions about the open project with Claude or Groq, reading DexVantage's own figures through tools; it never changes the project or starts a long study without you.

Setting it up

  1. Install the optional packages once, in the source folder: pip install ".[assistant]" (anthropic 2.6.0 for Claude, keyring 25.7.0 for the keys). Groq needs no package.
  2. Click the gear in the dock (Assistant settings), pick the provider and the model (Claude Opus 5.5 is the default; Claude Sonnet 5.5 and Claude Haiku 5.5 are faster and cheaper), paste the API key and click Save key. The key goes into the system keyring only; the dialog shows it masked (first and last four characters). Remove key takes it out again.
  3. Until a key is stored the dock says so in one sentence at the top ("There is no Claude API key: add one in Assistant settings…"), and nothing is sent.

A worked example on the SO-100 sample

File ▸ Open sample ▸ LeRobot SO-100 arm with a wrist and a third-person camera, then Analysis ▸ Coverage and resolution, and Run. The page's headline reads 47.3 % of the task volume, gaps. With the page open, ask the dock What does this page tell me?

Then ask Raise the wrist camera by 2 cm. The answer comes with a proposed change card: the quantity, its value before and after (Wrist camera (sample placement) z −0.0600 m → −0.0400 m). Nothing has changed yet.

Ask Run the grasp study on every grasp. Grasp self-occlusion is long work (tens of seconds on the samples), so the assistant cannot run it from a tool: it puts a Copilot plan on screen, each step with its settings and where each value came from, the checks (an unknown study, a missing robot or export format are errors; the plan cannot be approved until they are fixed) and, when the study has run in this session, how long it took then.

Chats and memory

When something goes wrong

The dock says what happened and what to do, never a traceback: no key, the anthropic package missing, the key not accepted, offline ("Could not reach Anthropic's API: you may be offline…"), rate-limited (tried again once when the wait is short), the model declined the request, the answer cut off. A failed answer leaves the conversation as it was before the question.

See docs/models/assistant_dock.md for how the loop, the number check and the approval gate work, their validation and their known limits.