Sessions
A session is a conversation with a coding agent. Each session:- Runs in an isolated sandbox environment
- Has access to a specific repository
- Maintains conversation history
- Can read, write, and execute code
Session Lifecycle
Session States
| Status | Description |
|---|---|
starting | Session is being created |
running | Agent is active and ready |
paused | Session saved, can be resumed |
stopped | Session ended |
failed | Session encountered an error |
Repos
A repo is a GitHub repository connected to Proliferate. Repos are the codebase that agents work on.Connecting a Repo
- Install the Proliferate GitHub App on your repository
- Add the repo via the dashboard or API
- Create a prebuild (optional but recommended)
Prebuilds
A prebuild is a pre-configured environment snapshot for a repo. Prebuilds:- Include installed dependencies
- Have the codebase cloned and ready
- Start sessions faster (no setup time)
- Can include custom configuration
Automations
An automation connects triggers (events) to agent actions. When a trigger fires, Proliferate automatically creates a session and runs the agent.Automation Components
Triggers
Triggers
Events that start automations:
- Sentry: New error alerts
- Linear: Issue created/updated
- GitHub: PR opened, issue created
- Webhooks: Custom HTTP webhooks
- Scheduled: Cron-based schedules
Instructions
Instructions
What the agent should do when triggered. Written in natural language.Example: “Investigate this Sentry error, find the root cause, and open a PR with a fix.”
Actions
Actions
What the agent can do after completing work:
- Open a pull request
- Post to Slack
- Comment on Linear/GitHub issues
WebSocket Connection
For real-time interaction with sessions, connect via WebSocket:Message Types
| Type | Direction | Description |
|---|---|---|
prompt | Client → Server | Send a message to the agent |
token | Server → Client | Streaming text token |
message_complete | Server → Client | Message finished |
tool_start | Server → Client | Agent started a tool |
tool_end | Server → Client | Agent finished a tool |
