HomeTutorials › Autonomous Agents
Autonomous Agents

Routing Agent Output

#078 0:17 Part of the Rysh video series

Send a headless agent's replies straight into a pane you can watch.

Routing Agent Output — 0:17 walkthrough

What you'll see

  1. Launch rysh; double-Escape into rysh mode; ##pane name review-feed.
  2. ##agent spawn code-reviewer "You review code and report findings clearly." -- output normally stays in the background.
  3. ##agent register-output code-reviewer review-feed -- replies land in that pane's chat buffer.
  4. ##agent unregister-output code-reviewer review-feed -- stop routing; the agent keeps running.

Commands shown

rysh
##pane name review-feed
##agent spawn code-reviewer 'You review code and report findings clearly.'
##agent register-output code-reviewer review-feed
##agent unregister-output code-reviewer review-feed

Keys used

EnterEscape

Transcript

0:00Send a headless agent's replies straight into a pane you can watch.

0:03Launch rysh and give this pane a name with ##pane name -- that's where we'll route the agent's output.

0:08Spawn an agent. Normally its output stays in the background -- it has no pane of its own.

0:16Register its output to a pane and every reply lands in that pane's chat buffer -- a live feed of the agent's work.

0:26When you're done watching, ##agent unregister-output stops the routing. The agent keeps running -- you just stop tailing it here.

0:34register-output turns any pane into a dashboard for your background agents.

Key takeaway
##agent register-output <agent> <pane> routes a headless agent's output into a pane's chat buffer; unregister-output stops it.