Your team talks in Slack. AutoPilot writes the code and opens the PR.
- Team discusses a bug or feature in a Slack thread
- AutoPilot reads the thread and classifies the intent
- If actionable, it reads the relevant files from your GitHub repo
- Gemini 3.1 Pro writes the fix
- AutoPilot opens a PR on GitHub
- Reports back in the same Slack thread with the PR link
npx create-next-app@latest autopilot --typescript --tailwind --app --yes
cd autopilot
npm install @google/generative-ai @supabase/supabase-js @slack/web-api octokit- Create a new Supabase project
- Run
supabase/schema.sqlin the SQL editor - Copy your project URL and service role key
- Create a new Slack app at api.slack.com
- Enable Event Subscriptions
- Set request URL to:
https://your-domain.vercel.app/api/slack - Subscribe to
message.channelsandmessage.groupsevents - Add bot scopes:
chat:write,channels:history,groups:history - Install to workspace and copy bot token + signing secret
- Create a personal access token with
reposcope - Set GITHUB_OWNER and GITHUB_REPO to your target repository
Copy .env.local.example to .env.local and fill in all values.
vercel deployAdd all environment variables in the Vercel dashboard.
Visit your deployed URL to see all agent runs, PRs opened, and activity history.
AutoPilot never merges PRs automatically. It always opens a PR for human review. It only acts when confidence is above 80%. When unsure, it posts a message asking for human help.