The Emergence of Agency
The Emergence of Agency
A manufacturing company receives a complex engineering query at 11:47 PM on a Friday. The question involves supply chain disruptions in Southeast Asia, new regulatory requirements from the European Union, a shift in their primary competitor's pricing strategy, and pressure from their largest customer to reduce costs by 15%. A large language model, given this prompt, produces an eloquent analysis. It discusses geopolitical implications, regulatory frameworks, and strategic frameworks with apparent confidence. It cites relevant economic theories. It concludes with a balanced set of recommendations. The response is articulate, grammatically correct, and fundamentally useless.
Why? Because the model has no access to the company's actual inventory data, supplier contracts, customer relationship history, or real-time market pricing. It cannot verify whether its cited statistics are current. It cannot communicate with the procurement team or access the enterprise resource planning system. It cannot draft a preliminary cost reduction proposal, run sensitivity analyses on different scenarios, or set a calendar reminder to follow up on Monday morning. The model speaks brilliantly about a problem it cannot touch.
This is the central tension at the heart of modern artificial intelligence: we have built systems of remarkable linguistic sophistication operating within a profound functional vacuum. They generate text with fluency that often exceeds human capability, yet they remain fundamentally passive instruments—sophisticated autocomplete engines that respond to each prompt without memory of previous interactions, without capacity to take action in the world, and without ability to pursue goals across extended time horizons. The question that frames this book is not whether such systems are impressive. They are. The question is whether we can build something more: artificial agents that do not merely speak about the world but act within it.
The Evolution from Reactive Models to Proactive Agents
The history of artificial intelligence is often narrated as a succession of paradigms, each claiming to have discovered the true path toward machine intelligence, only to be supplanted by the next approach when its limitations became unbearable. Understanding how we arrived at the current moment—and why agency represents a genuine leap rather than another incremental refinement—requires tracing this evolutionary arc with some care.
The Symbolic Era and Its Discontents
The first mature wave of AI research, spanning roughly from the 1950s through the 1980s, operated under what we now call the symbolic orGOFAI (Good Old-Fashioned Artificial Intelligence) paradigm. Researchers in this tradition believed that intelligence could be captured through explicit symbol manipulation: if you could represent knowledge as logical statements and define inference rules for manipulating those statements, you could build systems that reasoned intelligently. The great advantage of this approach was transparency—a system built from explicit rules could, in principle, explain every step of its reasoning. The disadvantages were more fundamental.
Knowledge, it turned out, resisted formalization. The world is messy, ambiguous, and context-dependent in ways that resist clean logical encapsulation. What does "typically" mean in the context of "birds typically fly"? Does it apply to penguins? To injured birds? To birds caught in oil spills? Capturing the actual content of such statements required either enormous numbers of explicit exceptions (each generating its own exceptions) or vague enough statements to be nearly useless. The symbolic approach excelled in constrained domains with clear rules—mathematical theorem proving, chess, certain kinds of diagnostic systems—but collapsed when confronted with the ambiguity and breadth of real-world knowledge.
The Statistical Revolution
The response to symbolic AI's limitations came in waves, but the fundamental shift was toward statistical learning: systems that did not require hand-coded rules but instead learned patterns from data. This approach had been present in AI research for decades (neural networks emerged in the 1950s, and statistical approaches to natural language processing had roots in the 1970s), but the 1990s and 2000s saw statistical methods become dominant. Machine learning algorithms could identify patterns that humans could not easily articulate as rules. A computer vision system trained on millions of images could recognize cats without being able to articulate what "cat-ness" consisted of. Speech recognition systems could transcribe spoken language with accuracy that symbolic approaches could never match.
The cost of this shift was interpretability. Symbolic systems were, in principle, fully transparent; statistical systems were black boxes. You could observe what a neural network did but not easily understand why. This trade-off proved acceptable for many applications, but it created a persistent tension in AI research between systems that were interpretable but brittle and systems that were robust but opaque.
The Transformer Revolution
The introduction of the transformer architecture in 2017, described in the seminal paper "Attention Is All You Need" by Vaswani and colleagues, initiated the most dramatic transformation in AI's capabilities in the field's history. The transformer enabled training on unprecedented scales of text data, with models growing from hundreds of millions to hundreds of billions of parameters. The resulting systems demonstrated capabilities that researchers had not believed possible: coherent multi-paragraph responses, nuanced reasoning about complex topics, code generation in multiple programming languages, translation quality approaching human professional translators, and the ability to follow complex instructions.
What made transformers so powerful was the combination of scale and a new approach to processing sequential data. Unlike earlier recurrent neural networks, which processed tokens sequentially and struggled with long-range dependencies, transformers could attend to all positions in a sequence simultaneously through their attention mechanism. This allowed them to capture contextual relationships regardless of distance in the text. Combined with self-supervised pre-training on vast corpora (where the model learns to predict missing words from surrounding context), transformers acquired what researchers began calling "emergent" capabilities—abilities that appeared suddenly as models grew larger, without being explicitly trained for them.
The Stateless Limitation
Despite their remarkable capabilities, large language models based on transformer architecture share a fundamental limitation inherited from their mathematical foundations: they are stateless. Each inference is independent. When you ask a question, the model processes your query along with whatever context fits within its context window, generates a response, and then—regardless of what you say next—resets to an identical initial state. The model has no persistent memory of your conversation, no record of previous interactions, and no ability to take action in the world.
This statelessness is not a bug that can be easily patched. It is baked into the architecture. The model is, in mathematical terms, a function that maps input sequences to output sequences. There is no mechanism for maintaining state across invocations. If you want the model to "remember" something from a previous conversation, you must explicitly provide that information again in each new conversation (or within the context window of a continuing conversation). If you want the model to perform an action—sending an email, querying a database, modifying a file—the model cannot do so directly. It can only generate text that describes what action should be taken.
This limitation defines the boundary between what we