Running it
Read a chapter, then have a kernel in front of you. Four ways, cheapest first.
In this page
The published book carries its own kernel: Part I’s space — camel-case and the endpoints
What resolution buys you adds — compiled to WebAssembly, under the same engine
the CLI uses. Where a chapter has a Run button, the lines beside it are real REPL lines
and the answer is a real resolution, in your browser, with nothing installed:
resourceOrientedComputing [computed]
Nothing runs until you press Run, and nothing is answered in advance — the listing’s
expected output sits behind a disclosure under the cell. One kernel serves the whole page and keeps its cache
between runs, so a second press answers [cached], and every run is kept under the cell.
The command is yours to edit — Reset puts the chapter’s command back and empties the cell. The kernel binds Part I’s
names and nothing else — the other parts’ hosts, and your own crate, are not in the page
— and if it fails to load, the expected output stands in for the result and the cell says so.
The tutorial binary (this repo, nothing else)
cargo run -p hello-camel -- "resource oriented computing"
cargo run -p hello-camel -- --catalog
in resource oriented computing
out resourceOrientedComputing
@prefix ik: <https://ikigai-rs.dev/ns#> .
…
<urn:ikigai:endpoint:camel-case> a ik:Endpoint ;
ik:id "camel-case" ;
…
That is a complete ikigai host: a root space, a kernel around it, one resolution. It is
about thirty lines and you will have read all of them by the end of
Binding, and a host of your own. The second form prints the host’s catalog
— every endpoint it binds, describing itself, several hundred lines of which a … here stands
for most — which What resolution buys you reads through the same kernel.
The CLI
The full host is the ikigai-cli crate, which
installs a binary called ikigai. If you installed it in Twenty minutes, nothing
compiled, it is already there; if not:
cargo install ikigai-cli --locked
⚠ The crate is
ikigai-cli. Only the binary is calledikigai— andcargo install ikigaidoes not fail, it fetches an unrelated crate by another author and leaves you with something that is not this.--lockedbuilds against the dependency versions the release was tested with rather than whatever the registry resolves today.The other side of
--locked: it also holds you to that release’s flaws.ikigai-cli0.1.68 is the first release whose lockfile fixes therustls-webpkiadvisory (RUSTSEC-2026-0382), using 0.103.16 instead of 0.103.15. Install 0.1.68 or later.
To reach a kernel on another machine over QUIC, add --features quic;
Install says why.
One-shot resolutions take -c, and --plain drops the decoration so output is pipeable:
ikigai --plain -c 'source urn:iki:fn:toUpper in="hello"'
Run it with no arguments and you get a REPL with the same grammar: pipes (|), map
(..), named arguments, compose, cache, cap, trace, and list. The REPL, the
one-shot flag and the page-assembling browser demo all drive the same engine — worth
knowing early, because anything you learn in one place transfers. One difference that
matters: the cache lives in the process, so a cache hit is something you see in a REPL
session and never across two -c runs.
The two commands the front door opened with are worth keeping at hand, because they show the system describing itself rather than doing work:
ikigai --plain -c 'source urn:kernel:catalog'
ikigai --plain -c 'source urn:kernel:actions'
The first is everything resolvable. The second is everything you may invoke, given the capability you are holding — the same list an agent would be handed.
The browser demo
https://ikigai-rs.github.io/ikigai-web-demo/ runs the kernel as WebAssembly, in the page, with no server: the whole page is one resource that the in-browser kernel composed. The Control tab shows the scheduler, the cache and its golden threads updating live; the Demo tab is a set of runnable walkthroughs.
It is also the only host that loads modules rather than linking everything in (as of 2026-09-08) — see What a module is.