Skip to content

Play Command Reference

lantern play

bash
lantern play [project] [--ws-port PORT] [--http-port PORT] [--name NAME]
OptionDefaultDescription
projectcurrent directoryAgent project to run
--ws-port7890WebSocket port for live events
--http-port7891HTTP port for the Play UI
--nameemptySave the run as .lantern_replays/<name>.jsonl and auto-start. If omitted, the UI asks for the run name before START

lantern replay

bash
lantern replay NAME [--speed FLOAT] [--ws-port PORT] [--http-port PORT]
OptionDefaultDescription
NAMErequiredReplay name, direct .jsonl path, or last for the newest saved replay
--speed1.0Playback speed multiplier
--ws-port7890WebSocket port for replay events
--http-port7891HTTP port for the replay UI

CrewAI Runtime Events

CrewAI is the primary supported runtime for lantern play.

AgentLantern instruments the child process and captures:

Event typeDescription
Crew lifecyclecrew start, crew done, process messages
Taskstask start, task done, task error
Thoughtsagent step or callback output when available
Delegationcoworker questions and delegated work
Toolsgeneric CrewAI BaseTool.run calls
stdoutraw terminal output from the child process

For a standard CrewAI scaffold, the target command is usually:

bash
uv run run_crew

AgentLantern detects and runs the appropriate command from the project root.

Released under the MIT License.