Durable sessions survive the client.
Disconnect, reconnect, or swap interfaces without losing the authoritative event history.
Rust agent runtime / local-first
Durable sessions, policy-gated tools, and local execution in one Rust harness—independent of any client or model.
daemon owns state / clients render events / secrets stay references
01 / Durable control
The daemon owns lifecycle, policy, credentials, and execution. Clients stay replaceable.
Disconnect, reconnect, or swap interfaces without losing the authoritative event history.
Every typed action resolves to deny, allow, or human approval.
Keychain-backed credentials stay outside events, payloads, traces, and tests.
keychain://provider/default CLI, TUI, ACP, and Zap-facing paths request work; they do not own it.
request → durable event 02 / Request flow
Typed requests move through a fixed control path. Unknown outcomes never become completed.
03 / Real CLI
Create a session, prompt it, approve gated work, and replay stored history from the CLI.
$ impetus create --profile local
session 7f3a created · durable
$ impetus prompt 7f3a \"Ship the requested change\"
event model.stream.started
tool shell.exec origin=agent
policy needs_approval reason=workspace_write
✓ approved by user
event execution.completed exit=0
doctordiagnose local setupcreatestart a durable sessionpromptsubmit a typed requeststreamreplay stored eventsapproveaccept gated work04 / Install
Supported today: macOS Apple Silicon and Linux x86_64.
QUICK INSTALL
curl -fsSL https://raw.githubusercontent.com/1tuz/impetus/main/scripts/install.sh | zsh Ready when your agent is
Run locally. Keep durable state. Put policy before execution.