Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.motus.lithosai.com/llms.txt

Use this file to discover all available pages before exploring further.

Send a single message to a running agent or enter an interactive REPL.

Usage

motus serve chat <url> [message] [options]

Options

FlagDefaultDescription
--sessionResume an existing session by ID instead of creating a new one
--paramKEY=VALUE parameter passed to the agent as user_params (repeatable). Numeric values are auto-coerced to int or float.
Sessions are kept on exit so traces remain viewable in the cloud console. The session ID is printed when a new session is created — copy it to resume later with --session.

Examples

Single message

motus serve chat http://localhost:8000 "What is 2+2?"
Session: 550e8400-e29b-41d4-a716-446655440000 (use --session to resume)
4

Interactive REPL

motus serve chat http://localhost:8000
Session: 550e8400-e29b-41d4-a716-446655440000 (use --session to resume)
Chat session started (Ctrl+C to quit)

> hello
hi there
> how are you?
I'm doing well!
^C
Bye!

Resume an existing session

motus serve chat http://localhost:8000 --session 550e8400-e29b-41d4-a716-446655440000
> where were we?

Delete a session manually

motus serve delete http://localhost:8000 550e8400-e29b-41d4-a716-446655440000