Authorization notice. Alphacode is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.
Who it is forA developer whose test suite is failing or whose app has a regression and who wants a first-pass fix to review.
The problemTracing a failure through unfamiliar code and running the right tests takes time away from the actual fix.
The outcomeA proposed change to the repo, with the relevant tests run and a report of what changed and what was checked.
What you need first
- A terminal on macOS, Linux, or Windows (use Windows Terminal or PowerShell on Windows)
- A project folder or repository you want the agent to work in
- Internet access to run the installer
- Optional: API keys for Claude, GPT, Gemini, or other providers, which may incur charges
- For browser tasks: Firefox with the AlphaCode Browser Agent extension installed
- For desktop tasks: a working platform accessibility backend (UI Automation, Accessibility API, or AT-SPI2)
Steps
- Run
curl -fsSL https://raw.githubusercontent.com/dragonked2/alphacode/main/scripts/install.sh | bashon macOS or Linux, orirm https://raw.githubusercontent.com/dragonked2/alphacode/main/scripts/install.ps1 | iexin PowerShell on Windows. - Run
alphacode doctorto check your environment. - Change into your project folder and run
alphacode run "fix the failing test", or replace the quoted text with your own request. - Review the diff and the test results the agent reports before you commit anything.
- Run
alphacodeto open the interactive UI if you want to follow up on the same task.
Prompt for your agent
Use the dragonked2/alphacode repo to fix the failing test in <project path>. Run the relevant tests after the change and report the changed files and test results. Verify that the failing test now passes and that no other tests were newly broken.
Caveat. The README says the built-in free AI lane works without an API key, but connected providers may require their own credentials and may incur charges.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for dragonked2/alphacode and "Fix a failing test or bug in a repo from the terminal"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer