You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/cli.md
+129-3Lines changed: 129 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,10 @@
1
1
---
2
2
title: Command Line Interface
3
-
description: Run playbooks from the command line, cron jobs, or CI/CD pipelines with maestro-cli.
3
+
description: Send messages to agents, list sessions, run playbooks, and manage Maestro from the command line.
4
4
icon: square-terminal
5
5
---
6
6
7
-
Maestro includes a CLI tool (`maestro-cli`) for managing agents and running playbooks from the command line, cron jobs, or CI/CD pipelines. The CLI requires Node.js (which you already have if you're using Claude Code).
7
+
Maestro includes a CLI tool (`maestro-cli`) for sending messages to agents, browsing sessions, running playbooks, and managing resources from the command line, cron jobs, or CI/CD pipelines. The CLI requires Node.js (which you already have if you're using Claude Code).
8
8
9
9
## Installation
10
10
@@ -32,6 +32,114 @@ node "/Applications/Maestro.app/Contents/Resources/maestro-cli.js" list groups
32
32
33
33
## Usage
34
34
35
+
### Sending Messages to Agents
36
+
37
+
Send a message to an agent and receive a structured JSON response. Supports creating new sessions or resuming existing ones for multi-turn conversations.
38
+
39
+
```bash
40
+
# Send a message to an agent (creates a new session)
41
+
maestro-cli send <agent-id>"describe the authentication flow"
0 commit comments