← ALL UPDATES
CURSOR April 5, 2026

Cursor 0.44: Background Agent Runs Tests & Pushes to Branches

WHAT CHANGED

Cursor 0.44 ships Background Agent — a fully autonomous coding agent that runs in a remote sandboxed environment. It can execute your test suite, iterate on failures, commit code, and push to feature branches, all while you do other work.

WHY IT MATTERS

This is the first Cursor feature that genuinely removes you from the edit-run-fix loop. Point it at a failing test or a GitHub issue, go make coffee, and come back to a PR. For solo developers, it multiplies your effective output without requiring you to sit and watch an AI code.

HOW TO USE IT

Open the Command Palette → 'Start Background Agent'. Describe the task in natural language. The agent spins up a fresh environment, clones your repo, and begins. You get async notifications when it finishes or needs clarification. Connect GitHub for auto-PR creation.

background-agentautonomoustestinggitcursor-0.44
ORIGINAL SOURCE
https://cursor.com/changelog
VIEW ORIGINAL SOURCE →

Cursor’s Background Agent works while you sleep — tests, commits, and PRs without a human in the loop.

Top 5 Ways to Use Cursor 0.44 Background Agents

The 5 highest-leverage background agent patterns in 2026:

  1. Long-running refactors — Kick off “Refactor this 40-file service to use dependency injection” and let it run for 2-3 hours. Check back for a PR.

  2. Test suite generation — “Generate integration tests for all endpoints in this API.” Runs autonomously, opens a PR with the test files.

  3. Codebase-wide migration — “Migrate all fetch calls to our new API client. Handle error cases per style guide.” Multi-hour autonomous run.

  4. Dependency upgrades — “Upgrade React 18 → 19 across the app. Fix breaking changes.” Background agent handles the full sweep.

  5. Documentation from code — “Generate architecture documentation for the entire repo. Include diagrams for major flows.” Runs in background, output as .md.

FAQ

How do I start a background agent in Cursor?

In Cursor 0.44+, open the command palette (Cmd/Ctrl + K) and type “Start background agent”. Give it a task description and estimated duration. The agent runs asynchronously — you can keep coding in the foreground while it works.

How long can Cursor background agents run?

Background agents can run up to 8 hours in the current release (0.44+), though most productive runs are 1-3 hours. Longer runs are checkpointed so you can resume if interrupted.

Can background agents make Git commits?

Yes. Background agents can commit, push branches, and open PRs. Cursor asks for confirmation on the first commit per session; subsequent commits happen without prompting unless you enable strict mode.

What’s the difference between Cursor background agents and Claude Code?

Cursor background agents run inside Cursor’s editor context with your codebase state. Claude Code is a standalone CLI that runs anywhere — no editor required. Cursor is better for visual review during long runs; Claude Code is better for headless CI-style automation.

← BACK TO UPDATES