Codegen home pagelight logodark logo
  • GitHub
  • GitHub
Documentation
API Reference
CLI
Blog
Changelog
codegen
Introduction
  • Overview
  • Getting Started
  • Installation
  • IDE Usage
  • AI Integration
  • How it Works
  • Advanced Settings
  • Principles
  • Community
  • About Us
  • FAQ
Tutorials
  • At a Glance
  • Build code agent
  • Slack Bot
  • Github review bot
  • Code Research Agent
  • Analytics
  • Mining Data
  • Visualization
  • API Migrations
  • Organization
  • Promise to Async/Await
  • Modularity
  • Feature Flags
  • Dead Code
  • Type Coverage
  • Export Management
  • Default Export Conversion
  • Documentation
  • React Modernization
  • Unittest to Pytest
  • SQLAlchemy 1.4 to 2.0
  • Fixing Import Loops
  • Python 2 to 3
  • Flask to FastAPI
  • MCP Server
  • Neo4j Graph
  • Code Attributions
Building with Codegen
  • At a Glance
  • Parsing Codebases
  • Reusable Codemods
  • .codegen Directory
  • @codegen.function
  • Language Support
  • Commit and Reset
  • Git Operations
  • Files & Directories
  • Editables
  • Symbols
  • Classes
  • Imports
  • Exports
  • Inheritable Behaviors
  • Statements and Code Blocks
  • Dependencies and Usages
  • Function Calls
  • Variable Assignments
  • Local Variables
  • Comments & Docstrings
  • External Modules
  • Type Annotations
  • Moving Symbols
  • Collections
  • Call Graph
  • React and JSX
  • Visualization
  • Flagging Symbols
  • LLM Integration
  • Semantic Code Search
  • Reducing Conditions
Introduction

Frequently Asked Questions

Codegen currently parses two languages:

  • Python
  • TypeScript

We’re actively working on expanding language support based on community needs.

Learn more about how Codegen handles language specifics in the Language Support guide.

Interested in adding support for your language? Let us know or contribute!

Pretty much! Codegen is roughly on par with mypy and tsc. There are always edge cases in static analysis that are provably impossible to get (for example doing eval() on a string), but all of Codegen’s APIs are intended to be exact unless otherwise specified. Please reach out if you find an edge case and we will do our best to patch it.

Yes! Codegen was developed on multmillion-line Python and Typescript codebases and includes optimizations for handling large-scale transformations.

For enterprise support, please reach out to team@codegen.com

Yes - by design.

Codegen works like any other python package. It works alongside your IDE, version control system, and other development tools.

Start by trying out Codegen, joining our Slack community, and looking for issues labeled “good first issue” on GitHub. We welcome contributions to documentation, examples, and code improvements.

Yes, Codegen is open source and free to use under the Apache 2.0 license. You can use it for both personal and commercial projects.

The best places to get help are:

  1. Our community Slack channel
  2. GitHub issues for bug reports
  3. Reach out to us on Twitter

Was this page helpful?

About UsAt a Glance
xlinkedin
Assistant
Responses are generated using AI and may contain mistakes.