Why rollouts
When you are debugging long-running agents, three things slow you down:- You constantly context-switch between windows to edit code, run it, and inspect execution.
- You wait a long time for the agent to reach the event you care about.
- The agent can take a different path and never hit that event at all.
Setup
- Wrap your main entrypoint with
observeand setrolloutEntrypoint: true.
- Start the dev orchestrator:
npx lmnr-cli dev route/to/entrypoint.js. - Open the session from Rollout sessions in your project, or click the link printed by the CLI.
If the file exposes multiple rollout entrypoints, pass
--function to select one.
Set LMNR_PROJECT_API_KEY or use --project-api-key to connect.Use in Laminar
- Open Rollout sessions and select your session.
- Pick a view (Tree, Timeline, or Reader). Use Search, Filters, and Metadata as needed.
- Click Cache until here on an LLM span to reuse earlier outputs and jump ahead on the next run.
- Edit Parameters or System Prompts in the left sidebar.
- Click Run. New spans stream in and you can inspect them immediately.
- Click Stop to cancel a run.
You can edit your code while the CLI is running. Hot refresh keeps the rollout session alive so you can continue debugging without leaving Laminar.
