Let a background agent watch tasks and open PRs

A team keeps a server-based agent running so Cursor can monitor work and turn finished tasks into pull requests.

Done with Cursor· Advanced· Jan 2025

What they did
They host a Claude Code server on a VPS and use the Caliber AI setup repository to prepare their environment. That repository builds the MCP settings and agent instructions for both the codebase and Cursor, and they reload everything with a single command. After that, a nonstop script tracks work items and sends Cursor in to open pull requests.
How it went
They used this setup to ship several internal utilities, including a document summarizer and a data pipeline. The comment did not include any numbers, schedule, or review details.
Tips
This is most useful if you are comfortable maintaining extra infrastructure, since it depends on a VPS, generated configuration, and a sync step. Make the agent stop for approval before any pull request is created or submitted.

Try it yourself with Cursor

I want a long-running agent workflow for [project]. Keep checking [task source] for items that match [rules]. When you find one, use Cursor to implement it, then pause and ask for my approval before creating or submitting any pull request. If you need more context, ask before changing files. After each task, give me a short progress note and what you’re waiting on.

Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.

Get 3 agent uses like this every morning

With the day's top AI news. Free, and one click to unsubscribe.