Nessa Docs
Nessa Docs is a local reader for system maps kept beside a project's code. Start
with docs/state/README.md, follow a component into its own page, and open the
explanation attached to a state or transition. The pages are Markdown with
Mermaid diagrams, so they remain useful without the app.

A statechart from the included fixture project. The boxes and transitions come
from authored Markdown.
The browser reads documentation; it does not generate it or run the system in
the diagrams. The included authoring skill helps a
coding agent write and maintain those pages from source evidence. Nessa Docs
works independently of the Nessa agent backend.
Working on this repository? AGENTS.md has the setup commands,
code map, and checks for contributors and coding agents.
Try the local browser
Use Node.js 22.13+ within the 22.x line, 24.x, or 26+. The local reader runs on
macOS and Linux; native Windows path handling is not part of this release.
git clone https://github.com/nessalabs/nessa-docs.git
cd nessa-docs
npm ci
npm run build
npm start
Open localhost:4311 and choose Browse example. To
read another project, choose Open project and select or enter its folder.
That folder needs a docs/state/README.md. The macOS app can open a native
folder chooser; Linux uses path entry in this release.
The browser reads local files. It does not upload a project, edit its pages, or
run a coding agent. Use Diagrams for charts and Details for the complete
page and its sources. Drag a chart to pan; use Zoom or Fit to change its scale.
A box or arrow with a + opens an explanation or a deeper page.
Read docs on GitHub
The browser extension shows a repository's docs/state folder on github.com
in this reader, straight from GitHub. Download it for
Chrome
or Firefox;
install steps are in extension/README.md. It collects no personal data; see the
privacy policy.
Use it in Claude
The Claude plugin bundles the authoring skills with two commands,
/nessa-docs:map and /nessa-docs:refresh. In Claude Code:
/plugin marketplace add nessalabs/nessa-docs
/plugin install nessa-docs@nessa-docs
Then ask /nessa-docs:map checkout flow, or just ask Claude to map a flow.
The plugin is instructions only; see its README
for what it does and runs.
Write docs for your project
Copy the skill into the repository you want to document:
mkdir -p /path/to/your-project/.agents/skills
cp -R skills/nessa-docs /path/to/your-project/.agents/skills/
Run these commands from this Nessa Docs checkout. Then ask your coding agent:
Use the nessa-docs skill to map this project's system and important user
flows in docs/state. Read the source, explain the main states and decisions in
plain English, and mark anything proposed or not yet verified.
If the project has an AGENTS.md, you can point it to
.agents/skills/nessa-docs/SKILL.md so later agents find the same format. The
format reference defines page metadata,
hierarchy, links, and chart explanations. The small store example
shows a complete map without requiring a real payment provider or database.
Check the files before browsing them:
npm run --silent validate:docs -- --project /absolute/path/to/your-project
The validator checks structure, links, and diagram bindings. It cannot prove
that the prose matches the source; review the pages against the code they cite.
Use it through MCP
The optional MCP server lets an agent create or update a document bundle and
show the same explorer in a host that supports MCP Apps. It is separate from the
localhost browser. A local Codex installation can register the built stdio
server from this checkout:
codex mcp add nessa-docs -- node "$PWD/dist/server/server/mcp/main.js"
Start a fresh chat after registration or a rebuild. To try it with synthetic
content, ask the agent:
Use the nessa-docs MCP tools. Read the current bundle. If it is empty, load
examples/mcp/replace-docs.json at revision 0, then call show_docs.