Sessionsruntime

Runs that survive a restart

A durable run: wake, take a turn, commit, sleep. Interrupt and steer over REST.

sessiondurable
$ vetta sessions steer ses_7f3a "ship it as a PR"
sessionses_7f3aturn 5 · resumes where it stopped
sleeping
waketurncommitsleep
turns5
  • turn 1 · plancommit
  • turn 2 · read repo · run testscommit
  • turn 3 · fix flaky test · reruncommit
  • steer · ship it as a PRrest
  • turn 5 · open PR #142commit
interrupt over RESTevery turn committed

Paste and ship

Drop this into Claude Code, Codex, or Cursor. It reads the docs and wires up Sessions for you.

Agent prompt
Read https://vetta.sh/docs/concepts/sessions and use the naïve Sessions primitive in my project. It is part of the runtime layer; wire it through naive.config.ts rather than calling a vendor directly.

Used by

Related primitives