Software Engineering

Automate GitHub issues to pull requests with background agents

Use background AI agents to pick up labeled GitHub issues, implement changes, and open pull requests for human review, accelerating routine engineering tasks.

Why the human is still essential here

Humans choose which issues are delegated, review the PR output, and approve/merge the final code.

How people use this

Issue-to-PR automation via labels

Automatically assign labeled issues to an AI agent that implements the change and opens a PR with a summary and tests for reviewer approval.

Sweep AI / GitHub

Copilot Workspace from issue to PR

Turn a GitHub issue into a guided plan and code changes that produce a pull request while keeping a human in the review loop.

GitHub Copilot Workspace / GitHub

Self-hosted background agent with CI validation

Run a self-hosted coding agent that implements an issue, runs the project test suite in CI, and opens a PR only if checks pass.

OpenHands / GitHub Actions / GitHub

Related Prompts (4)

Community stories (1)

X

I use AI coding agents every day.

I use AI coding agents every day.

And the biggest problem isn't the AI itself. It's everything around it.


API keys sitting in .env files on my laptop. Agents that can access anything on my machine. And if something breaks, good luck figuring out what the agent actually did.


For side projects? Sure, whatever.


For a team of hundreds of engineers? That's a problem.


Here's what I think the right approach looks like:


AI agents should run in cloud environments. Not on developer laptops. They need clear rules about what they can and can't access. And every action should be tracked.


That's what ๐—–๐—ผ๐—ฑ๐—ฒ๐—ฟ does.


It's an open-source platform for self-hosted development environments. You define everything with Terraform, and both devs and AI agents work inside the same governed workspaces.


Three things stood out to me:


- ๐—”๐—œ ๐—•๐—ฟ๐—ถ๐—ฑ๐—ด๐—ฒ. It's a gateway between your agents and the LLM providers. Instead of every developer managing their own API keys, auth is handled centrally. Every prompt and tool call is logged per user.


- ๐—”๐—ด๐—ฒ๐—ป๐˜ ๐—•๐—ผ๐˜‚๐—ป๐—ฑ๐—ฎ๐—ฟ๐—ถ๐—ฒ๐˜€. Think of it as a firewall for AI agents. You define which domains an agent can reach, and it blocks everything else. If a prompt injection tricks the agent into sending data to a bad server, the request gets blocked before it ever leaves.


- ๐—–๐—ผ๐—ฑ๐—ฒ๐—ฟ ๐—ง๐—ฎ๐˜€๐—ธ๐˜€. You label a GitHub issue, a background agent picks it up, works through it, and opens a PR. You step in to review when it's done.


It runs on Kubernetes, any cloud, or even on-premise.


Works with VS Code, JetBrains, Cursor, and any AI coding agent you want.


If you're trying to figure out how to let your team use AI agents without creating a security nightmare, check out Coder Workspaces, the free community edition: https://fandf.co/4qUSmXf


Companies like Square, Dropbox, and Goldman Sachs already use it.


Thanks to @coderhq for collaborating with me on this post.

MJ
Milan Jovanoviฤ‡.NET content creator
Mar 9, 2026