Thanks to visit codestin.com
Credit goes to www.libhunt.com

Python Code Generation

Open-source Python projects categorized as Code Generation

Top 23 Python Code Generation Projects

Code Generation
  1. gpt-engineer

    CLI platform to experiment with codegen. Precursor to: https://lovable.dev

    Project mention: Top 10 Agentic AI Tools for Developers to Speed Up Coding | dev.to | 2025-08-03

    Link: https://github.com/AntonOsika/gpt-engineer

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. CodeGeeX

    CodeGeeX: An Open Multilingual Code Generation Model (KDD 2023)

    Project mention: 20 AI Coding Assistants: Smarter, Faster, More Secure | dev.to | 2025-10-16

    CodeGeeX offers free code generation, translation, and chat features for developers.

  4. CodeGeeX2

    CodeGeeX2: A More Powerful Multilingual Code Generation Model

    Project mention: 10 open-source cursor alternatives devs are loving in 2025 | dev.to | 2025-05-09

    🔗 GitHub

  5. OpenAgents

    [COLM 2024] OpenAgents: An Open Platform for Language Agents in the Wild

  6. gptme

    Your agent in your terminal, equipped with local tools: writes code, uses the terminal, browses the web, vision.

    Project mention: Gptme v0.27 released – general purpose agent in your terminal | news.ycombinator.com | 2025-03-11
  7. AlphaCodium

    Official implementation for the paper: "Code Generation with AlphaCodium: From Prompt Engineering to Flow Engineering""

    Project mention: Supercharge Your Pipeline: How to Integrate AI-Powered Code Reviews with GitHub Actions | dev.to | 2025-11-05

    For this tutorial, we will use CodeRabbit as our example. It's a popular choice with a straightforward GitHub Action and excellent configuration options. Other great alternatives include CodiumAI, GitHub Copilot Enterprise, and Sider.

  8. Devon

    Devon: An open-source pair programmer

  9. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  10. CodeT5

    Home of CodeT5: Open Code LLMs for Code Understanding and Generation

    Project mention: 🚀 25+ Open Source AI APIs, Models & Tools (with GitHub Repo Links) | dev.to | 2025-06-13

    ‍🛠️GitHub

  11. OSWorld

    [NeurIPS 2024] OSWorld: Benchmarking Multimodal Agents for Open-Ended Tasks in Real Computer Environments

  12. fastapi-crudrouter

    A dynamic FastAPI router that automatically creates CRUD routes for your models

  13. coffee

    Build and iterate on your UI 10x faster with AI - right from your own IDE ☕️

  14. vim-ai

    AI-powered code assistant for Vim. Generate, edit and chat with GPT models like ChatGPT using OpenAI

  15. pylustrator

    Visualisations of data are at the core of every publication of scientific research results. They have to be as clear as possible to facilitate the communication of research. As data can have different formats and shapes, the visualisations often have to be adapted to reflect the data as well as possible. We developed Pylustrator, an interface to directly edit python generated matplotlib graphs to finalize them for publication. Therefore, subplots can be resized and dragged around by the mouse, t

    Project mention: Pylustrator: Create publication-ready Matplotlib plots | news.ycombinator.com | 2024-11-25
  16. AutoCoder

    We introduced a new model designed for the Code generation task. Its test accuracy on the HumanEval base dataset surpasses that of GPT-4 Turbo (April 2024) and GPT-4o. (by bin123apple)

  17. devito

    DSL and compiler framework for automated finite-differences and stencil computation

  18. loopy

    A code generator for array-based code on CPUs and GPUs (by inducer)

    Project mention: Loopy: Code generator for array-based code on CPUs and GPUs | news.ycombinator.com | 2024-12-29
  19. Clean-Coder-AI

    ✅2-in-1 AI Developer and Project Manager. AI agents plan an entire project in Todoist and code it task by task.

    Project mention: AI coder with Todoist project manager | news.ycombinator.com | 2024-12-12
  20. codex_py2cpp

    Converts python code into c++ by using OpenAI CODEX.

  21. apps

    APPS: Automated Programming Progress Standard (NeurIPS 2021) (by hendrycks)

  22. multilspy

    multilspy is a lsp client library in Python intended to be used to build applications around language servers.

    Project mention: Type-Constrained Code Generation with Language Models | news.ycombinator.com | 2025-05-13

    Also worth checking out MultiLSPy, effectively a python wrapper around multiple LSPs: https://github.com/microsoft/multilspy

    Used in multiple similar publications, including "Guiding Language Models of Code with Global Context using Monitors" (https://arxiv.org/abs/2306.10763), which uses static analysis beyond the type system to filter out e.g. invalid variable names, invalid control flow etc.

  23. hissp

    It's Python with a Lissp.

  24. llama-github

    Llama-github is an open-source Python library that empowers LLM Chatbots, AI Agents, and Auto-dev Solutions to conduct Agentic RAG from actively selected GitHub public projects. It Augments through LLMs and Generates context for any coding question, in order to streamline the development of sophisticated AI-driven applications.

  25. GPT-Synthesizer

    Software design & development with AI

  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python Code Generation discussion

Log in or Post with

Python Code Generation related posts

  • 20 AI Coding Assistants: Smarter, Faster, More Secure

    7 projects | dev.to | 16 Oct 2025
  • Promptware v2.0: Write Once, Compile to Python/Go/Rust/JS/.NET

    1 project | news.ycombinator.com | 7 Oct 2025
  • Top GitLab Code Review Tools to Supercharge Your Workflow in 2025

    2 projects | dev.to | 28 Aug 2025
  • 🚀 25+ Open Source AI APIs, Models & Tools (with GitHub Repo Links)

    23 projects | dev.to | 13 Jun 2025
  • Ask HN: Can AI agents build full-stack apps from scratch?

    1 project | news.ycombinator.com | 24 Apr 2025
  • Engy, an LLM-powered tool to generate webapp w/ backend for quick prototyping and iteration

    1 project | dev.to | 15 Oct 2024
  • Show HN: Gptme – LLM CLI with local tools: Python, shell, read/write files, web

    3 projects | news.ycombinator.com | 9 Aug 2024
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 15 Nov 2025
    InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more →

Index

What are some of the best open-source Code Generation projects in Python? This list will help you:

# Project Stars
1 gpt-engineer 55,021
2 CodeGeeX 8,675
3 CodeGeeX2 7,611
4 OpenAgents 4,604
5 gptme 4,064
6 AlphaCodium 3,899
7 Devon 3,458
8 CodeT5 3,071
9 OSWorld 2,304
10 fastapi-crudrouter 1,553
11 coffee 1,511
12 vim-ai 1,067
13 pylustrator 885
14 AutoCoder 857
15 devito 634
16 loopy 616
17 Clean-Coder-AI 558
18 codex_py2cpp 503
19 apps 485
20 multilspy 480
21 hissp 432
22 llama-github 313
23 GPT-Synthesizer 294

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

Did you know that Python is
the 2nd most popular programming language
based on number of references?