Documentation
How StackAgent AI Works
What StackAgent AI is
StackAgent AI is an autonomous backend refactoring engine. It connects to your GitHub repositories and cloud providers, analyzes your backend architecture, and generates structured migration plans executed as a series of pull requests. Think of it as a senior backend engineer that works through a systematic checklist — but never pushes directly to main.
What it supports today (demo)
The current demo showcases a full Supabase → DigitalOcean migration template that covers:
How phases work
Each migration is broken into sequential phases, each producing its own pull request:
What "PR-based automation" means
Unlike tools that modify your codebase directly, StackAgent AI operates exclusively through pull requests. Each phase generates a branch, commits the changes, and opens a PR on your repository. You review the diff, run your CI pipeline, request changes if needed, and merge only when you're satisfied. This means StackAgent never has write access to your main branch — it proposes, you decide.
Roadmap
- — OAuth integrations (GitHub, DigitalOcean)
- — Real PR generation
- — Ephemeral worker environments
- — Claude API integration for code generation
- — AWS migration templates
- — Firebase migration templates
- — Custom template builder
- — Team collaboration features