Learning path

Start with Axon, then add Soma

On this page

Start with one useful tool, not six new services. This learning path uses the same small invoice example from beginning to end: find the retry code with Axon, describe its rule with Soma, then see a reviewed rule become a gate.

You do not need CNS's wrapper CLI, Cortex, Engram, Thalamus, a model API key, a database server or an agent harness. Everything in these lessons runs locally.

Before you begin

Each organ installs with one command from the private ivannovak/cns Homebrew tap, with no compiler setup. The tap needs access that you configure separately; see installation and access requirements.

Use a Mac with Homebrew, or a Linux server with the release archives (see supported hosts), and Git. The tiny example also uses Node.js 22 or later, Python 3 for repeatable edits, and a POSIX-compatible shell. No npm packages, Rust toolchain or C/C++ compiler are required. A Brew command does not grant access to the private tap.

The lessons use a new disposable Git repository, not your application. Commands create local files and commits; they do not push anything. Once the workflow is familiar, repeat it on a branch in your own project.

Lesson 1 · Find and follow code with Axon

Install Axon and index a small repository →

Install Axon, create the example, locate an invoice function, follow its caller, and inspect a working-tree delta. Each step explains what the result means and what it does not prove.

You finish with: a working local index and a concrete reason to use it before editing unfamiliar code.

Lesson 2 · Layer on one Soma rule

Install Soma and report your first concern →

Keep the repository from lesson 1. Add a rule about invoice retry keys, make a harmless change to the relevant file, and inspect a shadow-mode match with Axon's structural evidence attached.

You finish with: a validated project rule and a report you can interpret, without prematurely turning it into a gate.

Lesson 3 · Make a reviewed rule a gate

Evaluate, promote and exercise the concern →

Provide a known-good history example, promote the concern, and commit its activation before testing the next change. Compare Soma's review signal with a real failing application test.

You finish with: an understanding of shadow versus active concerns, base-history gating, and why a structural review signal is not a correctness verdict.

Where to go next

Once the mechanics are familiar, run the same tools on a repository you already know: the fixture teaches, but a real codebase is where a result can surprise you. Use the Lifecycle to understand where these steps fit into daily development. The Axon and Soma command indexes are reference material when you need an option—not a prerequisite reading list.

Add the CNS closeout wrapper, a coding-agent harness, memory, or model routing only when you have a task that needs them. The first two tools do useful work without those additions.