@rivet-health/agent
v1.1.0
Published
An autonomous coding agent for Rivet engineers.
Downloads
267
Keywords
Readme
Rivet Agent
An autonomous coding agent for Rivet engineers.
How It Works
The agent continuously monitors Notion tickets across three states:
- Up Next: Creates new branches and implements features from pending tickets
- In Development: Continues work on active tickets and creates pull requests
- In Review: Addresses PR feedback, resolves comments, and fixes CI failures
The agent runs in a continuous loop, processing tickets in priority order:
flowchart TD
A[Start Main Loop] --> B{Check tickets marked 'In review'}
B -->|PRs with unaddressed comments or failing CI checks| C[Process review feedback, fix CI failures, resolve comments]
C --> D[Continue loop]
B -->|No pending review comments or failing CI checks| E{Check tickets marked 'In development'}
E -->|Active tickets needing continued implementation| F[Continue implementation, create pull request, update status to 'In review']
F --> D
E -->|No active development| G{Check tickets marked 'Up next'}
G -->|New tickets ready to be started| H[Move ticket to 'In development', create branch, implement features, create PR]
H --> D
G -->|No available work| I[Wait 60 seconds]
I --> D
D --> BSetup
Run npx @rivet-health/agent in your repository directory. The agent will walk you through the setup process and begin looking for work to do immediately.
