I keep a small, stupid habit from my COBOL years: whenever a data model feels too clean, I distrust it. Clean models are usually clean because someone quietly threw away the part of reality that didn’t fit the columns. Knowledge graphs do this constantly, and we’ve gotten so used to the amputation that we call it elegance. Subject, predicate, object. A fact, sitting there, self-contained, asking nothing of you. It looks like knowledge. It behaves like a corpse.
I want to talk about the philosopher who diagnosed this problem a hundred and forty years before we started building RAG pipelines, and who did it so precisely that reading him now feels less like history and more like being handed a bug report. Charles Sanders Peirce never saw a vector database. He would have recognized the failure mode in about four sentences, and then he would have told you, patiently, why your sign is missing a third of itself.
The triple was always a truncation
Ferdinand de Saussure gave the twentieth century its default theory of the sign, and it is dyadic: a signifier and a signified, a word and the concept it points to, bound together by convention. This is the model quietly sitting underneath most of what we call “semantics” in computer science. It’s why RDF feels natural. Subject-predicate-object is a signifier-signified relation dressed up in triple stores, and it inherits Saussure’s structure whether we admit it or not: a sign, and a thing it stands for, full stop, closed loop.
Peirce rejected this before Saussure had finished writing it down — the two men never read each other, working the same territory an ocean apart, and arrived at incompatible answers. For Peirce, a sign is never a two-place relation. It is irreducibly three-place: a representamen (the sign-vehicle itself), an object (what it stands for), and — this is the part everyone skips — an interpretant. The interpretant is not the “meaning” sitting inert somewhere. It is the effect the sign produces in a mind capable of interpreting it: another sign, a disposition to act, a further thought. Meaning, for Peirce, is not a property a sign has. It’s an event a sign causes, and that event is itself another sign, which will cause another interpretant, which will cause another, in a chain Peirce called semiosis and insisted — this is the sentence that should worry every RAG architect — has no natural stopping point short of habit and conduct.
Sit with that for a second, because it inverts the whole premise of the flat knowledge graph. A triple says: here is a fact, complete, waiting to be retrieved. Peirce says: there is no such thing as a complete fact sitting in isolation, because a sign that produces no interpretant isn’t functioning as a sign at all — it’s just ink, or in our case, just an embedding vector nobody has done anything with yet. The meaning of “the invoice was approved” is not contained in that string. It’s contained in everything that string licenses a competent interpreter to do next: which downstream actions become available, which prior commitments it discharges, which future sign it will, in turn, cause someone or something to produce. Retrieval without a theory of the interpretant gives you the representamen and calls it knowledge. It’s the linguistic equivalent of handing someone a phone number with no country code and telling them you’ve given them a way to reach the person.
Firstness, Secondness, Thirdness — and why Semantic Spacetime already knew this
Peirce’s other great obsession was his system of categories, which he considered his most important contribution and which almost nobody outside Peirce scholarship talks about, probably because the names sound like a joke: Firstness, Secondness, Thirdness. They’re not a joke. They’re a genuinely exhaustive account of the modes in which anything can be present to experience or to a reasoning system, and once you see them you start finding them everywhere.
Firstness is quality without relation — redness before it’s the redness of anything, a raw felt possibility, unattached. Secondness is brute existence, the shove of one thing against another, cause meeting effect, this bumping into that — reaction, resistance, fact in the sense of “it happened, whether you like it or not.” Thirdness is law, habit, mediation — the general rule that connects a First to a Second in a reproducible way, the reason the same collision produces the same outcome next time. Peirce thought all genuine thought, all genuine science, and arguably all genuine reality was built from these three and could not be reduced to fewer.
I didn’t set out looking for this in Mark Burgess’s Semantic Spacetime — I found it after the fact, the way you find out a song you wrote resembles one you’d half-forgotten hearing — but the four relations map onto Peirce’s categories with an almost embarrassing tightness. NEAR is Secondness: brute proximity, co-occurrence, the raw fact of two things sharing a locale with no claim about why. CONTAINS is closer to Firstness made structural — a bounded quality-space, this belongs inside that, prior to any causal story. EXPRESSES PROPERTY sits at the Firstness-Secondness boundary — a quality actually predicated of a particular. And LEADS TO is pure Thirdness: the lawlike, habitual, reproducible connection between an antecedent and a consequent, the very structure of a general rule. Burgess built Semantic Spacetime as a minimal ontology for describing how anything comes to be organized in space and time, largely independent of Peirce. That two people, working a century and a half and one entire scientific revolution apart, converge on the same four-part carving of reality is not proof of anything metaphysical. But it’s a strong hint that whatever Semantic Spacetime is tracking, it’s tracking something real about how mediation actually works — and it means an agent architecture built on those four relations is, whether its authors know it or not, already speaking Peirce’s native categories.
The reason this matters practically is that a triple store can represent Secondness reasonably well — it’s good at “X happened,” “X relates to Y.” It is structurally incapable of representing Thirdness cleanly, because Thirdness is a relation about a relation: a rule that governs how other relations arise. You can’t express “this kind of proximity tends to lead to that kind of consequence” as a single edge between two nodes. You need to reference the relation itself as an object and say something about it. Which is exactly the move a plain graph forbids and a metagraph exists to make.
Abduction: the inference type nobody built into the stack
Here is where Peirce stops being merely elegant and starts being useful in a way I think most agent architectures are currently getting wrong.
Peirce is the philosopher who gave logic a third form of inference. Everyone learns deduction and induction in school — deduction runs from a general rule and a case to a certain result; induction runs from a set of cases and their results back to a probable general rule. Peirce insisted there’s a third mode, prior to both, without which neither one has anything to work on: abduction, or as he later called it, retroduction. Abduction runs from a surprising fact to a hypothesis that, if true, would make the fact unsurprising. It is not a proof. It is not even, on its own, evidence. It’s the only kind of inference that generates a new idea — deduction and induction can only work with hypotheses abduction has already supplied. “The surprising fact C is observed. But if H were true, C would be a matter of course. Hence there is reason to suspect H is true.” That’s the whole engine. It’s a guess, licensed by explanatory fit, nothing more — and Peirce was adamant that a guess is not knowledge until it survives the next two stages: you deduce testable consequences from H, then you check those consequences inductively against further experience. Abduction proposes. Deduction predicts. Induction verifies. Skip any stage and you don’t have inquiry, you have a hunch wearing a lab coat.
Now look at what a modern LLM-based agent actually does when you ask it to explain something, diagnose something, fill a gap in a document. It performs something that looks exactly like abduction — pattern completion toward the most plausible-sounding explanation of the prompt — and then it stops. There is no deductive stage where the system derives testable consequences of its own hypothesis. There is no inductive stage where those consequences get checked against anything outside the model’s own next-token momentum. We built a machine that is extremely good at step one of a three-step inquiry process and then shipped it as if step one were the whole method. That, more precisely than “the model made something up,” is what hallucination is. It’s not a bug in the sign. It’s a truncated semiosis — a chain of interpretants that got cut off before it reached the stage where the world was allowed to push back.
This is where the diagnosis stops being merely descriptive and starts telling you what to build. If hallucination is abduction without deduction-and-induction, then the fix isn’t “retrieve more context so the guess is better informed” — that just makes Firstness richer, it doesn’t add the missing Thirdness. The fix is architectural: give the agent a structure in which a generated hypothesis can be represented as a first-class object, have testable consequences derived from it, and have those consequences checked against a persistent record before the hypothesis is allowed to harden into an acted-upon belief. That requires exactly the thing a flat triple store cannot give you and a metagraph can: the ability to take a relation — “H explains C” — and treat it as a node, so that further structure (its predicted consequences, its verification status, its confidence trajectory, the community of prior cases it either survived or didn’t) can attach to the hypothesis itself, not just to the terms it relates. An edge that cannot be pointed at cannot be tested. An edge that cannot be tested cannot graduate from abduction to knowledge. This is, nearly to the sentence, the argument I spent a book making about why edges have to be able to become nodes — I just didn’t have Peirce’s vocabulary for it yet when I wrote it.
The community of inquirers, or why your agent needs peers
There’s a further piece of Peirce that agent designers keep independently rediscovering without the label: his account of truth as what the community of inquirers would converge on in the long run, given unlimited investigation. This is not relativism — Peirce was a committed realist, he thought there was a fact of the matter — but it locates the operational test of truth not in any single mind’s certainty, however vivid, but in convergence across a community applying the method of inquiry honestly and long enough. A lone reasoner, however brilliant, cannot self-certify. Peirce’s fallibilism follows directly: since any single round of abduction-deduction-induction might be wrong, and since certainty is a psychological state rather than a logical guarantee, every belief has to remain open to correction by the next inquirer, the next case, the next surprising fact.
This is, functionally, an argument for multi-agent verification before it’s an argument for anything mystical about consensus. A single agent’s abductive hypothesis, verified only against its own subsequent reasoning, is a community of one — Peirce would have had no confidence in it regardless of how confident the agent sounded. What changes the epistemic status of a hypothesis is independent checking: other agents, other evidence sources, other rounds of the inquiry cycle applied by processes that don’t share the first agent’s blind spots. I’ve written elsewhere about promise graphs as a way to model multi-agent coordination — agents making and keeping or breaking commitments to each other, visible and auditable as structure rather than as vibes — and Peirce gives that architecture its philosophical spine. A promise is a claim staked into a community; its worth is settled not by the promiser’s confidence but by what the community subsequently observes. That’s semiosis with teeth. That’s Thirdness doing its actual job: converting a private hunch into a public, checkable habit.
What this actually asks of you, if you’re building
If you take Peirce seriously as an architecture document rather than as a historical curiosity, three obligations fall out of it directly, and none of them are optional extras.
First: stop modeling knowledge as dyadic facts and start modeling it as triadic signs with a live interpretant slot. A piece of retrieved context that produces no downstream action, no derived consequence, no change in the agent’s disposition, is not functioning semiotically — it’s decoration. Your retrieval layer needs to ask not just “is this relevant” but “what does this license the agent to do next,” because that’s where the actual meaning lives.
Second: build the abduction-deduction-induction cycle as three distinct, inspectable stages, not one blurred forward pass. Let the system generate a hypothesis, let it derive what that hypothesis predicts, and give it a mechanism — a database check, a tool call, a second model, a human — to test the prediction before the hypothesis is treated as settled. This is the single highest-leverage architectural move I know of against hallucination, and it’s a structural fix, not a prompting trick.
Third: give your relations somewhere to live when they need to become objects of further reasoning. A hypothesis that can’t be pointed at can’t be revised. A promise that can’t be referenced can’t be kept or broken in any way the system can later account for. This is the whole argument of the metagraph — edges that can themselves be nodes, so that Thirdness has a place to sit instead of being smuggled in through auxiliary tables and hand-wavy application code. I built out the full formal case for this — the Basu-Blanning definition, why hypergraphs get you partway there and then hit a wall, how Semantic Spacetime’s four relations compose into something an agent can actually query — in Metagraphs for Agentic AI. If the argument above landed for you, that book is where I stopped gesturing at the idea and actually built the schema.
This is the latest entry in my Philosophers for AI series, where I put old philosophical frameworks to work on very current problems in agent architecture, knowledge representation, and AI system design. You can find the rest of the series at volodymyrpavlyshyn.substack.com, and the full technical treatment of metagraphs, Semantic Spacetime, and promise graphs — Metagraphs for Agentic AI: Beyond Triples, Beyond Hypergraphs — at leanpub.com/metagraphforaiagents. More books on agentic memory, world models, and knowledge graphs for AI agents live at leanpub.com/u/vpavlyshyn.
Originally published on Sovereign Agentic AI on Substack.