Prerequisites
- The
jstmCLI installed. See Install the CLI. - A real interactive terminal. The planning chat won’t run in a pipe or in CI.
1
Sign in
whoami shows your user and your active workspace. Everything you create lands in that workspace.2
Draft the agent
/ at the start of a message to search the skills catalog and reference one directly.When you’re done, press Ctrl+C. The chat prints your session id.Exiting never commits. Your spec stays a draft until the next step, so a closed terminal or a dropped connection can’t create an agent by accident.
3
Commit the draft
jstm agent plan list shows your sessions.4
Build a package
5
Check it against the spec
0 means clean. Exit 1 means there is at least one blocking problem — see Reading the flag report.6
Run it in Simulation
jstm agent run acme-corp/failed-payment-digest --mode simulation.Progress streams as it happens, story by story. When it finishes you get a run id.7
Read what happened
run show gives you the run’s status, its stories, its output, and the exact versions that executed. ticket list shows the same work as tickets — the business-readable view a teammate can read without knowing anything about the CLI. In the web app, a run’s result shows the same work as a numbered list of tickets.This is the evidence you’ll use to decide whether the agent is ready for real traffic.What you have now
An agent that exists as a versioned, inspectable package, has been checked against the spec, and has completed a full execution without touching anything real. Nothing has run for real yet. That only happens when you start a Run.Next
From Simulation to a real Run
Run it for real, deliberately.
Schedule it
Run it on a recurring cron schedule.
Connect a service
Connect Stripe and Slack so the agent can act for real. The agent never sees the keys.
How JoyStream thinks
Why the lifecycle is shaped this way.