Model

An agent-first document model with real boundaries.

Nyxdoc is built around the idea that reading, writing, and discussion should each expose a clear contract. This is what makes collaboration with agents precise instead of probabilistic.

01

Read Contract

Documents are discovered through structure first — manifest, section metadata, and addressable blocks — so the system can fetch only what a task requires.

02

Write Contract

Changes are submitted as scoped patches with preconditions, validated against a revision boundary, and stored with clear history.

03

Comment Contract

Comments carry task intent, status, and scope, allowing them to become a queue that agents can work through and humans can inspect.

Why manifest-first matters

Today, agents often re-read giant documents just to change a few lines. That is wasteful and brittle. A manifest-first model gives the system a quick map of the document so it can narrow in on the relevant blocks before any heavy fetch happens.

This makes the product more efficient, but more importantly, more reliable. The agent can explain what it saw, what it changed, and why.

Why patch-first writing matters

Full rewrites blur responsibility. A patch-first workflow gives every change a boundary: base revision, operation list, preconditions, and an audit trail. That boundary is what supports conflict detection, diff review, and rollback.

Why comment-as-task matters

Teams already use comments to express work. Nyxdoc makes that native. A comment is not just text beside a paragraph; it is a scoped request with intent, priority, and lifecycle. That creates a direct loop from human judgment to agent execution.

What the loop looks like

  • A human leaves a scoped instruction on a specific block or section.
  • An agent fetches only the needed context.
  • The agent submits a verifiable patch against a known revision.
  • The system records a new revision with diff and traceability.
  • A human reviews, accepts, or rolls back with confidence.

The point is not automation alone

Automation without boundaries creates anxiety. Good boundaries make automation useful.

Visible change

Every important modification should be inspectable through history and diff, not hidden inside a black box action.

Recoverable work

Rollback is not a failure path. It is a requirement for any product that wants agents in the critical loop.