source code
Source code is a sequence of human-readable instructions written in a programming language, from which a computer-executable program is created.
In plain terms
Source code is to a program what a recipe is to a dish. You can eat the finished cake, but only the recipe reveals exactly what is in it and how it was made. The application running on your phone is the cake; the source code is the recipe.
Plain text written in a programming language: lines, words, numbers, and punctuation marks following strict rules. Human-readable, but must be formulated precisely enough for the machine to understand unambiguously.
It is important because whoever has the source code and the right to it can fix, extend, and verify the program. If you only receive the finished program, you can use it, but barely inspect or rewrite it.
It is no longer just humans who write: a coding agent can write, run, and fix source code from requests phrased in everyday language. Responsibility, however, remains with the person who puts the program into use.
How it works
- The developer or a coding agent writes text files in a programming language (for example, Python, JavaScript, Java) describing what the program should do.
- A compiler program transforms this text in advance into instructions executable by the machine, while an interpreter program executes it step by step during runtime.
- The finished program is tested, and errors are fixed in the source code, not in the finished program.
- Files are stored in a version control system that records every modification: who, when, and what changed, allowing any previous state to be restored.
- A large program can consist of several thousand files and many millions of lines, on which many people and a growing number of agents work simultaneously.
An everyday example
If you right-click on a webpage and select the "View Page Source" menu item, the browser shows the code from which the page is built. What you see there is only the part of the page's code that reaches you, often compressed or generated by a machine: strange, but human-readable text.
Who is affected
A common misconception
Limits and risks
- Source code written by AI can also contain bugs or security vulnerabilities, so it must be reviewed and tested before production use just like human-written code.
- Human-written source code is typically protected by copyright: seeing it or having access does not guarantee you are free to copy or use it. The legal status of code generated entirely by AI remains unclear in many countries.
- Passwords and secret keys written into code can leak if the source code becomes public or falls into unauthorized hands.
- If you paste corporate source code into an external AI service, you may disclose a trade secret, so check your workplace rules beforehand.
Similar, but not the same
- machine code – Machine code is a sequence of numbers directly executed by the processor, generated from source code, and practically unreadable for humans.
- open source – Open source is not a type of code but a publication method: source code that anyone can view and, according to license terms, modify and redistribute.
- algorithm – An algorithm is the conceptual plan of the solution steps, while source code is a concrete implementation written in a specific programming language.
Related concepts
szoftver, software development, programming
open source, closed source, szkript
programming language, compiler, version control, codebase, coding agent, machine code
A brief history
The separation of source code and executable programs became widespread with high-level programming languages: IBM released the first FORTRAN compiler in 1957. Richard Stallman announced the GNU Project in 1983, from which the free software movement grew; the term "open source" was coined in 1998.
Where things stand
Source code remains the fundamental material of the entire digital world; this has not changed. What has transformed by the end of 2026 is its creation: at many companies, a significant portion of new code is already written by AI tools and coding agents, while the human role shifts toward control and verification.
In the news
- Ethan Mollick publishes Portals, a browser-based 3D experience of 471 generated worlds built by agent teamsNov 9, 2026 · Code
- AI coding agents still need human rework on three-quarters of tasksNov 8, 2026 · Code
- Claude Code's 'Don't Ask Again' file exposes passwords and keys in 1,122 public copiesNov 7, 2026 · Code
- Survey: 67% of developers use AI for code generation, 61% for debugging, only 20% in productionNov 7, 2026 · Code
- GitHub Copilot impact dashboard adds chat and VS Code agent usage, code review gets API controlsNov 6, 2026 · Code
- Google Cloud adds OpenAI models and Codex agents to Model GardenNov 6, 2026 · Code
- Claude Code leaked users' email addresses in web search headers; Anthropic deployed a privacy fixNov 6, 2026 · Jog
- Hungarian trade sources: GEO largely builds on SEO, with takeaways from a Vienna conferenceNov 5, 2026 · Marketing
Also known as
source code · source · code · source code · source text · source code · source · code
Sources
This entry was machine-edited and has undergone machine expert review; the “In the news” section updates automatically from Agent Age stories.