A local-first, protocol-first agent runtime. The kernel stays small and immutable; agents may change only configuration, memory, and artifacts, always through snapshot, evaluation, and rollback.
One path: install → init → ask → replay.
tar xzf rsia-0.1.0-<target>.tar.gz
cd rsia-0.1.0-<target>
./install.sh # installs rsia and rsia-daemon into ${PREFIX:-$HOME/.local}/bin~/.local/bin must be on your PATH; install.sh prints the line to add if it is not.
rsia service install # writes and starts the user service unit (the only daemon path)
rsia init # prompts for provider, model, key, and workspace; writes the config
rsia ask "hello" # one turn, prints the reply
rsia session list # find the session id of that turn
rsia session attach <id> # replay the transcript from the first eventDiagnose with rsia doctor; every failure names a copyable command. Error codes are listed in
docs/error-codes.md, the doctor checks in docs/doctor-checks.md, and the security model in
SECURITY.md.
| Path | Role |
|---|---|
crates/rsia-protocol |
wire protocol, identifiers, events, error codes |
crates/rsia-client |
client SDK |
crates/rsia-core |
kernel: sessions, turns, loop, context, permissions |
crates/rsia-storage |
event log, SQLite index, blobs, snapshots |
crates/rsia-extension |
tools, MCP, WASM, skills |
crates/rsia-testkit |
in-memory transport, scripted provider, temp dirs (dev-dependency only) |
services/rsia-daemon |
daemon binary |
clients/rsia-cli |
CLI source; builds the rsia binary |
xtask/ |
repository task runner, not in default-members |
| Command | Does |
|---|---|
cargo check --workspace --all-targets |
type-check every member |
cargo fmt-all |
format every member |
cargo lint |
clippy over default members, warnings denied |
cargo test-all |
run tests of every member |
cargo xtask --help |
task runner usage |
cargo bound |
dependency boundary check (feature 11) |
fmt and test are deliberately not offered as aliases; see .cargo/config.toml.