Agents can send messages to you via the SDK. Messages appear in the Messages panel in orch-hq and are accessible via the API. Use them for daily briefings, error alerts, completion notifications — anything your agent wants to tell you.Documentation Index
Fetch the complete documentation index at: https://docs.orchagent.io/llms.txt
Use this file to discover all available pages before exploring further.
Quick Start
Messages vs Run Output
Every agent run producesoutput_data — visible in the Activity Feed. But not every run output is worth surfacing as a notification. A Discord bot responding to a user produces output, but showing one side of that conversation as a message is noise.
Messages are intentional. You decide what’s worth surfacing by calling message.send() explicitly. This separates “agent did work” (Activity Feed) from “agent has something to tell you” (Messages).
SDK Usage
- Python
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
title | str | Yes | Short subject line |
body | str | Yes | Full message content (plain text or markdown) |
level | str | No | info, success, warning, or error (default: info) |
agent_name | str | No | Override sender name (auto-detected normally) |
metadata | dict | No | Arbitrary extra data (stored as JSON) |
Levels
| Level | Use for | Display |
|---|---|---|
info | Briefings, status updates | Blue dot |
success | Completed tasks, reports ready | Green dot |
warning | Degraded performance, approaching limits | Orange dot |
error | Failures, broken things | Red dot |
API Reference
All endpoints requireAuthorization: Bearer <api_key>.
Send a message
List messages
| Parameter | Type | Default | Description |
|---|---|---|---|
limit | int | 50 | Max messages to return |
offset | int | 0 | Pagination offset |
level | str | — | Filter by level |
agent_name | str | — | Filter by agent name |
Workspace-scoped listing
GET /messages, scoped to a specific workspace.
Delete a message
orch-hq Display
Messages appear in the Messages panel (sidebar button) in orch-hq:- Level dot (colored by severity)
- Agent name, title, and body preview
- Relative timestamp (“2m ago”, “1h ago”)
- Click to expand full body
- Polls every 15 seconds for new messages
Examples
Morning briefing agent
Error monitor
Deployment notification
Next Steps
Tasks
Create and manage tasks from your agents
SDK Reference
Full SDK documentation
orch-hq
The desktop app where messages appear