The following is a blog adaptation of a paper written by Saman Amarasinghe. You can find complete references and acknowledgments in that document.
Today, humans write English and agents write the code, in languages such as Python and C that were designed decades ago for humans to write and read. There is no fundamental reason why the interface between the agent and the compiler has to be a language designed for humans. The code that agents write is today’s source of truth (SOT), the one artifact that is stored and from which everything that runs is generated. This document uses the SOT as the anchor to discuss the changes the Intelligence Age can bring. It states the properties any SOT must provide, compares the paths from intent to execution, and lists the characteristics of a new SOT designed for an agent to write and a compiler to read. The design of the ultimate SOT is beyond the scope of this document.
In the pre-agentic world, programmers wrote code in a high-level language and a compiler turned it into a binary. This simple process is now in the midst of a revolution. With the introduction of agents, we have stumbled onto new ways of expressing human intent for computers to execute. They take advantage of agents. But they are still largely a holdover from the legacy process. I believe that a clean-slate design, built around agentic superpowers, can drastically improve the process formerly called programming [Three Pillars].
As the existing process unravels, it becomes hard to ground any discussion of what should replace it. Agents can write the code from human specifications or from their own. They can generate assembly directly, working below programming languages and compilers [AlphaDev, Standard Kernel]. They can even carry out the specifications directly, using tools [ReAct]. There are many more combinations, and some of them have no programming language at all. To make sense of this, I need an anchor. Since nothing is certain, I go to first principles and ask if there is an actual fundamental requirement in getting from human intent to execution.
The fundamental requirement, no matter the process, is a source of truth between human intent and execution. It is the one artifact that is stored, shared, and maintained over the life of the system, and everything that runs is generated from it. If the binary is lost, we rebuild it, and if the discussions that led to the design are lost, the project can still go on. But if the source of truth is lost, the project is gone (agents can now recover code from a binary [LLM4Decompile, Agent4Decompile], but not what was asked for or why, which is one reason code is not enough as a source of truth).
In the pre-agentic world, the source of truth was the program. The same code was what the programmer wrote, what was stored and shared on GitHub, and what the compiler used to generate the binary. Today, humans write English and agents write the code [Software 3.0], commonly in Python or C. The code is still what is stored and what the compiler reads. But why Python or C? C was designed in the 1970s and Python in the 1990s, both for humans to write and read. Agents now do most of the writing and reading. I see no fundamental reason why the interface between the agent and the compiler has to be a language designed by humans for humans.
I use the source of truth as the anchor for the rest of this document. I define it, state what any source of truth must provide, and compare the possible paths against those properties. I look at what made programming languages good for humans, and at what agents can and cannot do. I then ask what the source of truth should be when an agent writes it and a compiler reads it. I do not design the ultimate source of truth in this document, but I list the characteristics I would like it to have.
Definition: The source of truth (SOT) is the artifact that is stored and shared for a project: what is in the repository. It is the only thing that has to be kept. It is also where any question about what the system should do is settled. What led to it (the requests and the discussions) is informal and mostly lost. What is built from it (the binary) can be rebuilt whenever it is needed.
The term originated in databases, where each fact is kept in one place so that copies cannot disagree [Codd]. Later, in software practice, the code repository came to be called the source of truth for a project [Monorepo].
For example, when the SOT is C code in a GitHub repository, the binary is rebuilt by the compiler whenever it is needed, and the design discussions, whiteboard sketches, and message threads that led to the code are mostly lost. So whatever has to survive, including what was asked for and why, must be in the SOT itself, as comments or README files. With agents coding, the SOT needs to include what an agent adds that is costly to redo or unlikely to be found again, such as a design decision or a proof.
Large software systems live for decades. Many people (and now agents) work on them, requirements keep changing, the machines they run on are replaced every few years, and the software ecosystem keeps evolving as well. The SOT is the one thing that has to last through all of this. So before asking what form the SOT should take, I need to identify what it has to provide. These properties must hold whether the SOT is written by a programmer or by an agent.
Before agents, the path from humans (formerly called programmers) to a running program was simple. Now there are many paths. They are listed from least to most agentic, with the SOT in bold. In these pipelines, code means a program in a legacy language such as C or Python. Note that the start of the pipeline can also be an agent instead of a human.
Human-Coding is now truly ancient and can be ignored. With agents, the other extremes are Assembly-Only and English-Only, which eliminate the compiler, or even the program [Welsh]. Both are very expensive, because an agent doing the work of a compiler, or of the program itself, pays in tokens, and tokens cost far more than instructions [AskIt]. Both also fall short of the seven properties. When the SOT is English, it is hard to keep it Deterministic . When the SOT is assembly, it is hard to make it Explainable or Malleable, and the result is correct only by observation, not by construction. I strongly believe neither will scale to large programs with long lifetimes.
Agent-Coding and Keep-Both are the current agentic practices, which evolved from Human-Coding . There are two reasons this is a good transition point. First, a large amount of code in Python, C, and other legacy languages is available, so models are easily trained on it. Second, the projects agents work on are already in these languages, and even new projects can use the existing libraries and frameworks. Both reasons come from legacy code. As an SOT, code also falls short: it does not hold the human’s specification, so it is not Authoritative, and what was asked for and why cannot be learned from it, so it is not Explainable . Keep-Both adds the specification, but with two SOTs neither is Authoritative . Thus, I believe we are in a local minimum, and the optimal SOT for the Intelligence Age is yet to be found.
I believe that the Optimal path is one which keeps the compiler but rethinks the SOT:

Agents are good at understanding what the human wants, even when it is stated vaguely, and turning it into something precise. Compilers are good at turning something precise into a fast binary for each machine, cheaply and the same way every time. This path uses each for what it does best. The human decides the specification and approves the agent’s explanation of the SOT. The agent decides only what the compiler cannot work out, and the compiler decides everything else. The checker checks the result against the SOT without trusting the agent or the compiler. What is left open is the SOT in the middle. Today it is Python or C. In the future, what should it be?
Before agents, the SOT was the code written by humans. From FORTRAN to Python, nearly every successful programming language was designed for humans to write and read. Thus, many of the properties of these languages were shaped by human limitations: a small working memory, slow reading and typing, and years of narrow, specialized training.
Agents do not share most of these human limitations. This opens up possibilities for the SOT that were not practical when a human had to write and read every line.
Agents are far from perfect, as anyone who has used a coding agent knows. An SOT for the Intelligence Age has to be designed around their limitations, the same way programming languages were designed around ours.
So what would the SOT look like if we designed it from scratch today, for an intelligent agent to write and a next-generation compiler to read? When an agent writes C or Python, most of what it knows is lost [Grove]. The intent, the alternatives it considered, the reasons for its decisions, and the evidence that the code is correct are hidden from the compiler and from the next agent that works on the code. A new SOT can keep all of this. However, a new SOT is itself an unfamiliar notation ( Unfamiliar ). Thus, it has to be part of the training of the leading models, or be learnable from documentation and feedback from the checker.
In this document, I am not designing the ultimate SOT. That will be a long and costly research collaboration between human experts and agents. However, I can list the characteristics I would like its design to have. If we redesign the SOT for the Intelligence Age, it can hold twelve things that today’s code handles poorly or not at all. They fall into four groups: what comes from the human, what comes from the agents, the format of the SOT, and its interfaces. Each one uses one or more of the superpowers above, and most also answer one or more of the limitations. Each one is also an area for research, and some rows name a problem that is still open.
There is a lot of work related to this agenda. I believe each piece addresses a part of the problem. However, I have not found one that asks what the SOT should be for both the agent that writes it and the compiler that reads it.
Article written by Saman Amarasinghe.









