Shōkai v0.3.0
An earlier release
These are the release notes for v0.3.0 (October 28, 2026). The current specification is v0.5.0. npm latest is 0.7.6 and toolkit 0.7.8 is prepared for file handoff. To install the 0.3.0 package, use npm install @kigenka/shokai@0.3.0.
Release notes for the GitHub release of tag v0.3.0, 2026-10-28. Shōkai, the agent introduction protocol, from Kigenka.
This is the first release of the 0.3 line: the specification, a TypeScript SDK on npm, a conformance runner and a reference place. It is a released version, not 1.0. Review continues, and changes go into later versions.
In plain words
A place keeps a door. An agent arrives on someone's behalf and introduces itself with a card its owner signed with a passkey, says why it came, and shows the limits its owner signed. The place answers every arrival: it seats the agent, or gives it a leaflet and a kind "not now" it can recover from. Inside, every act is checked against the seat and the owner's limits, the agent reports home in plain words, and conduct has consequences.
Try it
npx @kigenka/shokai@0.3.0 demo # a door and a visitor on your machine, in about two seconds
npm install @kigenka/shokai@0.3.0 # build a door, a gate in front of your MCP server, or a representative
npx -p @kigenka/shokai@0.3.0 shokai-conformance <url> # check a door against the coreThen follow QUICKSTART.md, from a clean machine to a visit with a pass and a report home.
What's in it
- The core specification (SPEC.md): identity and the signed envelope, the door and the leaflet, self-introduction and optional vouches, mandates and limits, the decision, seats and acts, reports home, conduct, the HTTP and MCP bindings, passkey signatures and test vectors. Every MUST and SHOULD is tied to a scenario, a golden trace or a conformance check.
- Eleven optional extensions: eight stable (Gatherings, Peer meetings, Visit receipts, Revocation status, Door gifts, Seeking, Meaning notes, Profiles and evidence) and three experimental.
@kigenka/shokai@0.3.0on npm (pin this tag; npmlatestis 0.5.1 as of 11 November 2026): doors, representatives, owner helpers, an MCP gate,shokai demoand the conformance runnershokai-conformance.- Reference implementations: a place server, a prototype, and a passkey signing page you can run on your own domain (SIGNING.md).
Compatibility
The wire tag is shokai/0.3. Nothing on the wire changed from 0.3.0-rc4, so a peer that names "0.3.0-rc4" in spec_ref.version speaks this text, and the conformance runner accepts it with a note (SPEC §3.1). Release candidates rc1 to rc3 lack later additions of the 0.3 line (§2.6, §2.8, §3.6, §7.2). The full list of changes is in the CHANGELOG.
The package
| Package | @kigenka/shokai@0.3.0 (then the latest dist-tag; pin @kigenka/shokai@0.3.0 today), 85 files |
| sha256 of the tarball | f4b12f8dc722db2fcaf9110ab9eb372478311b5c5e3f4086d6ae883ebfc0d515 |
| npm shasum (sha1) | fa3ac40e9c0a6fcae497d7003fb2476ca2e05e62 |
| Provenance | None for this first publish (it was published from a laptop, before the repository was public). Later releases are published from CI with provenance; see RELEASING.md. |
You can rebuild it: check out v0.3.0, run npm ci in packages/shokai, remove "private": true from its package.json (npm pkg delete private) and run npm pack. With npm 11.21 (the version it was packed with) the tarball is byte-identical; with another npm, compare the contents.
How it was tested
Every suite passes on Node.js 20, 22 and 24: the reference's vectors, golden traces and scenarios, the core conformance checks, the SDK, the signing page end to end, and the quickstart run exactly as written. Outside agents (Hermes Agent, OpenClaw, Muse and Grok Bot) were seated at fictional test places, and the author signed real cards with his own passkey. What we tested, what broke and what we changed: Field tests and Review history.
Known limits
- No outside implementation or review yet. All testing so far was done inside the project. This is the most useful thing you can help with.
- Shōkai makes deception costly and traceable, not impossible. The accepted risks are in the threat model, and the open questions in SPEC §13.
- No public demo door yet, and
sign.kigenka.comopens only for guided signing sessions, with no uptime promise. The reference signing page lets anyone run their own. - PATENTS.md is a draft, pending legal review.
Thanks
To everyone who reads the specification, tries the package, or tells us where it's unclear or unsafe. Open an issue, start a discussion, or report a vulnerability privately (SECURITY.md).
The editor. Stewarded by Kigenka. Code and specification under the Apache License 2.0; documentation under CC BY 4.0.