The Character That Runs Modern AI

Unix pipes solved software composition in 1973. AI is solving it again right now.

Unix · Systems Architecture · AI Composition · Neurosymbolic AI
The Pipe Dream: How a Single Keystroke from 1973 Quietly Became the Blueprint for Modern Artificial Intelligence
In February 1973, a programmer at Bell Labs stayed up through the night and introduced a single new character into the Unix command line. Fifty-three years later, the entire artificial intelligence industry is racing to rediscover what that character meant.
2026

By the late autumn of 1972, Doug McIlroy had been trying, off and on, for nearly a decade to convince his colleagues at Bell Labs to build something he could not quite describe. He had typed the closest thing to a description on the tenth page of an internal memo in 1964. "We should have some ways of connecting programs like garden hose," he wrote, "screw in another segment when it becomes necessary to massage data in another way."

His co-workers found the metaphor charming. Nobody built it.

Then one night in early 1973, Ken Thompson, the soft-spoken programmer who had written the first version of the Unix operating system in three weeks while his wife was visiting family in California, decided he had heard enough debate. According to McIlroy's own later recollection, Thompson stayed up through the night, rewrote a swath of system utilities, and introduced a single new character into the command line: a vertical bar, |.

The next morning, McIlroy recalled, there was "an unforgettable orgy of one-liners as everybody joined in the excitement of plumbing."

That keystroke is now fifty-three years old. It is also, quietly, the architectural blueprint that the entire artificial intelligence industry is racing to rediscover.

I. The Garden Hose and the Lesson It Taught

To understand why a punctuation mark matters, it helps to know what came before it. In the early 1970s, computer programs were islands. Each read its own input, did its own work, and produced its own output, usually in a format no other program could read without a custom translator. The competing system at Bell Labs was Multics, an ambitious joint project of MIT, General Electric, and AT&T. Multics tried to do everything from inside one giant integrated system. By 1969, it had become a kind of cautionary tale: a cathedral so complex that nobody could finish building it, and Bell Labs walked away.

Unix was the opposite. Where Multics was grand, Unix was modest. Where Multics tried to anticipate every need, Unix tried to provide small tools and get out of the way. The pipe made that philosophy concrete. Suddenly you could take the output of one small program and feed it directly into another. Each program remained ignorant of every other. The pipe simply moved data between them.

Five years later, McIlroy distilled the resulting culture into three short rules. They have been quoted in nearly every history of computing since: Write programs that do one thing and do it well. Write programs to work together. Write programs to handle text streams, because that is a universal interface.

The most famous demonstration of what those rules made possible came in 1986, when the computer scientist Jon Bentley asked Donald Knuth, perhaps the most celebrated programmer alive, to write a program that read a text file, counted the most frequent words, and printed them in order. Knuth produced a ten-page tour de force featuring a custom data structure he had invented for the occasion. Elegant. Thorough. A piece of art.

Bentley then asked McIlroy to review it. McIlroy was polite. He praised the writing, identified a small bug, and then, almost as a postscript, offered an alternative. Six commands, separated by five vertical bars, that did the entire job:

tr -cs A-Za-z '\n' | tr A-Z a-z | sort | uniq -c | sort -rn | sed ${1}q

The first command turned every non-letter into a newline. The second made everything lowercase. The third sorted. The fourth counted unique words. The fifth sorted the counts. The sixth printed the top entries. Six small tools, each ignorant of every other, each combinable in countless other ways for countless other problems.

The contrast became canonical. Knuth had built a program. McIlroy had assembled one. The difference was not cleverness. It was philosophy. The intelligence Knuth poured into his custom data structure was locked inside a single artifact, usable for exactly one purpose. The intelligence inside McIlroy's pipeline was structural: it lived in the way the pieces fit together, which meant it could be endlessly recombined. Six lines became a lesson that computation researchers would spend decades forgetting and relearning. The most powerful ideas in software are often not about what a single component can do. They are about how components can be made to compose.

01 Unix pipe vs. modern AI pipeline
The same composable architecture, fifty-one years apart. McIlroy's 1973 word-frequency pipeline and a 2024 LangChain RAG chain share identical structure: one job per component, each component's output becoming the next component's input, every part swappable without touching the rest.
Unix pipeline, 1973 McIlroy's six-command word-frequency pipeline tr Split words tr Lowercase sort Alphabetise uniq -c Count dupes sort -rn Sort by count sed Print top N Each tool does one thing. Each output becomes the next input. No tool knows the others exist. AI agent pipeline, 2024 A retrieval-augmented generation (RAG) chain in LangChain User query Raw question in Retriever Fetch documents Prompt builder Assemble context LLM call Generate answer Response Answer out Swapping the LLM or retriever leaves every other component untouched. What both pipelines share One job per component Do one thing well Universal interface Text stream or message Composable by design Swap any part freely 51 years separate these pipelines. The architecture is identical.
Input / output nodes
AI pipeline components
Unix utilities
II. The Cathedral Returns, and Why It Fell Again

For most of the period between 2018 and 2023, the dominant assumption in commercial artificial intelligence was that bigger was better, and that bigger meant more general.

GPT-3 was larger than GPT-2 and could do more things. GPT-4 was larger still and could do still more. The unspoken business plan was simple. A sufficiently large model trained on a sufficiently broad corpus would eventually absorb the entire world, and applications would amount to thin wrappers around its programming interface. The model was Multics reborn. One giant integrated system, trying to do everything from the inside.

By 2024, the strategy had hit a wall that no amount of additional training appeared to move. The largest models began plateauing on benchmarks. The cost of running them, measured in dollars and watts and seconds, became increasingly hard to justify for tasks that did not actually require frontier-scale reasoning. And, most damaging of all, the monolithic models kept producing confident errors: fluent, plausible, completely wrong answers, at a rate that alarmed the engineers who relied on them.

A 2025 paper from researchers at the University of Pennsylvania put the problem in formal terms. In reasoning chains generated by large language models, they wrote, initial errors propagate and undermine the reliability of the final conclusion. A later study introducing a benchmark called AgentErrorBench was blunter still. Error propagation, the authors concluded, is the primary bottleneck in the reliability of AI agents. Early mistakes rarely stay confined. They cascade through subsequent steps, distorting reasoning and ultimately derailing the entire task.

In other words, a single giant model trying to do everything was hitting precisely the problem Multics had hit in 1969. The cathedral had become too complex to keep standing. The errors did not fail loudly, which would have been manageable. They failed silently, which was catastrophic.

The fix, as it had been at Bell Labs, was to stop building cathedrals. The architecture that began replacing the monolith looked, to anyone who had spent time near a Unix terminal, strikingly familiar. Retrieval-augmented generation gave models access to external databases, treating the database as a separate component that talked to the model through structured queries. Tool use let a model emit a structured request to call a function and then receive a structured response, treating calculators, search engines, and file systems as small programs the model could orchestrate without absorbing. Multi-agent systems split complex tasks across several specialized models, each with its own job description, cooperating through message passing.

The vocabulary had changed. The architecture had not. Simon Willison, who co-created the Django web framework and publishes one of the most widely read newsletters on practical AI engineering, settled in September 2025 on a definition of an AI agent that McIlroy himself might have written. "An LLM agent runs tools in a loop to achieve a goal," Willison wrote. The choice of words is worth sitting with. The agent does not think, in the marketing sense. It uses tools. The intelligence is distributed across the tools and the loop. The model is the planner. The work is done by composition.

02 The cathedral vs. the composable pipeline
One monolithic model absorbs every task and fails silently when errors cascade through it. A composable pipeline isolates each concern, makes errors traceable to their source, and lets any component be swapped without rebuilding the whole.
The monolith One model, every task One large model Retrieval + reasoning + planning + execution Query in Confident wrong answer Error undetectable Errors cascade silently. Nothing is swappable. Scaling requires retraining everything. The composable pipeline Small tools, clean interfaces Retriever Fetch relevant documents clean interface Prompt builder Assemble context window clean interface LLM Generate a response clean interface Verified output Error traceable to source Errors surface at the component that caused them. Any component is swappable independently. New capabilities plug in without rebuilding. The same failure mode that killed Multics in 1969 returned in AI systems by 2024. The fix, then and now: small components, clean interfaces, one job each.
Monolith — silent failure
Composable components
Verified output
III. The Return of the Pipe: LangChain, DSPy, and the Universal Interface

If there is a single artifact that announced the formal return of Unix-style composition to artificial intelligence, it is LangChain. Harrison Chase, then twenty-eight, posted the first version on Twitter on October 25, 2022, describing it as a Python package aimed at building applications around large language models through composability. That one word would become the central engineering claim of an entire industry. Within a year, LangChain had more than seven hundred integrations with model providers, vector databases, and external services. By the framework's three-year anniversary, Chase reported that it was averaging eighty million monthly downloads.

Chase has been explicit about the design lineage. The value of LangChain, he told Sequoia's Sonya Huang, lay in composability. Developers could swap out models, vector stores, and tools without rewriting their entire application logic. The basic abstraction was a chain: a directed series of components, each one transforming the input it received before passing the result to the next. LangGraph later generalized the linear pipe into a graph with branches and loops, allowing for the conditional behavior that real agents require. But the underlying principle remained the same: an assembly of small parts connected by typed interfaces, not a single program doing all the work.

Stanford's DSPy project, led by researcher Omar Khattab, takes the analogy a step further. Where LangChain provides the pipe character, DSPy is trying to build something closer to a compiler for AI pipelines. Each module exposes an explicit input-output signature, and the compiler optimizes the modules together automatically, without manual prompt engineering. In their original paper, Khattab and twelve coauthors reported that within minutes of compilation, compositions of DSPy modules could raise the quality of simple programs from 33 percent to 82 percent on certain tasks. The principle, Khattab has argued, is that language models should be treated as composable modules, not end-to-end systems.

The most striking development in this direction, and the one that draws the Unix parallel almost explicitly, is the Model Context Protocol, or MCP, introduced by Anthropic in November 2024. MCP is a universal, open standard for connecting AI systems with data sources and tools. The problem it solves is the same problem text streams solved in 1973. Every AI application wants to talk to every external data source. Without a common interface, the number of integrations required is the product of the number of applications and the number of data sources. With a common interface, it becomes the sum. The architecture compresses combinatorially.

By the end of 2025, Anthropic had donated the protocol to the Agentic AI Foundation, co-founded with Block and OpenAI. OpenAI adopted MCP in March of that year. Google DeepMind's Demis Hassabis announced in April that Gemini would support it too. Anthropic's terminal-based coding agent, Claude Code, makes the lineage more literal still. Boris Cherny, who leads the Claude Code engineering team, described the product plainly in a 2025 podcast interview: "We think of it as a Unix utility. The same way you would compose grep or cat. The same way you can compose code into workflows." The vertical bar in a Claude Code pipeline is the same character Thompson introduced in 1973. The semantics on either side of it have changed beyond recognition. The architectural contract has not.

Fiber optic cables converging into a single junction

Many sources, one interface. The Model Context Protocol, introduced by Anthropic in November 2024, applies the same combinatorial insight as the Unix text stream: a universal interface that is deliberately weaker than optimal for any single application — and therefore combinable with everything.

IV. Two Filters, One Pipe: The Neurosymbolic Frontier

The Unix philosophy never specified what programs in a pipeline had to be. It only specified how they had to talk. That permissiveness is what makes the pipe so well suited to one of the hardest open problems in artificial intelligence: how to combine neural networks, which are good at perception and pattern matching, with symbolic systems, which are good at logic and verifiable reasoning.

Neural networks are exceptional at fuzzy, statistical perception: recognizing a face, translating a sentence, predicting the next word. Symbolic systems are exceptional at exact, rule-based reasoning: proving a theorem, verifying a logical argument, executing a formal plan. The problem is not that either approach is inadequate on its own terms. The problem is that intelligence, as humans practice it, seems to require both at the same time. And every attempt to build a single system that does both has produced a system that does neither very well.

The most prominent recent evidence that composition is the right answer came in July 2024, when Google DeepMind announced that two of its systems, AlphaProof and AlphaGeometry 2, had achieved silver-medal performance at the International Mathematical Olympiad, solving four of six problems against a threshold that only fifty-eight of more than six hundred human contestants reached. DeepMind described AlphaGeometry 2 in plain language: it was a neurosymbolic hybrid system. A neural language model, based on Gemini, proposed creative ideas for how to attack a proof. A symbolic deduction engine then verified whether those ideas actually held up. If the symbolic engine got stuck, it kicked the problem back to the neural model. If it accepted a proof, that proof was provably correct.

This is, structurally, a pipe. The neural network is one filter. The symbolic prover is another. Each does one thing well. The interface between them, a formal proof language called Lean, is the universal interface. Gary Marcus, the cognitive scientist who has spent three decades arguing that hybrid systems would eventually be necessary, was unusually pleased. "There can be no path to general artificial intelligence without neurosymbolic approaches," he wrote following DeepMind's announcement. Henry Kautz, the University of Rochester computer scientist whose 2020 AAAI presidential address introduced a now-standard taxonomy of neurosymbolic architectures, distinguishes six levels of integration from fully coupled to fully unified. The most successful current systems sit firmly at the loosely coupled end of his spectrum. They look like pipelines.

03 The neurosymbolic pipe: AlphaGeometry 2
Google DeepMind's silver-medal IMO system is architecturally a pipe. A neural proposer generates creative proof ideas. A symbolic verifier checks them formally. If rejected, the loop continues. If accepted, the proof is provably correct. The Lean proof language is the universal interface.
The neurosymbolic pipe: AlphaGeometry 2 Google DeepMind, July 2024 — silver medal at the International Mathematical Olympiad Geometry problem Formal problem statement Neural proposer (Gemini LLM) Generates creative auxiliary constructions Pattern-matches from millions of training examples Universal interface: Lean proof language Symbolic verifier (deduction engine) Checks proof step by step against formal logic rules Accepts (proof valid) or rejects (stuck) Rejected: try again Accepted: proof valid Verified proof Provably correct solution The Unix parallel Neural LLM = creative filter (tr, sort…) Lean language = universal interface (text stream) Symbolic engine = verifying filter (grep…)
Neural proposer (fuzzy, creative)
Symbolic verifier (exact, provable)
Universal interface (Lean)
V. Where the Pipe Bends, and What It Means Anyway

It would be intellectually dishonest to pretend the analogy is perfect. Unix pipes make assumptions that AI components routinely violate, and engineers who push the parallel too far encounter specific, hard-to-diagnose failure modes that McIlroy never had to worry about.

The first problem is determinism. A classic Unix utility is stateless. Feed it the same input and you get the same output, every time. Language model components are probabilistic, sometimes wildly so. The same prompt can produce different responses on different calls, and chains of probabilistic components multiply uncertainty rather than dampen it. In a deterministic pipeline, an error in the first stage produces a recognizable error in the output, and you debug it. In a probabilistic pipeline, an error in the first stage can produce a confident, plausible, completely wrong answer many stages later, with no signal that anything went wrong. A text stream that loses bytes is obvious. A reasoning stream that loses truth is not.

The second problem is the nature of the interface itself. Text streams worked for Unix because the data being passed between programs was, by and large, low-dimensional and structured. Names, numbers, file paths. The information passed between AI components is high-dimensional, ambiguous, and context-dependent. Is a token the right unit to pass between stages? An embedding vector? A structured JSON record? The industry has not settled the question. MCP has bet on structured messages. DSPy has bet on typed signatures. Function calling has bet on schemas. It is plausible that several universal interfaces will coexist, the way the Unix world has long lived with both raw text streams and JSON.

There is a deeper objection too. Maybe the Unix philosophy works for AI right now, in 2026, only because our models are not yet good enough to handle everything themselves. As they improve, perhaps the composition layer collapses back into the model. The transformer swallows the pipeline rather than living inside it. That argument is not obviously wrong. But the historical record on this kind of prediction is not encouraging. Multics's designers in 1969 were also confident that a sufficiently capable central system would eliminate the need for small specialized tools. They were beaten, decisively and lastingly, by a six-character pipe.

The lessons that fall out of this fifty-year continuity are not subtle. Build small components. Resist the temptation to put more inside a single model call than it strictly needs to do. Insist on clean interfaces. A pipeline where each component might emit a different shape of data is not a pipeline; it is a heap. Separate policy from mechanism. The most resilient AI systems today isolate the question of what should be done from the question of how to do it. The neural component proposes. The symbolic or procedural component disposes. Compose rather than absorb. The temptation to build a single model that does retrieval, reasoning, planning, and execution end to end is the same temptation that produced Multics.

In recordings made late in his career, McIlroy returned again and again to a theme of modesty. What pipes had taught a generation of programmers, he said, was something deeper than syntax. You do not need to anticipate every use of your tool. You only need to make it easy for other people to combine it with theirs in ways you never imagined. The "as yet unknown program" in his 1978 formulation was an architectural acknowledgment that the future is unknowable. The discipline is to design for that ignorance rather than against it.

Thompson's bar character still divides the world into producers and consumers of streams. The agents and tools and protocols of the current moment do not look much like the ancient Unix utilities. But the contract between them, the willingness to do one thing well and let someone else figure out what to chain to it, is the same contract. The pipe was never just a way to connect programs. It was a way to admit that no single program would ever be enough.

Half a century later, the people building artificial intelligence are arriving, by every available route, at exactly the same admission. The principles were always there. They were written down, in three short clauses, in the foreword to a journal almost nobody reads anymore.

Write programs that do one thing and do it well. Write programs to work together. Write programs to handle text streams, because that is a universal interface.

Replace "programs" with "models," and the manifesto is brand new.

Key references: McIlroy, M.D., internal Bell Labs memo, 1964. McIlroy, M.D., foreword to Bell System Technical Journal, special Unix issue, 1978. Raymond, E.S., The Art of Unix Programming, Addison-Wesley, 2003. Kernighan, B. and Pike, R., The UNIX Programming Environment, Prentice Hall, 1984. Knuth, D. and McIlroy, M.D., "Programming Pearls: A Literate Program," Communications of the ACM, 1986. Chase, H., LangChain launch thread, Twitter/X, October 2022. Chase, H., "Reflections on Three Years of Building LangChain," LangChain Blog, 2025. Khattab, O. et al., "DSPy: Compiling Declarative Language Model Calls into Self-Improving Pipelines," arXiv 2310.03714, 2023. Anthropic, "Introducing the Model Context Protocol," anthropic.com, November 2024. DeepMind, "AI achieves silver-medal standard solving International Mathematical Olympiad problems," deepmind.google, July 2024. Marcus, G., "AlphaProof, AlphaGeometry, ChatGPT, and why the future of AI is neurosymbolic," Substack, July 2024. Willison, S., "An LLM agent runs tools in a loop to achieve a goal," simonwillison.net, September 2025. Latent Space, "Claude Code: Anthropic's Agent in Your Terminal," podcast, May 2025.