Skip to main content

Overview

Placet consists of three main components:
  • Web App: the inbox where humans review and respond to messages
  • API: the REST endpoint agents and automations use to send messages and receive responses
  • Plugin System: extensible message rendering via sandboxed plugins

Agent Communication

Agents interact with Placet through the Agent API (/api/v1/*), authenticated with API keys:

Supported patterns

PatternUse Case
Fire & forgetAgent sends a message, no response needed
WebhookAgent registers a webhook URL, receives responses asynchronously
PollingAgent polls for review responses via the API
WebSocketReal-time bidirectional communication
For a detailed comparison, see Connection Types.

Review System

Agents can request human input by attaching a review to any message. Placet supports 5 built-in review types:
TypeAgent sendsUser sees
Approvaloptions: [{id, label, style}]Styled buttons with optional comment
Selectionmode: "single"|"multi", items: [...]Radio buttons or checkboxes
Formfields: [{name, type, label, required}]Dynamic form (12 field types)
Text Inputplaceholder?, markdown?Textarea with optional markdown
Freeform{}JSON editor (for plugin UIs)
Reviews support expiry (default 24h, max 36h), webhook callbacks, and long-polling. See Agents for payload examples.

File Storage

Agents can upload and attach files to messages via the API. The web app renders inline previews for many formats:
CategoryFormats
ImagesJPG, PNG, GIF, WebP, SVG
VideoMP4, WebM, MOV
AudioMP3, WAV, OGG, M4A
DocumentsPDF, DOCX, ODT
SpreadsheetsXLSX, XLS, ODS, CSV
PresentationsPPTX
Code40+ languages with syntax highlighting
MarkdownRendered with GFM support
Additional file features:
  • Canvas annotations: draw on images with pen, arrow, rectangle, and text tools
  • Share links: JWT-based public download links (1h expiry)
  • Bulk operations: download as ZIP or delete multiple files
  • File browser: searchable gallery with type filters across all channels

Agent Status

Agents report their status via a heartbeat endpoint (POST /api/v1/status/ping). The frontend provides a dedicated Status page showing all agents with:
  • Live status indicator (active, busy, error, offline)
  • Uptime since last status change
  • Message statistics (total, inbound/outbound, success/error)
  • Status history timeline

Push Notifications

Placet supports browser push notifications via VAPID/Web Push. When an agent sends a message, users receive a notification even when the browser tab is in the background. Clicking the notification navigates directly to the agent’s chat.