Documentation Index
Fetch the complete documentation index at: https://mulerun.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
mulerun session manages AI task sessions on the MuleRun platform — the
same sessions you would otherwise drive from the web UI, but scriptable.
This page is a quick overview. Detailed per-subcommand pages are coming
soon.
At a glance
-f:
Common subcommands
| Command | What it does |
|---|---|
session create | Create a new session (no prompt). |
session run | Create a session and stream the first prompt. |
session list | List sessions (filter by status, paginate). |
session get | Show session details. |
session prompt | Send a follow-up prompt (positional <text>). |
session chat | Send a follow-up prompt (--prompt flag, file attachments). |
session cancel | Cancel the in-flight operation. |
session status | View / update session status. |
session events | Tail the event log. |
session publish | Publish a preview URL. |
session renew | Renew the sandbox timeout. |
session restart-acp | Restart the ACP subprocess. |
session question | Respond to a Human-in-the-Loop question. |
session share | Generate a shareable link. |
session delete | Delete the session. |
Streaming
Long-running prompts stream their output to stdout as the agent works. Status messages go to stderr; pressCtrl+C to cancel cleanly (the CLI
sends an explicit session/cancel over the WebSocket).
For machine consumption use -o json or -o jsonl.
Tips
session runis the fastest way from zero to a streaming response.- Once a session exists, prefer
session prompt(positional text) for shell-friendly one-liners andsession chat(--prompt) when you also need to attach files. - Combine with
mulerun pageto publish the output of a session as a deployed page.