Codegen – The IDE for Refactors
Hey HN! We're excited to introduce Codegen - the IDE for Refactors. Codegen leverages static analysis to parse your codebase "graph", then wraps this in a high-level python SDK to enable safe & instantaneous codemods. We bundle this with an online editor/execution environment and closely coupled chat assistant in an online IDE. We focus on programming tasks on huge enterprise codebases where: - the output state is known (and easy to verify) - the "blast radius" is large - the difficult part is getting your codebase into the right shape. Codegen provides an AI-accelerated workflow for…
Codegen – The IDE for Refactors launched on August 20, 2024 with 11 votes, #1,388 of 5,471 launches that month and more than 75% of that year's launches. The site was still online in September 2026, 2 years on.
In plain words
Codegen is an online IDE designed for making large-scale code changes in enterprise codebases. It uses static analysis to understand code structure and provides a Python SDK for creating codemods—automated code transformations. The tool combines an editor, execution environment, and AI chat assistant to help developers safely refactor code across entire systems. It targets tasks like adding type coverage, removing feature flags, and eliminating circular imports where the desired outcome is clear but the scope of changes is large.
written from the facts on this page · September 2026
From the sources
Excited to share our progress 🔥 Introducing @codegen: the IDE for Refactors. @codegen allows you to programmatically analyze and manipulate your codebase. ✅ Safely transform code at scale 🔍 Visualize complex code structures ⚡ Purpose-built for AI-assisted development 1/
In the maker’s words, at launch
Hey HN! We're excited to introduce Codegen - the IDE for Refactors. Codegen leverages static analysis to parse your codebase "graph", then wraps this in a high-level python SDK to enable safe & instantaneous codemods. We bundle this with an online editor/execution environment and closely coupled chat assistant…
Does a similar job
all alternatives →
Codegen – OSS Python Library for Advanced Code Manipulation2025 · docs.codegen.com · ▲14Hey HN! We've just open-sourced Codegen (https://github.com/codegen-sh/codegen-sdk), a Python library for manipulating Python + JS/React codebases. Codegen was engineered backwards from real-world, large-scale codebase analysis + refactors we performed on multi-million-line enterprise codebases. It provides a scriptable interface to a powerful, multi-lingual language server built on Tree-sitter. We realized that many code transformation tasks that impact large teams - refactors, enforcing patterns, analyzing control flow - are fundamentally programmatic operations.…





More ai this month
the category →



Paintings by AI models: programs run through a simulation of oil paint.
AI · 20d ago · stillwet.art

PixVerse R2▲381A real-time world model you can explore and change
AI · 28d ago · world.pixverse.video
Source: Show HN post ↗ · launch text quoted in part
Launched alongside, August 2024
the whole month →



Jupitrr AI▲1,195Jupitrr AI turns raw talking videos into scroll-stopping content for coaches and consultants. Research, script, record, edit, and publish in one app.
AI · 2024 · jupitrr.com

Hey there HN! We’re Joe and Stopa, and today we’re open sourcing InstantDB, a client-side database that makes it easy to build real-time and collaborative apps like Notion and Figma. Building modern apps these days involves a lot of schleps. For a basic CRUD app you need to spin up servers, wire up endpoints, integrate auth, add permissions, and then marshal data from the backend to the frontend and back again. If you want to deliver a buttery smooth user experience, you’ll need to add optimistic updates and rollbacks. We do these steps over and over for every feature we build, which can…
Dev tools · 2024 · github.com