A local-first runtime where humans and AI agents work together in a shared session: a conversation and a workspace at the same time. Humans take part, watch and step in. Agents work through scoped capabilities inside isolated environments.
The technical design says why Yession has its shape: the principles, the components and the invariants.
Yession installs two commands: yession-manager (the Manager) and yession-session (one
Session). The Manager serves a management UI, by default at http://127.0.0.1:8321, where you
create, launch, resume and stop sessions. Each session runs in its own process.
Node 24 or later is the only prerequisite. Download yession-<version>.tgz from a release,
then:
mkdir -p ~/.local/share/yession
tar -xzf yession-<version>.tgz --strip-components=1 -C ~/.local/share/yession
(cd ~/.local/share/yession && npm ci --omit=dev)
npm i -g ~/.local/share/yession
yession-managerThe directory is the install, and the global commands link into it. npm ci installs the
dependency versions the release was tested with. docs/deployment.md
says how to check the download first, and why the install takes these steps.
Nix with flakes enabled is the only prerequisite.
nix profile install github:trinketworks/yession # install both commands
nix run github:trinketworks/yession # run the Manager without installingTo pin Yession in a system, add the flake as an input and put
yession.packages.<system>.default in environment.systemPackages (NixOS) or home.packages
(home-manager).
By default, the Manager and its sessions answer on loopback and trust nobody. To reach them from elsewhere, say where each one answers and who the humans are:
YESSION_MANAGER_URL=https://example.com # the Manager: scheme + host, no path
YESSION_SESSION_URL=https://example.com/s/{id} # sessions: a template over {id} / {port}
yession-manager --auth trusted-headers \
--socket /var/lib/yession/manager.sock # only the proxy opens it; or --auth localhost on one machinedocs/deployment.md has the trust rules, the header scheme and a worked Tailscale binding.
yession-manager --version and yession-session --version print the build. Every green
push to master publishes 1.0.0-beta.<n>.
devenv, on Nix with flakes enabled, is the only prerequisite. Do not install Node or .NET yourself.
devenv shell # enter the environment
check # run the cheap test tier
start # build, then run the ManagerOn Claude Code on the web, set the environment's setup script to bash .claude/setup.sh.
Read these before you change something:
- AGENTS.md: how a change gets to master, the build tasks, versioning and testing. It is for people and agents.
- technical-design.md: the principles and invariants that a change must keep.
- tests/AGENTS.md: the test capabilities and the rules for writing tests.