opensourcestartups

> /v1/alternatives/codegen

Open source alternatives to Codegen[007]

Codegen runs autonomous AI software engineering agents that pick up tickets and open pull requests against your repositories. Below are 7 self-hostable open source alternatives, ranked by GitHub popularity.

// EDITOR'S TAKE

OpenHands is the closest match, since it runs agents in a sandbox that can take an issue and produce a pull request rather than only assisting inside the editor. opencode and Aider keep a human in the loop at the terminal and are far more predictable day to day, while SWE-agent is really a research harness tuned for benchmark-style issue solving.

// FREQUENTLY ASKED

What is the best open source Codegen alternative?

opencode is the most popular open source Codegen alternative by GitHub stars (190,000 stars). The other 6 options are ranked above.

Are these Codegen alternatives self-hostable?

Yes — every project listed here is open source and runs on your own infrastructure. Click into a project to see its license, stars, language, and current health status.

Are they free?

All projects shown are free and open source. Check each project's license page for the terms — most are MIT, Apache 2.0, or AGPL.

// PART OF THESE COLLECTIONS