Skip to main content
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

Attach local files to any prompt with -f:

Common subcommands

Streaming

Long-running prompts stream their output to stdout as the agent works. Status messages go to stderr; press Ctrl+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 run is the fastest way from zero to a streaming response.
  • Once a session exists, prefer session prompt (positional text) for shell-friendly one-liners and session chat (--prompt) when you also need to attach files.
  • Combine with mulerun page to publish the output of a session as a deployed page.