Skip to main content
This takes you from a signed-in terminal to a working agent that has completed a run with no production side effects. It should take about ten minutes.

Prerequisites

  • The jstm CLI 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

A chat opens and asks what the agent should do. Describe it in plain language:
Joyvis drafts a spec and asks follow-up questions — which Slack workspace, what counts as a failure, who to notify if Stripe is unreachable. Keep going until the plan looks right.Type / 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

This is the step that creates the agent. It saves the spec as the agent and prints the resulting work tree.Lost the session id? jstm agent plan list shows your sessions.
4

Build a package

Build compiles the committed spec into a sealed version and waits for it to finish. The receipt tells you the version it produced.
5

Check it against the spec

Conformance reads the built package and reports any place it violates the agent spec, each finding citing the clause it breaks. It needs no network.Exit 0 means clean. Exit 1 means there is at least one blocking problem — see Reading the flag report.
6

Run it in Simulation

This runs the version you just built in Simulation. The agent executes end to end, but steps that call outside services get made-up responses — nothing is posted to Slack, nothing is changed in Stripe. A Simulation needs no connected services, so you can run it before you connect Stripe or Slack.It is the same as 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.
Need help? Join the JoyStream Slack community or email support@joystream.ai.