Issue 13 · Nov 2–8, 2026Editions · Glossary · Archive · Method · RSS · HU / ENG

News of the AI era, curated weekly

Glossary › Code

code generation

basicwidespread

Code generation is when artificial intelligence writes program code from a request phrased in everyday language, which the human must then verify.

In plain terms

Imagine giving a carpenter not a technical drawing, but just saying: "I need a shelf in the corner, with three levels, space for a flower on top." The carpenter then designs, cuts, and assembles it. Code generation is the same in the world of software: you say what you want, and the machine writes the program for it. You must still check the result, just like the shelf, before you load it up.

Previously, programming required learning a programming language, like a foreign language. Today, a language model creates code written in a programming language from a request described in Hungarian or English. Thus, even someone who never learned programming can create a simple website, small utility, or application.

A useful accelerator even for professionals: developers can delegate routine tasks to the machine while focusing on planning and review. However, responsibility remains with the human: code written by the machine can be just as faulty as human-written code, only produced much faster.

How it works

  1. The language model is trained on vast amounts of public code and text, then given separate practice at writing code, for example by receiving a reward when the code it writes passes tests.
  2. You describe what you want: in a single sentence, a detailed description, or even a partial code snippet.
  3. The model predicts the most likely continuation piece by piece based on the request and existing code, assembling the program from these predictions.
  4. In more advanced tools, a coding agent runs the code, checks error messages, and keeps fixing it until the tests pass.
  5. At the end, a human must review the result: whether it does what you asked, is safe, and fits with the rest of the system.

An everyday example

You have an Excel spreadsheet with your monthly expenses, and you ask the chatbot: 'write a small program that sums them up by category and shows them on a chart'. Half a minute later, you receive code that you copy and run. If it does not work, you send back the error message, and the machine fixes it.

Who is affected

developerTheir daily work is transforming: less typing, more planning, checking, and reviewing code written by the machine. → Code
entrepreneur, executiveAn idea becomes a testable prototype faster and cheaper, but the company remains responsible for quality and safety.
jobseeker, new graduateSome entry-level programming tasks are now performed by machines, making understanding and verifying code more important than simply writing it. → Work & HR
parent, student, teacherIt is a great help when learning to program, but it makes it easy to skip the thinking if a student simply pastes in the solution. → Education & Family

A common misconception

MythIf the machine writes the code, programmers are no longer needed.
In realityWriting code is only one part of software development. Someone must still decide what to build, understand the system as a whole, and be accountable for it working correctly and securely.

Limits and risks

Similar, but not the same

Related concepts

Broader

generative AI, software development, automation

Narrower

code completion, test generation, code translation

On the edge

coding agent, vibe coding, large language model, prompt, code verification, hallucination

A brief history

Automatic program generation is a long-standing goal in computer science, but its current form based on language models became widely known in 2021: GitHub Copilot was introduced in June, and in the summer, OpenAI revealed the Codex model running beneath it. After ChatGPT's launch at the end of 2022, laypeople began mass-requesting code from chatbots.

Where things stand

By the end of 2026, code generation has become a daily tool for developers, and the focus has shifted from individual code snippets to coding agents that independently perform entire tasks. The main question is now how to reliably verify code written by machines.

Status: 2026 November

In the news

Appears in 7 Agent Age stories; the curve shows weekly occurrence in the news magazine.

Also known as

code generation · code generation · code generation · codegen · AI code generation · automatic code generation · AI code generation · AI-based code generation

Sources

This entry was machine-edited and has undergone machine expert review; the “In the news” section updates automatically from Agent Age stories.