Binder and corkboard
Chapters and scenes you drag into order, a research section that is never compiled, index cards, statuses, labels, word goals and a sprint timer.
Free · open source · no account
Caotang gives you the structure long-form writers know, a binder, a corkboard and a codex, plus an AI agent that plans first and asks before it changes your book. It runs in your browser, and your manuscript stays on your machine.
Nothing to install, nothing to sign up for. A desktop browser window at least 960 px wide works best.
Everything a long manuscript needs, in one place. If you have used Scrivener, you will feel at home.
Chapters and scenes you drag into order, a research section that is never compiled, index cards, statuses, labels, word goals and a sprint timer.
Characters, places, objects, lore and subplots, with aliases. Caotang lists every document a name appears in, and a quick scan flags continuity slips.
Scenes in Fountain, with script, source and page views. Import .fountain or Final Draft .fdx, and export them again.
Ink stories with an outline, a branch graph and line ids, for games and interactive fiction.
Shot cards with pictures, an animatic total, script coverage, and prompt packs for video models.
Word (.docx), EPUB, Markdown and plain text, for the whole book or one part, with saved recipes.
The agent works through the app's own commands, the same ones you use. Plans and drafts wait for your approval, small changes apply at once, and each turn that changes the project leaves a checkpoint you can restore.
Bring a key for Anthropic, OpenAI, Google, xAI, Mistral, DeepSeek, OpenRouter or any OpenAI-compatible endpoint, and pay that provider directly. No key yet? A built-in demo provider lets you try the agent without one.
Caotang is a web page with no server behind it. That surprises people, so here is what it means.
When you open caotang.app, the page loads once, then everything happens on your computer. Your projects are kept in this browser's own storage for this site. Nothing is uploaded, and there is no Caotang account or server that could see your book.
.caotang file you can import into any copy of Caotang.The only thing that leaves your machine is what you ask for: when the agent works, the parts of the project it needs go to the provider you chose. Your API key is sealed in this browser and never written into a project file. No analytics.
caotang.app/app in a desktop browser. Chrome or Edge if you want folder saves.
Give it a title, add chapters and scenes in the binder, and start writing. Scenes save as you type.
In Settings › Providers, pick a preset, choose a model and paste your key. Or skip it and write on your own.
Save to a folder, or export a bundle now and then. Your writing should never live in one place only.
Prefer your own copy? Caotang is static files: build it from the repository and host it anywhere. The user guide walks through every screen.
Caotang speaks the Model Context Protocol in both directions.
Let Claude, an IDE agent or any MCP host read a Caotang project folder: the overview, the binder, scenes, notes,
the codex, continuity findings and dialogue tables. It is read-only by default. With writes allowed,
tools such as binder.restructure, codex.write, doc.import and
export.compile ask you to confirm each call in the host first.
Runs over stdio, or over HTTP on 127.0.0.1 with a bearer token, and packs as an .mcpb bundle. The server makes no network connections of its own.
node caotang-mcp.mjs serve \
--project ~/Writing/my-novel --stdio
Build it from the repository with pnpm --filter @caotang/mcp-server build. Full reference:
MCP server README.
Connect your own MCP servers in Settings › MCP & tools, off until you turn it on. You review each server's tools before use, and any call that is not a trusted read waits for your approval.
A plain-text summary with links lives at caotang.app/llms.txt.
Caotang is an independent open-source project by The Caotang Authors, released under the MIT License. There are no accounts, no subscriptions, no credit meters, no analytics and no Caotang server. It was built with AI coding agents under its owner's direction, and every design decision a person made is recorded in the open in decisions.md.
Found a bug or have an idea? Open an issue, or read how to contribute. Security reports go through private disclosure.