Amrit DePaulo
← Writing

Swarm (hive) Intelligence and Security in a Highly Distributed (AI) World: Part II

Amrit DePauloAugust 2026

In 2008 I argued that centralized command-and-control security was already dying, and that the only viable future was intelligent agents performing local analysis, communicating with the collective, and reconfiguring themselves through dynamic policy instantiation. Cognition, cooperation, and coordination, without a central brain dispatching orders.

Eighteen years later, the industry built exactly that. Not for defense. For everything.

What we now call agentic AI is the swarm architecture I was describing, implemented with components nobody in 2008 could have named: LLM agents, harnesses, orchestration graphs, execution loops, tool protocols, and shared memory stores. Part II maps the 2008 concepts onto what actually got built, examines where the prediction held and where it broke, and works through the security consequences, because we built the swarm without building the swarm's immune system.

The vocabulary caught up

Take the three properties I claimed agents would need and translate them into 2026 terms.

Cognition became the model. In 2008 I imagined agents performing "a basic level of analysis of internal and environmental variables." Today an agent's reasoning engine is a large language model that can read logs, interpret alerts, examine a filesystem, and form a plan. The cognition is no longer basic. It is general-purpose reasoning rented by the token.

Cooperation became the protocol layer. Agents talk to tools and to each other through structured interfaces, most visibly the Model Context Protocol, function calling, and agent-to-agent messaging schemes. What I hand-waved as "communicate that information to the collective" now has schemas, transports, and version numbers.

Coordination became the graph. Multi-agent frameworks express work as directed graphs: nodes are agents or tools, edges are control flow and data flow. An orchestrator decomposes a task, routes subtasks to specialized workers, gates transitions on evaluations, and merges results. The choreography I attributed to the hive is now a compilable artifact you can check into version control.

And dynamic policy instantiation, the phrase I was proudest of in 2008, became the harness. The harness is everything wrapped around the model that turns raw cognition into a governed actor: the system prompt, the tool allowlist, the permission boundaries, the memory configuration, the evaluators, the retry and escalation logic, the kill switch. The model is the insect. The harness is the caste system, the pheromone receptors, and the rules of the hive, all in one.

The loop is the organism

A single agent is best understood as a loop: perceive, plan, act, verify, repeat. It reads state, forms an intention, invokes a tool, observes the result, and decides whether to continue, retry, escalate, or stop. Chain these loops together across specialized agents and you get the emergent behavior that swarm researchers spent decades studying in ants.

The ant colony analogy holds up better than I expected, and one mechanism deserves specific attention: stigmergy. Ants do not coordinate through commands. They coordinate through the environment, depositing pheromone trails that other ants read and reinforce. The colony's intelligence lives in the shared substrate, not in any individual.

Agentic systems rediscovered stigmergy without meaning to. Shared vector stores, scratchpads, blackboard memories, task queues, and trace logs are pheromone trails. One agent writes a finding, another retrieves it and acts. No agent commands another; the substrate coordinates them. This is precisely why these systems scale, and precisely where they are most vulnerable, which I will get to.

Specialization completed the picture. Real deployments do not use one omnipotent agent. They use castes: a researcher that gathers, a critic that evaluates, an executor that acts, a judge that gates release. The hive metaphor I offered against the herd metaphor turned out to be the actual production architecture.

What 2008 got wrong, and the irony is thick

The 2008 argument held that central command-and-control points would not work, and that intelligence had to live at the edge. Here is what I did not foresee: the swarm we built rents its cognition from the most centralized infrastructure in computing history.

Every agent loop in most production systems today runs its reasoning through a handful of frontier model providers. The agents are distributed. The intelligence is not. When a model provider has an outage, every swarm that depends on it goes quiet simultaneously. When a provider changes model behavior, every agent's judgment shifts overnight, globally, without any local administrator's consent. In 2008 I worried about brittle central C2 servers. The 2026 version is a brittle central cortex.

This is not a fatal objection, and it is weakening by the quarter, which deserves its own section. But it inverts a core 2008 assumption: the constraint was never where the agents run. The constraint is where the thinking runs, who controls it, and what happens when it changes underneath you.

The second miss was economic. I assumed the barrier to distributed intelligence was technical capability. The actual governor is cost. Cognition is metered. Every perceive-plan-act cycle burns tokens, which means swarm designs are shaped less by what agents could do and more by what is affordable to let them do continuously. The hive has a budget, and the budget is a security control nobody thinks of as one.

The edge fights back

Here is where the 2008 thesis is getting its revenge, and it runs through two developments that compound each other: heterogeneous model swarms and edge inference.

Start with heterogeneity. The naive swarm design gives every agent the same frontier model and lets the harness differentiate them. Production systems have stopped doing this, because it is the equivalent of staffing every role in the colony with a queen. Real deployments route by task: a small, fast model for classification and triage, a vision-language model for perceptual work, a mid-size model for routine drafting and summarization, a frontier model reserved for the reasoning steps that actually need it. The router itself becomes a component of the harness, and model selection becomes an architectural decision with cost, latency, and security dimensions. This is the caste system completing itself. Ants did not evolve one omnipotent ant; they evolved workers, soldiers, and foragers with different capabilities matched to different jobs.

Now the edge. In physical security, the domain I work in today, the perceptual layer of the swarm cannot live in a cloud region. When a vision-language model is watching camera feeds for weapon detection, loitering, a trip-and-fall, or a perimeter breach, the event is happening at 30 frames per second in a building, and every hop to a distant data center costs latency, bandwidth, and a privacy question that regulated customers will not accept. So the VLMs run on edge processors at the site: local inference for detection and classification, with only events, embeddings, and escalations flowing upstream, where larger models and human operators handle reasoning, correlation, and response. The detection layer keeps working when the uplink does not, which is exactly the self-healing, locally intelligent behavior the 2008 essay demanded.

This pattern generalizes far beyond cameras. Manufacturing lines, vehicles, medical devices, retail floors, and industrial sensors are all getting the same architecture: small specialized models at the edge doing continuous perception, a coordination tier deciding what deserves attention, and expensive general reasoning invoked only when the cheap layers escalate. It is a cognition pyramid, and it solves the economics problem from the previous section at the same time, because the metered frontier tokens are spent only on the fraction of events that earn them.

The third force is the one closing the loop: local and open-weight models are now genuinely viable for a widening set of swarm roles. Open-weight models that fit on a single GPU, or on a serious workstation, handle triage, extraction, summarization, and increasingly capable agentic work. That changes the sovereignty math. A swarm whose perception runs on your edge hardware and whose routine cognition runs on weights you control is no longer renting its entire brain from the centralized cortex. The frontier providers still own the top of the pyramid, and for the hardest reasoning they will for some time. But the 2008 claim that intelligence must live at the edge, dismissed for a decade as bandwidth got cheap and clouds got big, is being rebuilt into production architectures for reasons the market finds convincing: latency, cost, privacy, and survivability.

The security implication cuts both ways. Distributing models to the edge shrinks some risks, since less raw data transits networks and a provider outage no longer blinds the perception layer. It also multiplies others: model weights sitting on thousands of edge devices are an exfiltration and tampering target, edge models get updated over the air (which is a supply chain), and a poisoned or downgraded detection model at the edge fails silently in a way a cloud API outage never does. Model integrity verification, signed model updates, and drift monitoring at the edge belong on the same list as the substrate controls below.

The swarm's attack surface

Now the part that matters for security practitioners, because we deployed the swarm without evolving its defenses, and the attack surface is genuinely novel.

Pheromone poisoning is real and it is called memory poisoning. If coordination happens through a shared substrate, then corrupting the substrate corrupts the colony. An attacker who plants a false finding in an agent's persistent memory, a poisoned document in a retrieval store, or a malicious instruction in a task queue does not compromise one agent. They compromise every agent that reads the trail, across every future session, until someone audits the substrate. Ants have this problem too; certain parasites hijack pheromone signaling and walk into the nest unopposed.

Prompt injection is a confused-deputy attack at colony scale. A single agent that treats untrusted content as instructions is one compromised insect. An orchestration graph that passes that agent's output downstream as trusted input turns one injection into a cascade. The 2008 essay worried about fidelity and quality of control in agent communication. The 2026 version is worse: agents act on each other's outputs, and small corruptions compound through the graph.

The harness is the perimeter now. In a swarm, the meaningful security boundary is not the network. It is each agent's permission envelope: which tools it may call, which data it may read, which actions require a human, and how fast its credentials can be revoked. Least privilege per agent, scoped service identities, human gates on irreversible actions, and audit-grade logging of every tool call are the swarm equivalents of segmentation and firewalling. Most deployments I review have none of this. They have one service account, broad write permissions, and optimism.

Counter-attack in force remains the tempting mistake. In 2008 I admired the hive's willingness to counter-attack. In 2026, autonomous response is finally feasible, and it should still make you nervous. An agent swarm that can quarantine hosts, revoke credentials, and roll back configurations at machine speed can also be manipulated into doing those things to healthy infrastructure. The bees sting; the bees also die stinging. Bounded autonomy, with escalation to humans on high-blast-radius actions, is the only defensible posture until verification catches up with capability.

What the 2008 thesis demands in 2026

The original essay ended by claiming that without distributed computing, parallel processing, and intelligent agents, defenses would remain brittle and ineffective. That claim aged well. The uncomfortable completion of the thought is that the same architecture now serves attackers, who run their own swarms without change advisory boards or token budgets approved by finance.

The design principles follow directly from the biology we borrowed:

The substrate is a crown jewel. Treat shared memory, retrieval stores, and task queues with the same rigor as a domain controller: integrity validation before persistence, periodic audits against authoritative sources, and the tested ability to purge and rebuild agent memory as an incident response action.

Castes need boundaries, not trust. Specialization only works when the critic cannot execute, the executor cannot judge, and no single agent holds enough privilege to hurt you alone. Separation of duties predates computing, and the swarm needs it more than the org chart ever did.

Loops need governors. Iteration caps, spend caps, variance checks, and mandatory verification steps keep an agent loop from becoming an unbounded process with credentials.

Models need right-sizing and integrity. Route each task to the smallest model that does the job, keep perception local where latency and privacy demand it, and treat model weights and updates as supply-chain artifacts: signed, verified, and monitored for drift, especially at the edge, where a corrupted model fails silently.

The colony needs a kill switch. A documented, rehearsed ability to halt the swarm, revoke every agent credential, and revert to human operation within an hour is the difference between an incident and a systemic failure.

In 2008 the swarm was an argument. Now it is infrastructure. The wildebeest never did learn to fight the lion, but we finally built the hive, and the hive turns out to need everything the old world needed: identity, least privilege, integrity, auditability, and someone with the authority to shut the whole thing down. The metaphors changed. The fundamentals did not.