Observed since 20 Oct, 21:49 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Interactive document sessions with AI agents
Your markdown document is the conversation.
agent-doc turns an ordinary markdown file into a live session with an AI coding agent. You write in the document, press a hotkey (or just keep typing), and the agent reads what you changed and writes its answer back into the same file. Nothing scrolls away: you can reorganize, annotate, and prune the conversation like any other document, and every turn is committed to git.
Alpha software. Actively developed; commands and frontmatter may change between versions. Single-user only: use a private git repository (see Security).
Terminal chats are ephemeral. A document is a workspace you curate:
agent:queue section and
the agent drains them one by one; track follow-ups in agent:backlog.agent:exchange), and the cycle is committed.The Rust binary owns every deterministic step (diffing, merging, routing, git); the bundled skill instructions tell the agent how to take part. See Architecture for the full picture.
Editors
| Editor | Integration |
|---|---|
| JetBrains IDEs (IntelliJ IDEA, Rider, PyCharm, and other IntelliJ-platform IDEs) | Plugin: agent-doc plugin install jetbrains, or the JetBrains Marketplace |
| VS Code | Extension: agent-doc plugin install vscode, or the VS Code Marketplace |
| Zed | Dev extension in editors/zed |
| No editor plugin | Drive sessions directly from your agent harness, or bind agent-doc run <file> to a hotkey in any editor (Vim/Neovim included) |
The plugins add realtime sync, tmux layout mirroring (one pane per visible document), and highlighting for agent-doc structures. See Editor Integration.
Agent harnesses
| Harness | How you start a turn |
|---|---|
| Claude Code | /agent-doc <file> |
| Codex | agent-doc <file> as a normal message |
| Grok Build | agent-doc <file> as a normal message (uses the installed MCP server) |
| OpenCode | /agent-doc <file> |
agent-doc skill install --harness <claude|codex|grok|opencode> installs the
matching instructions (or --all for every harness; Cursor rules and a generic
target are also available). To pick which agent a document's pane runs, set
agent: in its frontmatter (claude, codex, grok, or opencode). See Agent Backends.
curl -fsSL https://raw.githubusercontent.com/btakita/agent-doc/main/install.sh | sh
Or pip install agent-doc, brew install btakita/tap/agent-doc, or a prebuilt
binary from GitHub Releases.
Then add your editor plugin and harness instructions:
agent-doc plugin install jetbrains # or: vscode
agent-doc skill install --harness claude # or: codex, grok, opencode, --all
agent-doc's managed sessions run agents in tmux, so install tmux too.
Source builds, PyPI bootstrap details, Windows, and upgrades are covered in
Installation.
cd your-project
agent-doc init # set up .agent-doc/ for this project
agent-doc init notes.md "My Topic" # scaffold a session document
Open notes.md, write a request, and start a turn:
/agent-doc notes.md in Claude Code or OpenCode,
or agent-doc notes.md in Codex or Grok Build.agent-doc start notes.md opens a managed agent pane for
the document, and agent-doc run notes.md runs a single headless turn.The response lands in notes.md. Keep writing below it and run again. For a
guided tour, see the Quick Start; for
multi-pane tmux setups, remote workspaces, and running two IDEs on one project,
see Tmux Routing and Navigation Lanes.
agent: sections, queue
and backlogagent:*, response patch, boundary, and attribute referencespecs/: the functional
specificationagent-doc is designed for single-user, local operation. Documents, snapshots, and exchange history live on your filesystem and are committed to a git repository.
--dangerously-skip-permissions exposure. With this flag (common in
agent-doc sessions) the agent has full filesystem access, so injected prompts
could read files or run commands if not sandboxed.agent_doc_collaboration: shared; then cross-document extract / transfer
and plan-backed do #id work that references another .md file fail closed
unless the document also carries agent_doc_security_review: <review-id>.Planned: collaborative security for web/networked deployments (multi-user access control, session isolation, content scanning, compartmented access).
Licensed under the Apache License, Version 2.0 (Apache-2.0).
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.35.530 | 20 Oct 2026 | 0 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 21:49 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:d92d04d7a71014a812c8d1aaaacbc50ad266804298a68db56c6672dfc8baaa16