
bothpage-markdown-notes-agent-memory
io.github.zhiyuanvision-lang/bothpage-markdown-notes-agent-memory
Local Markdown + Git notes co-maintained by devs, ML researchers & AI agents right in your IDE.
Documentation
Markdown Notes & Agent Memory · BothPage
Built for developers and ML researchers — let you and your AI agents maintain the same notes.
100% local Markdown + Git vault co-maintained with Claude Code, Cursor, Codex, Antigravity & DeepSeek Harness: zero-filing capture, offline hybrid semantic recall, 30-second pyramid insights, and human-approved edits.
Website · BothPage vs Notion / Obsidian · Download Desktop App (macOS / Windows / Linux) · npm (bothpage-mcp) · Open VSX
Why BothPage Instead of Cloud Docs (Notion / Feishu / Google Docs)?
Great online docs work well for team wikis, yet fall short inside daily AI coding and ML research workflows:
- IDE-Native Co-Maintenance vs. Browser Silos (Zero Copy-Paste, No Repeated Dead Ends): Cloud docs lock context inside browser tabs and proprietary block JSON where coding agents cannot reliably read architectural trade-offs or past failed ablations. BothPage lives locally in plain Markdown + Git (
~/Bothpage) right beside your IDE — at every session start, offline BM25 + multilingual vector search automaticallyrecalls prior architecture decisions, hyperparameter findings, andTODOs so agents stop repeating failed experiments. - 30-Second Pyramid Contract vs. Unread AI Wall-of-Text Graveyards: Online docs grow bloated over time, and dumping 2,000-word AI summaries makes them unreadable. BothPage enforces "1-line conclusion +
<= 5bullets" (<= 80English words /<= 150Chinese chars): jot quick observations with 1-click AI polish and paste training-curve screenshots straight from clipboard (.assets/); agents self-polish out filler before writing, and any edit touching human-authored paragraphs requires your 1-click approval. - Zero-Filing Capture vs. Nested Folder Overhead: Never switch to a browser to pick a workspace or create nested folders first. Type natural language in the bottom composer (
TODO P0plans, loss-spike notes, paper tricks, or architecture questions) — BothPage detects your active repository/project automatically while keeping clean editorial document cards on screen and Git-friendlyYAML + Markdownon disk. - Clean Code Repositories: Stops agents from littering scattered
.mdscratch files across your code repo; enforces 6 scan-reading rules andcovers:code-freshness checks ondocs/.
Quick Start
1. One-Command CLI & Agent Setup (Claude Code / Cursor / Codex / Antigravity / DeepSeek Harness)
npx -y bothpage@latest init
npx -y bothpage-mcp@latest install --claude
dsh plugin --profile web add dsh-bothpage
Quick 1-line journal capture (<= 140 chars) or launch the local workspace UI:
npx bothpage "Switched warmup steps from 500 to 2000; loss spike disappeared"
npx bothpage app --open
2. Desktop App (macOS / Windows / Linux)
Download the signed & notarized installer from GitHub Releases or via Homebrew on macOS:
brew install --cask zhiyuanvision-lang/tap/bothpage
3. VS Code / Cursor / Windsurf Extension
Search BothPage in Open VSX or install bothpage-vscode-0.2.3.vsix from Releases.
4. How to Write in the Input Box (Zero-Filing Capture)
You never need to pick a folder or project dropdown before typing. Write in whatever style feels fastest — a live routing pill previews where the note will land before you press Enter:
| Writing Style | Example Input | Experience & Auto-Routing |
|---|---|---|
| Plain Natural Language (Default) | Should BothPage offer cloud sync so developers on multiple Macs edit one vault? | Zero syntax to memorize; detects the bothpage project and question phrasing, filing an idea note under bothpage |
| Engineering Shorthand | Today TODO P0: Finish BothPage v1 core features and ship | Strips Today TODO and P0: into structured priority + clean title, pinning it to Today's Plan linked to bothpage |
| Optional Inline Tokens | @bothpage / #warmpass, P0–P3, todo: / idea: / bug: | Type @ for project autocomplete; explicit tokens override heuristics, or click the routing pill anytime to adjust |
9 MCP Tools
| Tool | Purpose |
|---|---|
journal_append | Append a concise <= 140 char timestamped line to today's journal |
note_add | Create a validated atomic note (decision, bug, experiment, paper, idea, til, todo, log) |
note_update | Update a note (queues human approval if touching human-authored text) |
note_search | Offline BM25 + semantic hybrid search with project / type / time / agent filters |
note_get | Read full note content and metadata by ID |
recall | Load project _index.md summary + relevant conclusions within token budget |
doc_check | Validate docs/*.md against 6 scan-reading rules and soft length budgets |
doc_edit | Surgical exact-match edit on docs/*.md with git blame human-paragraph guard |
asset_add | Save local image (e.g. plot screenshot) to <doc>.assets/ and return relative Markdown link |
Pricing & Privacy
- 100% Local-First: Plain Markdown + Git on your machine. No cloud lock-in; even if you never buy, reading and searching your vault work forever.
- 7 Active Usage Days Free Trial: Only days you actually write count toward the 7-day trial.
- One-Time Purchase: ¥59.9 CNY / $29.9 USD, no expiry and no renewal. Pro is bound to your Yunfan account (independent from other Zhiyuan Vision products).
© 2026 Beijing Zhiyuan Vision Technology Co., Ltd. · License
bothpage-mcpnpm install bothpage-mcpRelated Servers
io.github.zhiyuanvision-lang/bothpage
Local Markdown + Git notes co-maintained by devs, ML researchers & AI agents right in your IDE.
io.github.zhiyuanvision-lang/claimdiff-ai-code-review-diff
Agent-native code review: group massive git diffs by optimization point to multiply review speed.
io.github.zhiyuanvision-lang/inkmap-markdown-mindmap-markmap
Turn long, messy AI Markdown into a clear, editable mind map & visual Mermaid flowchart.