Skip to content

docs(readme): demo gif and per-client install on the first screen - #66

Merged
tonydzi merged 1 commit into
mainfrom
docs/t02-first-screen-install-gif
Nov 1, 2026
Merged

tonydzi merged 1 commit into
mainfrom
docs/t02-first-screen-install-gif

Conversation

@tonydzi

@tonydzi tonydzi commented Nov 1, 2026 •

Copy link
Copy Markdown
Owner

The first screen had only text and badges, and the install lines for MCP clients sat in one paragraph below the demo output. Now, top to bottom:

  1. The one-sentence intro from docs(readme): first sentence is the result, tools second #63 (its commit is included here, rebased on main, so merging this also lands docs(readme): first sentence is the result, tools second #63; or merge docs(readme): first sentence is the result, tools second #63 first and this rebases cleanly).
  2. docs/demo.gif (26 s, 168 KB): sgm-index ./notes on bench/vault, then sgm-ask --ab with tool-lanternfish <== +graph at rank 2. Real run, output not edited; the only cut is the silent one-minute CPU indexing wait (agg --idle-time-limit 2). docs/demo.sh re-records it, commands in its header.
  3. Install in your client: one uvx line that builds the index, then copy-paste blocks for Claude Code (claude mcp add), Cursor (mcpServers, same for Claude Desktop, Zed, Windsurf), VS Code (.vscode/mcp.json, servers + type: stdio) and Codex (config.toml).
  4. One size line, measured: du -sh of fresh Python 3.12 venvs on an x86_64 Mac, 1 Nov 2026: base install 26 MB with no torch; [embeddings] 879 MB, of which torch 2.2.2 CPU is 540 MB. Linux CUDA wheels are bigger and not measured.

Checks:

Not here: an ONNX backend that drops torch from [embeddings] (separate task).

Anton Dziatkovskii

🤖 Generated with Claude Code


Note

Low Risk
Documentation and a demo recording script only; no runtime, auth, or application code changes.

Overview
The README above-the-fold now shows a docs/demo.gif terminal clip (index + sgm-ask --ab graph hop) and a dedicated Install in your client section instead of burying MCP setup in a paragraph later.

That section adds a one-line uvx + BRAIN_INDEX_DIR index command and copy-paste configs for Claude Code, Cursor (and Desktop/Zed/Windsurf), VS Code workspace MCP, and Codex, plus a measured install size note (base vs [embeddings] / torch on Mac). The old consolidated MCP blurb after Three commands is removed so install lives in one place.

docs/demo.sh is new: it runs the bench vault demo (typed-command styling, env to silence prompts/progress) and documents how to re-record the gif with asciinema/agg, including skipping the silent indexing wait.

Reviewed by Cursor Bugbot for commit 95109b5. Bugbot is set up for automated code reviews on this repo. Configure here.

The first screen had only text and badges. Now, under the one-sentence intro:

- docs/demo.gif (26 s, 168 KB): sgm-index on bench/vault, then sgm-ask --ab with
  tool-lanternfish entering the top 12 only through the graph hop. Real run; the
  only cut is the silent one-minute CPU indexing wait (agg --idle-time-limit).
  docs/demo.sh re-records it.
- "Install in your client": one uvx line to build the index, then Claude Code,
  Cursor (same block for Claude Desktop, Zed, Windsurf), VS Code and Codex.
  The old one-paragraph "From any MCP client" note is folded into it.
- One honest size line, measured with du on fresh Python 3.12 venvs on an x86_64
  Mac: base install 26 MB with no torch, [embeddings] 879 MB (torch 540 MB).

Assisted-by: Claude Code/claude-opus-5-5
Machine: MacPro192
Account: tonydzi
Operator: Anton
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tonydzi
tonydzi force-pushed the docs/t02-first-screen-install-gif branch from 7def97d to 95109b5 Compare November 1, 2026 14:56
@tonydzi
tonydzi merged commit 8fd03dd into main Nov 1, 2026
8 checks passed
@tonydzi
tonydzi deleted the docs/t02-first-screen-install-gif branch November 18, 2026 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant