#How to chat from cli itself again?

1 messages · Page 1 of 1 (latest)

ripe lagoon
#

Title

upbeat latchBOT
ivory steepleBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

upbeat latchBOT
ripe lagoon
#

?

stark drumBOT
#

One sec, I’m checking the actual CLI command names in the repo so I don’t send you stale syntax.

#

If you mean “talk to the assistant from the terminal”, the current command is:

openclaw agent --message "hello"

Useful variants:

# continue a specific session
openclaw agent --session-id <id> --message "continue"

# target a configured agent
openclaw agent --agent ops --message "summarize logs"

# send reply back out to a connected chat
#
openclaw agent --message "report ready" --deliver --reply-channel discord --reply-to "#channel-or-target"

If you mean “send a normal message to a channel from CLI”, that’s:

openclaw message send --to <target> --message "Hello from OpenClaw"

Docs: https://docs.openclaw.ai/tools/agent-send

If you want, I can also give you the exact command for Discord specifically.

ripe lagoon
#

Does openclaw agent --session-id <id> open the TUI directly?

stark drumBOT
#

Let me check the actual openclaw agent help text so I don’t hand-wave the TUI bit.

#

Got it, openclaw agent is the one-shot command. I’m grabbing the exact TUI invocation so I can give you the right follow-up command too.

#

Nope, openclaw agent --session-id <id> is a one-shot run, not the TUI.

It does this:

openclaw agent --session-id <id> --message "continue this"

and prints the reply, then exits.

If you want the terminal UI, use:

openclaw tui

Then switch sessions inside TUI with /session <key> or the session picker.