# Codegen

> Codegen is an open-source Python library for programmatically manipulating Python and JavaScript/React codebases.

Page: https://nowfound.app/launch/codegen-oss-python-library-for-advanced-code-manipulation

- Launched: 2025-01-29
- Launch-day votes: 14, 3 comments; #933 of 5,685 launches that month (top 16%)
- Website: [docs.codegen.com](https://docs.codegen.com/introduction/overview), online when checked 2026-09-13
- Category: [Dev tools](https://nowfound.app/c/developer-tools.md)
- Forecast: 91% chance its website is still online in November 2031 (97% in November 2027, 93% in November 2029). Made 2026-11-29 and not revised. Typical launch of 2025: 86%. [Method](https://nowfound.app/forecast.md)
- Originality: 37/100 (crowded field). More original than 37% of products launched in 2025. On its launch day the archive already held 20 similar products; 6 products like it have launched since.

## In plain words

Codegen is an open-source Python library for programmatically manipulating Python and JavaScript/React codebases. It provides a scriptable interface to a language server built on Tree-sitter, enabling developers to perform large-scale refactoring, pattern enforcement, and control flow analysis. Designed for teams working with multi-million-line enterprise codebases, it abstracts away AST complexity to let developers express code transformations in high-level terms rather than parser internals.

_Written by AI from its launch page and website, 2026-09-05._

## What it does, from its own words

Code agents accessible via API, Slack, Linear, Github, and more.

## Does a similar job

- [Codejet](https://nowfound.app/launch/codejet): Figma to quality React code (2023-07-13, 402 votes, forecast: 84% online in 2031, codejet.ai)
- [Codebuff](https://nowfound.app/launch/codebuff): Better code generation than Cursor, from your CLI (2024-10-22, 268 votes, forecast: 87% online in 2031, codebuff.com)
- [Codemap](https://nowfound.app/launch/codemap): Codemap is a codebase visualization tool for developers working with JavaScript, TypeScript, and Python projects. (2020-08-24, 123 votes, forecast: 79% online in 2031, codemap.app)
- [Code Hike](https://nowfound.app/launch/code-hike-more-than-syntax-highlighting): Use Markdown and React to build rich content websites. Documentation, tutorials, blogs, videos, interactive walkthroughs, and more. (2021-12-04, 118 votes, from $950/mo, forecast: 92% online in 2031, codehike.org)
- [Compage](https://nowfound.app/launch/compage): Deliver clean, secure code fast, start in \<20 minutes (2023-11-16, 124 votes, free, forecast: 83% online in 2031, github.com)
- [Python Source Code Refactoring Toolkit via AST](https://nowfound.app/launch/python-source-code-refactoring-toolkit-via-ast): AST-based fragmental source code refactoring toolkit for Python (2021-08-01, 110 votes, free, forecast: 94% online in 2031, github.com)

All alternatives: https://nowfound.app/alternatives/codegen-oss-python-library-for-advanced-code-manipulation.md

## For the maker of Codegen

- Feature it at the top of the NowFound home page for $19 for 30 days, marked sponsored: https://nowfound.app/feature/codegen-oss-python-library-for-advanced-code-manipulation
- Free: put the badge on the product's own site and it joins Featured products after the paid spots, and this page links to the site with a normal link search engines follow. HTML for the footer: `<a href="https://nowfound.app/launch/codegen-oss-python-library-for-advanced-code-manipulation"><img src="https://nowfound.app/badge/codegen-oss-python-library-for-advanced-code-manipulation.svg" alt="Codegen on NowFound" height="32"></a>`

Source: [Show HN post](https://news.ycombinator.com/item?id=42868511)
