A local-first decision notebook for the choices you make while coding with AI.
Plain Markdown on disk · AI always labelled · Review and consent · Windows first
Chat is a straight line. Thinking branches.
Every AI chat is one column that scrolls away. You can't fork it, you can't park a failed attempt in it, and you can't see which idea led to which. The more the model does for you, the less you decide, until all that is left is pressing buttons. We call that AI dumbification, and a chat window is where it happens.
Real work is a tree. You plan something, you try it, it works or it doesn't, and either way it branches: a win opens the next question, a failure opens three more. Aitiarch is a notebook built for that shape.
- You write the thinking. Plans, steps, what worked, what failed and why. The takeaway and the reasons are yours; the AI never writes them.
- Threads fork. Any sentence can grow a thread. A failed attempt stays in the note, with its reason, instead of scrolling away.
- Claude Code and Codex are evidence, not authors. Pull in the past sessions you choose, read exactly what will be sent, and have every claim checked against its source. Investigate works on a throwaway, read-only copy of your repo.
- The constellation shows what connects to what. Notes become stars, links become lines, open threads glow.
How a question travels
01 Ink beside the text, never inside it
Select a sentence. A thought grows in the margin and stays tied to it, with a filled AI tag, so you always know whose words you are reading. Your note stays byte-for-byte your Markdown. The ink lives next to the file, so CRLF, BOM and every trailing newline round-trip untouched.
02 See exactly what leaves the machine
The review card shows the selected provider, your question, the context included in the request, the instructions and the budget. Some text-only turns can reuse a session approval. Image attachments and Codex skill instructions require confirmation on every send.
03 Bring in your Claude Code and Codex sessions
Past Claude Code and Codex sessions for this project show up in one picker. Tick the ones that matter and read the redacted text, key-like tokens already blanked, before a word is sent. Chats that carry sessions stay in memory only, and Add to note is switched off for them.
04 Every claim, checked against its source
Each claim in an answer becomes a chip: the note, a thread, a session. The app looks for the quoted words in that exact source and says Found or Quote not found. Words, never colour alone.
05 Add to note, as plain Markdown
One click puts the answer in the note as an AI-labelled callout. It is ordinary Markdown, one undo away, and your BOM and line endings stay as they were.
06 Turn a sentence into a diagram
Select a sentence, press Visualize, review, send. The diagram appears in the margin, ready to enlarge or export as SVG. Bring it into the note and it sits under an AI-labelled callout, saved beside the file as an image that follows light and dark.
The AI only supplies words and connections. The app lays out and draws every box, arrow and axis itself, in your theme's colours.
07 See the whole notebook at once
Notes become stars and links become lines. Open threads glow. Notes nothing cites and links that lead nowhere are one glance away. Filter by folder or state, or find a note by name.
Rules the app keeps
| The why is yours | AI never writes your takeaway, your reasons, or a failed reason. |
| Asked, not assumed | No proactive comments. Edits come only from something you did: typing, a toolbar, a shortcut, a click. |
| Look, then send | Review the context before approving an AI request. Investigate has a plan card with its file scope and dollar cap. |
| Read-only investigations | Investigate reads a throwaway copy of your repo, never the repo itself, with secrets filtered out. |
| Your files, byte-exact | Rendering is display only. Decorations never change the document. |
| Local | The notebook and editor run locally without an Aitiarch account. AI requests use your own provider CLI and its sign-in. |
Claude and Codex roles
| Capability | Claude | Codex |
|---|---|---|
| Skill diagrams | Staged preview with explicit insertion | Staged static SVG with explicit insertion |
| Skill instructions | Reviewed instruction attachments | Per-skill opt-in and per-send review. Native plugin execution is unavailable. |
| Investigate | Available when configured, with reviewed file scope and a dollar cap | Unavailable. CLI help does not establish snapshot-only reads or an equivalent pre-turn budget ceiling. |
Run it
The source build requires Node 24 or later. The release checks were run on Windows.
npm --prefix ui ci
npm --prefix ui run build
node ui/scripts/aitiarch.mjs doctor
node ui/scripts/aitiarch.mjs init "C:\path\to\project" --private
node ui/scripts/aitiarch.mjs start --project "C:\path\to\project"
Run these commands from the Aitiarch checkout. Use your project folder in place of the example path. Private init asks before editing a Git project's .gitignore. The editor also works with AI off. See the user guide.
Tested CLI versions
| Provider | Baseline used by Doctor |
|---|---|
| Claude Code | 2.1.205 |
| Codex | 0.167.0 |
| Kiro | 3.3.0 |
Doctor checks local CLI metadata. Newer CLIs that pass the capability checks are shown as untested. Login and entitlement are checked on first use.
Experimental plugins
Use a local checkout that contains the plugin manifests. Both plugins require a source build. The setup skill prepares an app-owned install, initializes or reuses the chosen project, runs Doctor, and starts the local app. If the host blocks a command, the skill uses the host's approval flow.
- Claude Code. Run
/plugin marketplace add <absolute-path-to-checkout>and/plugin install aitiarch@aitiarch. Open your project in Claude Code and run/aitiarch:aitiarch. Claude Code plugin installation - Codex. Run
codex plugin marketplace add "<absolute-path-to-checkout>". In the Codex Plugins Directory, choose Aitiarch (experimental) and install Aitiarch. Open your project and ask to start Aitiarch. Codex plugin installation
Privacy
Editing and browsing the notebook are local. When you approve an AI request, the selected provider CLI receives the question and the context included for that turn, such as note text, a selection, thread history, chosen session excerpts or skill instructions. Review the context before approving it. Inspect text after redaction, and review the approved file scope before an investigation reads the throwaway copy.
The image warning is “images are sent as-is; secret exclusion cannot inspect them”. The provider gets the reviewed PNG and can read anything visible in its pixels. JPEG and WebP are converted to PNG locally. Every image send needs fresh confirmation, including resends. Council and Investigate do not receive image attachments.
Known limits
- Codex Investigate is off. The installed CLI help establishes neither snapshot-only reads nor a pre-turn budget ceiling equivalent to Claude's.
- Codex skills are instruction-only. Installed skills are off by default, with per-skill opt-in and per-send consent. Native plugin execution is unavailable.
- Mermaid in AI replies renders flowcharts and sequence diagrams. Other diagram types show their source.
- Kiro uses the CLI's Default model and supports neither images nor diagrams.
- Shared notebooks require Git verification that
.aitiarch/local/is ignored and that no private files there are tracked. Without Git, protection is filesystem-private. - UI-state and chat locks lack an owner record. The app leaves unowned leftovers in place.
- Claude image delivery is enabled only for the probed model
claude-opus-4-8[1m]on Claude Code2.1.205.
How this differs from Obsidian AI plugins
Both apps work with local Markdown notes. Obsidian offers community plugins, so its AI workflow depends on the plugin you install. Aitiarch has a built-in workflow for reviewing context sent through local provider CLIs, keeping AI replies in margin threads, and recording your own takeaways and decisions. Obsidian community plugins
Aitiarch is MIT-licensed. See the third-party notices for dependency licences.
Read on
docs/try-it.md a guided first run