Skip to main content

What to read next

Having worked through the tutorial, you have a two-storey house, its plans, and the answers about circulation and daylight. From here the road forks by reader. Pick one and read that one page — this is not a book to work down in order.

I want to write a bit more of the notation

Every construct in .muro

The 16 words that can begin a line and the 9 kinds of indented line, laid out on one page. The ones the tutorial did not use — zone (the unit of aggregation), asset (door and window types), import (layering files), stack and band (vertical stacking and strip layouts), polygon (the shape of a site), column (columns whose position is never written), over and drop (override and delete) — are the words for when the scale grows.

This is the page to keep beside you while writing.

I already know what I want to do

→ the how-to volume, starting at Add a storey

Add a storey · Connect storeys · Subdivide a dwelling into rooms · Lay measurements over the plan · Embed koyu in a program · The standard loop for letting an agent write. Procedures arranged by goal. Where the tutorial was a single road, this is the volume you dip into.

Why it is written this way has not settled yet

What koyu is

The space-centred model · Walls as boundaries · Default boundaries · Paths and area aggregation · Derived information · Extending attributes — the thinking behind the shape of the notation, without the implementation in the way.

If you only want the trap from stage 5 looked at straight on, What check guarantees answers it in one page.

An error has stopped me

The diagnostic code index

Add --json to koyu check and you get diagnostic codes. All 65 of them have what they are saying, how you got there, and how to fix it.

If you want "why is this way of writing rejected at all?" before the codes, start at How to read a diagnostic.

check is green but the building looks wrong

koyu validate — architectural judgement

What check says stops at "what is written does not contradict itself as data". A room that cannot reach the outside, a hole in the envelope, a cramped stair, a ramp that is too steep, a column standing in a doorway, a building that spills off its site — 15 rules on a separate surface. A judgement is not a guarantee. That line itself is drawn in Scope — what a green check means.

I want more commands

The koyu command

All 14 subcommands, with real output. The ones the tutorial did not use are here: graph (space adjacency), stats (areas and efficiency), site (site area, coverage, FAR), runs (vertical circulation), layers (which layers took part in composition, and where each attribute came from), diff (differences in the language of composition), axo (axonometrics).

I want to drive it from a program

Reading a building from a program

Twenty lines from parse through diagnostics to canonical JSON. The published surface beyond that — 59 values and 77 types — is laid out in TypeScript API.

I want an LLM agent to read and write it

koyu-mcp

A zero-dependency stdio MCP server whose 12 tools expose the same derivations. Registration is one line; no auth, no environment variables. The agent reads with layers, writes with write_layer, and check is the gate — errors come back with layer and line provenance.

Commit before you let it write. write_layer writes by full replacement and has no undo.

I want to know what this tool does not hold

What koyu does not hold

No geometry in the source, no placement mechanism, no architectural judgement in the source's contract, no chase after construction-document resolution, no round-trip compatibility — everything deliberately left out, with why. What will not break, conversely, is in Stability — what will not break.