LJYC
Four translucent glass ribbons around a four-pointed star

Desktop app2026

Asterism

Make architecture a language that people and AI both read and write.

I have hand-written my own game engines more than once. In the age of agentic programming, the code details I used to spend so much effort polishing no longer matter the way they once did. The more important question has become what problem the system is actually there to solve, and what kind of game it is there to serve.

When people stop watching every line of the implementation, I need a new way to keep a grip on a project: most of the time, stand at the top and see how everything runs; when needed, drill down into the details at any moment; and all the while be sure the logic of the architecture itself is right. So I built Asterism, a desktop graph-modeling application that connects people and AI through local MCP (the protocol AI clients use to call external tools), so that both can move a project forward in the same architectural space.

Chapter 1

See the project from the top, and drill into the details when needed

In Asterism a project is simply a local folder, called an Atlas, which holds one or more architecture graphs (Charts). So that the architecture can be surveyed as a whole and still stand up to close reading, the nodes in a graph can be organized by hierarchy into Clusters (groups and nested subgroups). Most of the time you stand at the top level and watch how the modules connect; when the internal design needs working out, a double-click takes you into the Cluster to unfold its details. Underneath it is always the same graph, so the train of thought is not broken.

The editor in the light theme: the Explorer on the left lists the six nodes under Renderer Architecture, the canvas on the right shows those six nodes and their edges, and the toolbar is above The same interface in the dark theme
Screenshot from the app: the sample Renderer, with nodes arranged by Auto Layout.

Drawing an idea is not enough: boxes on a whiteboard will not tell you where the logic breaks. Asterism gives every node two kinds of connection: Flow expresses the order of execution and logic, and Data pins carry explicit types that say what kind of data is passed. On top of that, the application adds static compilation (Compile).

Try it: drag from an output on the left to an input on the right

Or click an output, then an input

0 / 3

The nodes, pins and types are taken from the sample Renderer. Two rules: pins connect only when their types match, and a Data input can have only one source.

Drag an edge between incompatible types on the canvas and it is rejected the moment you let go. When refactoring an interface you are allowed to change a pin’s type first; the affected edges turn red at once, and when you press Compile Atlas the whole Atlas gets a static check: type mismatches, required pins left unconnected and isolated nodes unreachable from the entry are highlighted on the canvas and listed one by one in the Chronicle, and one click jumps back to where the error is.

Four steps actually performed in the app, in order:

A red message under the Lighting node on the canvas: Scene Data cannot connect to Draw Packets
On the canvas, drag from Scene on Scene Ingress to Draw Packets on Lighting. It is rejected on release with the message Scene Data cannot connect to Draw Packets; no edge is added to the graph, and the undo button stays grey.

Chapter 2

Who goes first doesn’t matter; what matters is that each can sense the other

Integrations in Settings: the Service section shows Connected, Allow local ChatGPT access is checked, the local address is http://127.0.0.1:52033/mcp with the fixed port 52033; the Pairing section shows Current session ready, and Persistence Mode is set to Session Only
Screenshot from the app: the local connection in Settings, at 127.0.0.1:52033, with pairing set to Session Only.

With a hierarchical, compilable graph in place, the next step is to bring AI in through local MCP. The application itself does not call any large language model directly. It only opens a token-authenticated MCP server on the loopback address 127.0.0.1, so that external AI clients such as ChatGPT and Codex can read and write the currently authorized Atlas directly.

In real collaboration, whether a person draws the architecture first and hands it to AI to implement, or AI reads the project first and drafts a structure for the person to adjust, the order does not really matter. What really matters is that the ideas and actions of the person and of the AI can each be sensed by the other.

To that end, Asterism sends every change down the same validated semantic write path: whether a person acts in the interface or AI sends an edit over MCP, the change is first applied in full to a copy, and then the whole Atlas is validated once. If it passes, it takes effect; if a single step breaks the rules, the whole batch is discarded and the original graph stays as it was.

Replay three real edits

PersonApp interface
AI clientVia local MCP

1

Turned into semantic operations

Whoever makes the edit, it is first written as a set of explicit operations.

2

Applied to a copy

Clone the current state, apply them one by one, record the inverses.

3

The whole Atlas is validated

All graphs and the six catalogs are checked together.

4

Takes effectBecomes the working graph

All discardedThe original graph is untouched

These are the only two outcomes.

Working graph

Chronicle

    More important still is making the collaboration visible. AI Activities in the toolbar shows in real time what AI is reading, which graph it changed and which request was stopped for going out of bounds; every AI write that passes validation is saved automatically and leaves a revision in the Chronicle, the append-only history stream, always signed Local MCP Client and stating which Cluster the change landed in and how many nodes it affected. Collaboration between people and AI is no longer text passed back and forth inside a black box, but shared work in which each can see the other put pen to paper.

    The All view of the Chronicle: at the top, Edit Chart Failed, Read Atlas summary and Edit Chart Completed; the expanded Chart updated in the middle reads Cluster Scope · lighting-system · 1 Nodes, Author: Local MCP Client
    Screenshot from the app: the expanded Chart updated reads Author: Local MCP Client, with the change inside the Lighting Cluster, 1 node.
    The AI panel in the toolbar: status Connected, current Atlas Renderer Architecture, and the recent calls Edit Chart Failed, Read Atlas summary and Edit Chart Completed
    Screenshot from the app: the AI panel in the toolbar.

    Chapter 3

    In agentic engineering, a harness catches the uncertainty

    While building this project I came to understand the harness (the guardrails and execution framework a model runs in) of agentic engineering much more deeply. Prompts alone can hardly make AI perform reliably in a complex project; what really works is designing the interfaces, constraints and verification loops clearly, so that the model works efficiently inside clear boundaries. This thinking landed on two layers at once, inside the software and outside it.

    Inside the product, to make things comfortable for external AI and keep its mistakes down, Asterism does not throw the raw underlying JSON at the model to write by hand. On a complex graph-editing task, hand-written JSON both invites misspelled fields and eats up a large share of the context window. So I designed a typed @asterism/sdk, which lets AI compose semantic operations with ordinary TypeScript builders, markedly reducing mistakes and context load. Alongside it, the software has a built-in set of Skills for typical architecture scenarios (generating an Atlas, evolving an architecture, illustrating nodes, automatic layout and reviewing history), which package the correct way to use the software into standard workflows and help AI play by the rules from the start instead of guessing at tool parameters.

    Product guardrails for AI

    1. SkillsGenerate an Atlas, evolve the architecture, illustrate nodes, auto layout, review history
    2. @asterism/sdkCompose semantic operations with TypeScript builders
    3. MCPValidation and compile

    On the delivery side, the software itself follows a disciplined agentic engineering loop: Spec → Dev → Test / E2E → BugFix. The Spec stage first nails down the product definition, the boundaries of the tech stack and the UI/UX rules; then comes implementation, with automated unit tests and end-to-end (E2E) tests guarding the core paths, and when a problem appears the regression is tracked down. Only when constraints are settled into specifications and automated verification does delivery quality stop depending on the luck of any single generation.

    Engineering loop for delivery

    1. SpecProduct definition, tech-stack boundaries, UI/UX rules
    2. DevImplementation
    3. Test / E2EAutomated unit and end-to-end tests
    4. BugFixTracking down regressions

    Chapter 4

    Step out of the geek mindset, when the users of software are people and AI

    Anyone who has written a game engine easily falls, out of habit, into a geek mindset, pouring attention into low-level performance or clever technical implementation. But in building Asterism I found that what matters most is actually not technology but UI/UX, and a programmer’s first-principles judgement (weighing and deciding).

    AI can quickly produce an architectural proposal that sounds very advanced yet does not necessarily fit the nature of the problem. Early in the project, AI proposed building this software with Tauri and a commercial database. Judged against the real situation of a local-first modeling tool, Electron is a safer choice than Tauri for complex desktop interaction and cross-platform stability, and local state needs nothing more than lightweight SQLite; together with a local folder that can go straight into Git, there was no need at all to bring in a commercial database.

    Technology choice

    AI’s proposalTauri + a commercial database

    My judgementElectron + local SQLite + a local folder that goes straight into Git

    More interesting still, in the age of AI the users of software are no longer people alone but both people and AI. That premise directly rewrote my judgement about data formats and interface. In traditional engineering, data formats usually put storage and parsing efficiency first; in Asterism I chose clear, readable JSON, and split the pure semantic graph (*.chart.json) completely from canvas coordinates (*.view.json), so that the data itself is as easy to understand as natural language. Likewise, the canvas hierarchy, automatic layout (ELK) and independent rendering (PixiJS 8), together with the repeated polishing of the light and dark themes and the Observe / Edit modes, are not there to show off technology but to keep this architectural language clear, readable and comfortable for both people and AI.

    Data format

    Conventional approachStorage and parsing efficiency first

    My judgementClear, readable JSON, with the semantic graph kept apart from canvas coordinates

    Two nodes on the canvas: the Scene output of Scene Ingress connects to the Scene input of Frame Orchestrator

    Semantic graph*.chart.json

    Scene Ingress Scenescene-data Frame Orchestrator
    • Nodes
    • Pins
    • Edges

    No coordinates

    Canvas coordinates*.view.json

    • Node positions
    • Sibling order
    Top: the two nodes in a screenshot of the app. Bottom: the same spot is stored as two files in the project, one holding only the meaning, the other only the positions.
    • Renderer Architecture/
    • .asterism/atlas.jsonManifest, kept with the six catalogs
    • *.chart.jsonGraph: nodes, pins, edges
    • *.view.jsonNode positions and sibling order
    • *.chronicle.jsonlHistory, append-only

    Epilogue

    I hope that after you have used Asterism, the feeling is closer to having “done nothing at all.”

    In the age of AI we are, in practice, gradually letting go of the habit of clinging to every line of code. Yet when you follow your own thinking in Asterism, write down the flows already familiar in your head and then look back, what remains in the graph seems to be a pearl the tide left behind.