Work/xtNote
The AI points it out.
The writer decides.
Most AI writing tools want to write for you. xtNote was built on the opposite premise: give the model one narrow job, and check everything it says before anyone sees it.
The model reads what you are writing and points things out: a paragraph that contradicts a decision you already made, a claim worth pushing back on, a question still open. Then it stops. You choose what lands in the note.
The tempting version would let the model rewrite freely and quote whatever it liked. That is quicker to build and impossible to trust. Here, the prompt is a request and the code is the guarantee.
2 weeks
From first commit to v1, 190 commits
700+
Automated tests, backend and frontend
~1 s
Ghost-text autocomplete, against a 3 s budget
22 → 9 s
Suggestion latency after capping model thinking
What it does
- A suggestion tray that reacts to your writing with four cards across four lenses: Decide, Push back, Reframe and Validate
- Decisions as first-class objects, with new writing checked against the decisions already in the project
- Ghost-text autocomplete for the paragraph under your cursor
- Project chat that answers only from your own notes and files, with numbered sources
- Uploaded files become citable passages
- Rewrite presets (Concise, Polish, Proofread) with a preview; nothing changes until you accept
How the AI is kept honest
Each rule lives in code, not in a prompt, so it holds when the model drifts.
01
Rules enforced, not requested
Four cards, at most two per lens, at least two lenses, contradictions first. A validator repairs a batch only when there is exactly one right fix; otherwise it refuses the batch.
02
Contradictions must name a real decision
A contradiction card has to point at a decision that actually exists in the project, or it never reaches the writer.
03
Citations are verified
If a card quotes a file and the quote is not in that file, the whole card is thrown away. The fabrication is the card.
04
No sources, no answer
Chat sees numbered sources only, so it cannot invent a reference. With nothing relevant to cite, it makes no call at all rather than answer from training data.
05
Silence by default
A cheap routing call decides whether to speak at all, and every uncertainty resolves to staying quiet. Nothing interrupts the paragraph you are still writing.
06
The editor never blocks
Model failures, quota limits and slow responses only ever affect the suggestion tray. Typing and autosave always work.
Cost you can see
01
Suggestions on request
Automatic batches were spending money on cards nobody asked for, so the tray became manual by default.
02
Quotas in suggestions, not tokens
Limits are counted in things the writer understands. Refreshing unchanged text is free, and nothing is sent under five words.
03
Right-sized models
A fast model for autocomplete, a stronger one for suggestions. Model names live only in configuration, enforced by a test.
What we left out
Saying no was part of the design.
01
The graph view
It gave way to project chat, and two attempts to bring it back as a tree map were reverted. They only browsed structure that already existed, when what writers need is a way to plan before writing.
02
Streaming chat
Every answer is validated before it is shown, and validation needs the complete response. Streaming would have shown unchecked text first.
Built with
- Django 5 + DRF
- React 18
- TypeScript
- Tiptap
- PostgreSQL + pgvector
- Gemini API
- Cloud Run
Have something like this in mind?