Skip to main content

Installation

This installs the shannon CLI command. Verify with:
From source (development):

Connection

Local (self-hosted)

Shannon Cloud

Register at https://shannon.run to get an API key, then:

Environment Variables

Set these to avoid passing flags on every call:
Then simply:

Global Options

These go before the command name:

Tasks

submit - Submit a task

Arguments: Options: Examples:
Output:

status - Get task status

Example:
Output:

cancel - Cancel a task

Example:

pause - Pause a task

Pauses at the next workflow checkpoint (not immediate).
Example:

resume - Resume a paused task

Example:

control-state - Get pause/cancel state

Output:

Streaming

stream - Stream task events via SSE

Event types: WORKFLOW_STARTED, WORKFLOW_COMPLETED, LLM_PROMPT, LLM_PARTIAL, LLM_OUTPUT, TOOL_INVOKED, TOOL_OBSERVATION, APPROVAL_REQUESTED, APPROVAL_DECISION, ERROR_OCCURRED Examples:
Output:

HITL Review (Human-in-the-Loop)

review-get - Get review state

Output:

review-feedback - Submit feedback

The --version flag enables optimistic concurrency control. Example:

review-approve - Approve review plan

Example:

approve - Approve/reject pending approval request

--approve is the default. Use --reject to reject. Examples:

Sessions

session-list - List sessions

Example:

session-get - Get session details

Example:

session-title - Update session title

Example:

session-delete - Delete a session


Schedules

schedule-create - Create a recurring task

Arguments: Options: Cron expression reference:
Examples:

schedule-list - List schedules

Example:
Output:

schedule-get - Get schedule details

schedule-update - Update a schedule

Example:

schedule-pause - Pause a schedule

schedule-resume - Resume a schedule

schedule-delete - Delete a schedule

schedule-runs - View execution history

Output:

Tools

tools-list - List available tools

Example:
Output:

tool-get - Get tool details

Example:
Output:

tool-exec - Execute a tool directly

Example:
Output:

Agents

agents-list - List deterministic agents

Output:

agent-get - Get agent details

Example:
Output:

agent-exec - Execute a deterministic agent

Example:
Output:

swarm-message - Send message to running swarm

Example:
Output:

Files

session-files - List session workspace files

Example:
Output:

session-file-get - Download a workspace file

Example:

memory-files - List user memory files

Output:

memory-file-get - Download a memory file

Example:

Skills

skills-list - List available skills

Example:
Output:

skill-get - Get skill details

Example:

skill-versions - List skill versions

Example:

Common Workflows

Submit and stream results

HITL review loop

Schedule with monitoring


Exit Codes