PITWALL

C4 diagrams, Notes and Agention

Preview

Preview. Three extensions built on the public Tile SDK, with independently maintained sources: C4 diagrams, Notes, and Agention. They require Pitwall 0.9.0 or later. Agention is available from Pitwall’s bundled extensions. To build another extension from source, follow its repository’s README, then install its built folder with Settings → Extensions → Install from folder… or pitwall extension install <folder>. The public catalog is not activated yet.

C4 diagrams: ask an agent to draw it

Ask an agent Pitwall started to draw something: "draw the containers of this repo as a C4 diagram and show it on the right". It writes the diagram in Mermaid and calls c4__show; the diagram opens right of its terminal, with no setup. Ask for a change ("add a cache") and the same diagram updates in place, wherever you moved the tile.

A container diagram an agent showed, dark A container diagram an agent showed, light

  • What it draws. Mermaid flowchart (or graph) and sequenceDiagram. In a flowchart, a box's label is read as C4: Name [Kind]<br/>what it does (Orders API [Container]), a subgraph is a boundary, class x external (or new, changed) colours it. Parts it doesn't draw (styles, links, icons) are skipped and listed under "Not shown" in the footer.
  • Zoom. The wheel or a pinch zooms, dragging pans; +, -, F (fit) and 0 do the same from the keyboard, the arrows move the selection, Enter opens it and B switches Now and Changes.
  • Click to zoom in. A box another shown diagram details (a "Shop [Software System]" box, and a diagram of Shop's containers) has a magnifier; clicking it opens that diagram, and the path back is in the bar. When several diagrams detail it, a menu under the box asks which.
  • Changes since the last show. When an agent updates a diagram, Now / Changes in the bar shows what it added (green), changed (amber) and removed (grey, dashed).

The changes after an update: a cache added, the API changed, dark The same, light

  • The list. In a wide tile, the diagrams shown so far, by agent. Close one with its ×. They are kept across restarts, at most 50 a project; the oldest you haven't opened for a while makes room.

Two diagrams detail Shop: the menu asks which, dark The same, light

Bad Mermaid changes nothing. The agent is told each problem with its line and column, and fixes its call. You see a notice; Show the source shows the agent's text with each bad line marked as an error and what is wrong beside it.

A call with a problem on line 4, dark The same, light

With file access allowed, C4 also discovers Mermaid diagrams in matching project Markdown files, follows edits and opens a diagram's source at its line.

Notes: send a note to an agent

Notes keeps private plain-text notes beside your agents. Send to an agent (the arrow in a note's bar) lists your agents and puts the text you selected in the note, the note, or one section of it under a heading, in that agent's Next up, waiting for your Send. Notes asks for "See your agents" and "Put text in an agent's Next up" for this; without them, the rest of Notes works.

Send to an agent, dark Send to an agent, light

With text selected, Send offers the selection first.

Send with a selection, dark The same, light

A note longer than 4 000 characters is too long to send whole: select a part or pick a section. ⌘/ switches a note between Edit and Preview.

Agention: answer your agents in one inbox

Agention 3.0.0 groups threads by agent and session. Pick a suggested answer, write your own words, decline, or reply to a thread. Sends have a five-second Undo window. Questions also appear in Pitwall's floating attention control; the toolbar shows their count.

Agention inbox, dark Agention inbox, light

Open Set up, enter your server address, and save an operator API key with threads:read, threads:write and sessions:read. The fields are host-owned: Pitwall keeps the key in its secure store and adds it to granted requests by reference. The extension never reads its value. Setup explains missing, expired or revoked keys and network refusals.

Agention Setup, dark Agention Setup, light

Optionally install and supervise a local Agention 0.8.0 server using Node.js 24 or later and npm. Configure its public HTTPS origin and a reverse proxy or Tailscale Serve for the loopback listener. Each native command needs approval. First sign-in opens its one-time link privately in the browser.

Setup can also check, install or remove the pinned Agention plugins for Claude Code and Codex's default profiles, and publish server/project/session environment variables to new agents when allowed. Restart existing agents to load changed plugins or environment. Named Pitwall accounts need their own plugin setup. See Agention's README for setup, permissions and upgrading from 2.0.0 while retaining data and the saved API key.