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…
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
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 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 rapidly building and merging safe codemods to accomplish the above. Customers like Ramp use Codegen for killer apps including: Adding type coverage Removing feature flags Documentation generation Eliminating circular imports Identifying critical code paths and more. We will be publishing demos and case studies in the coming weeks demonstrating the power of our approach and the impact it's had on customer and OSS codebases. Today, we support the JS/TS and Python ecosystems and work on multiple 50mm+ line codebases. We would love any and all feedback. And please reach out if you're interested in a demo (on your own codebase) at codegen.com. Thanks
More ai this month
the category →
I trained a 125M-parameter transformer to autocomplete piano performances in real time (~108 notes/sec on an iPhone 15). The idea is basically GitHub Copilot or Tabnine, except instead of prompting it with code, you prompt it by playing a few notes on a MIDI piano. The model then continues what you played, entirely on-device. The app is free if anyone wants to try it. Happy to answer questions about the model, training, Core ML, or the many things that didn't work.
AI · 17d ago · simedw.com
Astute▲585Automate your B2B brand going viral, with new media creators
AI · 18d ago · company-app.joinastute.com


Hey HN, Henry from Cactus here! We previously released Cactus Needle, a 14MB agentic LLM for tool call, device use, and structured extraction for phones, wearables, smart homes, small robots and microcontrollers. We got really great feedback here, and have now incorporated the suggestions to release Needle 2. The whole model is a single 14MB binary that runs a full session in 28MB of RAM; 45m parameters at 2bit compression. Needle hits 500 tokens/sec decode speed on a Raspberry Pi 5, sits between 400-1,500 tokens/sec on VR devices like Meta Quest 3S and Apple Vision Pro, and ranges…
AI · 26d ago · cactuscompute.com


Launched alongside, August 2024
the whole month →
- IY
Life & fun · 2024 · ytch.xyz



- IA
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