Overview
Crewship provides real-time event streaming so you can:- Monitor crew execution as it happens
- Build responsive UIs that update live
- Debug issues by watching the event flow
- Log events to external systems
Streaming via CLI
The simplest way to stream events:Streaming via API
Server-Sent Events (SSE)
Connect to the events endpoint with SSE:JavaScript/TypeScript
Python
Event Types
Run Lifecycle Events
Agent Events
Tool Events
Log Events
Artifact Events
Event Format
Each SSE event follows this format:Reconnection
SSE supports automatic reconnection. Use theLast-Event-ID header:
Building a Live UI
Example React component:Filtering Events
Request specific event types:Related
Webhooks
Trigger runs and receive notifications
Invoke Command
CLI streaming options
API Reference
Events API docs