muxi chat
Talk to your agents from the terminal
Chat with a running formation interactively or send one-off messages. Great for testing, debugging, and quick interactions.
Usage
muxi chat [message] [options]
Interactive Mode
muxi chat
Opens interactive chat:
Connected to my-assistant
Type /help for commands, /exit to quit
You: Hello!
Assistant: Hello! How can I help you today?
You: What can you do?
Assistant: I can help with research, writing, and analysis...
You: /exit
Single Message
muxi chat "What is the capital of France?"
Output:
The capital of France is Paris.
Options
| Flag | Description |
|---|---|
--formation <id>
| Target formation |
--agent <id>
| Specific agent |
--profile <name>
| Server profile |
--session <id>
| Resume session |
--no-stream
| Disable streaming |
Target Formation
muxi chat --formation support-bot
If only one formation is running, it's selected automatically.
Target Agent
muxi chat --agent researcher "Find info about AI"
Interactive Commands
| Command | Description |
|---|---|
/help
| Show commands |
/exit
| Exit chat |
/clear
| Clear screen |
/session
| Show session ID |
/agents
| List agents |
/agent <id>
| Switch agent |
/history
| Show history |
Session Management
Resume Session
muxi chat --session sess_abc123
Continues previous conversation.
View Session ID
You: /session
Session: sess_abc123
Output Formats
Streaming (Default)
Response streams as it's generated.
No Streaming
muxi chat "Hello" --no-stream
Waits for complete response.
JSON Output
muxi chat "Hello" --output json
{
"response": "Hello! How can I help you?",
"agent": "assistant",
"session_id": "sess_abc123"
}
Pipe Input
echo "Summarize this" | muxi chat
cat document.txt | muxi chat "Analyze this document"
Examples
# Interactive chat
muxi chat
# Single message
muxi chat "Hello!"
# Specific formation
muxi chat --formation my-bot "Hi"
# Specific agent
muxi chat --agent researcher "Find info on X"
# Resume session
muxi chat --session sess_abc123
# Pipe document
cat report.md | muxi chat "Summarize this"