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: Você não está mais codificando sozinho(a): O desenvolvimento na era dos code agents | dev.to | 2025-03-30
  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: 🚀 25+ Open Source AI APIs, Models & Tools (with GitHub Repo Links) | dev.to | 2025-06-13

    ‍🛠️GitHub

  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: DevOps in 2025: the future is automated, git-ified, and kinda scary but fun. | dev.to | 2025-05-09

    Test generation: LLMs auto-create unit tests for PRs using tools like CodiumAI

  8. Devon

    Devon: An open-source pair programmer

  9. SaaSHub

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

    SaaSHub 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

    Project mention: Has Anthropic Claude just wiped out an entire industry? | dev.to | 2024-10-27
  12. coffee

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

  13. fastapi-crudrouter

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

  14. vim-ai

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

    Project mention: gptel: A simple LLM client for Emacs | news.ycombinator.com | 2024-11-03

    I’ve been happy with vim-ai plugin: https://github.com/madox2/vim-ai

  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. codex_py2cpp

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

  20. 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
  21. apps

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

  22. hissp

    It's Python with a Lissp.

  23. 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.

  24. GPT-Synthesizer

    Software design & development with AI

  25. 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.

  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

  • 🚀 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
  • Use Coffee to iterate on your front end using AI

    1 project | news.ycombinator.com | 14 Dec 2023
  • Qwikcrud - An AI-powered command-line tool that generates RESTful APIs and admin interfaces based on one-line requirement

    1 project | /r/Python | 4 Dec 2023
  • OpenAgents: An Open Platform for Language Agents in the Wild

    1 project | news.ycombinator.com | 29 Oct 2023
  • A note from our sponsor - SaaSHub
    www.saashub.com | 21 Jun 2025
    SaaSHub helps you find the best software and product alternatives 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 54,324
2 CodeGeeX 8,502
3 CodeGeeX2 7,620
4 OpenAgents 4,334
5 gptme 3,868
6 AlphaCodium 3,847
7 Devon 3,429
8 CodeT5 2,961
9 OSWorld 1,921
10 coffee 1,498
11 fastapi-crudrouter 1,491
12 vim-ai 957
13 pylustrator 876
14 AutoCoder 844
15 devito 609
16 loopy 604
17 codex_py2cpp 503
18 Clean-Coder-AI 493
19 apps 467
20 hissp 422
21 multilspy 345
22 GPT-Synthesizer 292
23 llama-github 292

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?