Code graph · search · context for agents

Code that people and agents both read

A code graph, search and documentation assembled from your repositories on their own. An agent takes its context and its limits from them; a person takes the answer.

nextdocs.ai/projects/onboarding/architecture
M
J
A
Onboarding
PAGES
Architecture
Auth flow
Token rotation
Token store
HTTP API
Guides
Local setup
Deployment
live · 3 editing
Onboarding · Architecture

Auth flow

The platform authenticates email + password against a JWT refresh-token store. Tokens rotate on every refresh; sessions are bound to device fingerprints and revocable from a single admin endpoint.

User
API
Auth
DB
Mermaid · auth-flow.md · synced 12s ago
Maya
Jin
AI agent
AGENTS
MARKETING-1Rework the landing pagequeued
API-214Page history endpointqueued
FRONT-88Editor toolbarqueued
SESSIONwaiting for a task
branchagent/marketing-1
1.Read src/auth/
2.Describe token issue and rotation
3.Draw the request diagram
ApproveRefinewill take the next one in the queue
CHANGES
frontend/+312−76
api/+18−4
in their own worktrees; your working tree is untouched
DONE SO FAR
✓read src/auth/ — 12 files
✓wrote “Token rotation”
✓committed to agent/marketing-1
✓opened PR #142
Connect a repository

What that looks like

Three things it does. The rest are a click away.

Agent IDE

Agents that work in your repositories, wherever you run them

Several agents at once, each in git worktrees of your own checkouts. Run them in the desktop app on your laptop, or enrol a headless runner on a server or in a container — the same core either way. They plan first and wait for your approval; the work happens on an agent/<task> branch you review like any other, and you can watch and steer it from another machine.

  • One task, one folder, one branch — parallel agents never collide
  • Plans wait for your approval before a single file is written
  • Before approval the agent reads your real code, read-only — no copies to go stale
  • Overlap warnings when two tasks head for the same file, while both are still plans
Nextdocs — agents
Tasks
MARKETING-1planning
Rework the landingawaiting your approval
Reading your checkouts
frontend/symlink · read-only
api/symlink · read-only
Plan
1.Move the 11 feature rows to /features
2.Add /solutions for engineering, management, marketing, support
3.Prerender every page, both languages
ApproveAsk for changes
Code to docs

From repo to living documentation

Connect a GitHub repository and the AI agent reads every file, drafts page-level overviews, and assembles a project tree with diagrams. The output isn't a one-time export — it's a living project you and your team edit, comment on, and keep current as the code evolves.

  • Pipeline runs over a fresh clone — no copy-pasted snippets
  • Drafts a page tree, an architecture overview and per-module pages
  • Generates Mermaid diagrams for call graphs and request flows
  • Webhook on push to main keeps the affected pages current
Generating docs from /github.com/acme/billing
GitHub·src/
src/
auth/
login.go
tokens.go
session.go
api/
handler.go
Nextdocs AI·agent
Reading repository
Analyzing call graph
Drafting pages
Generating diagrams
Docs·project / pages
Architecture
Auth flow
Token store
HTTP API
AI Assistant

Ask anything. Build anything.

More than a chatbot — the agent reads your docs and your code together, answers in plain language with citations, and can create or edit pages on your behalf when you ask. Every action shows up in the activity feed, so the team always knows what changed.

  • Answers grounded in your repos and pages — never on stale public training data
  • Says "I don't know" instead of inventing answers
  • Drafts new pages, restructures sections, renames headings on request
  • Audit trail with a diff for every AI-made change
Nextdocs Agent · gpt-5
Ask the agent…
GitHub sync

Docs that move with your code

Two-way sync between your project and a GitHub repository. Push from Nextdocs as a PR you can review like any code change. Pull to import upstream edits, with three-way merge for conflicts. Works across multiple variants — version branches, locales — without juggling files.

  • Push as a pull request — your normal review flow applies
  • Auto-pull on main: docs follow upstream merges with no manual step
  • Per-variant subfolders ({version}/{locale}) keep translations separate
  • Smart conflict detection — orphans surface for review, never silently lost
nextdocs.ai/projects/platform/architecture
GitHub·docs/architecture.md
Nextdocs·Architecture

11 more capabilities — search, permissions, history, variants and the rest.

See all features →
fix: rename auth flow
feat: add rate limiter
docs: update tokens
architecture.md
synced just now
Rebuilt on every push

Context that keeps up with the code

Every push to main rebuilds the graph, the search and the coverage. After the merge the agent sees the new route and the person sees the updated page.

How does Nextdocs compare?

One product, compared against different things. Pick what you are comparing it with.

yes
with caveats
no
Runs in your checkout, on your machine
Nextdocs
Cursor
Claude Code
Devin
Several agents at once, each in its own git worktree
Nextdocs
Cursor
Claude Code
Devin
Plan and your approval first — not a file is written before it
Nextdocs
Cursor
Claude Code
Devin
What it gives you

What changes day to day

Context assembles itself from your repositories. A person gets an answer with a link to the file; an agent gets the boundaries it works inside.

A new hire and a new agent

Both need the same context. The graph, the search and the pages are already there, so the first useful result does not wait for someone to be free to explain the system.

Less hanging on one person

What the team knows lives next to the code, and you can see how much of it is covered. The one person who remembers this service goes on holiday and the work keeps moving.

One source of truth

Code is the original: the graph, the search and the pages are derived from it. People and agents read the same source.

Desktop app

Nextdocs on your computer

The same workspace as on the site, plus what only runs locally: agents on this machine, linked folders and opening code in your editor.

macOS

Apple Silicon (.dmg)

macOS 12 or newer. The build is not notarized yet: if macOS refuses to open it, allow it in System Settings → Privacy & Security → Open Anyway.

Windows

Installer (.exe)

Windows 10 or newer. The installer is not signed yet: in SmartScreen choose More info → Run anyway.

Linux

AppImage (x64)

Make the AppImage executable (chmod +x) and run it; it updates itself. The .deb is updated by reinstalling.

Agent runner

The same agents as in the desktop app, on a server or any machine — for a team, around the clock. Needs git only; Node.js comes inside.

Connect it with a code from Settings → Agents → Runners: the page shows the start command for your system.

All releases →
Talk to us

Contact Us

Tell us what is in your repositories and what hurts. We will say whether this fits and what it takes to try it.

[email protected]
avg reply time · under 24h
Help us grow

Spread the Word

Share it with a colleague who will find it useful. And tell us what is missing: we read it.

{ nextdocs }

Code as the source of truth — for people and agents.

All systems normal
Community
Made with love by Nextdocs
PrivacyTerms© 2026 Nextdocs · v0.1