The AI Village — Chapter 4

The City Wall

In the Roman Empire—the cloud architecture of the US hyperscalers—security is a matter of continuous surveillance. The agent is a foreign body. It must be sandboxed, monitored, and controlled at every step. It is a logic of ex-ante suspicion: assume it will fail, so wrap it in layers of security.

The AI Village works differently.

When local open models do the work inside the house, the security measures move outward. Inside the village, it becomes quiet. There are no data leaks to the API provider. There is no prompt injection through foreign infrastructure. There is no dependency on the security policy of a US corporation.

The domain limitation—the fact that a model only knows maintenance, or only knows legal contracts—acts as a built-in need-to-know principle. The village blacksmith doesn’t need to know the town’s tax records.

The Perimeter Shift
This is the crucial shift: Security becomes a perimeter question.

The attack surface is no longer inside the model. It is at the interfaces to the outside: the APIs, the connections to agent networks, the one agent that is allowed to access the internet, the emails, the foreign documents.

Local specialists do the work in the house—and security travels with them to the wall. It moves from surveillance of the model to control of the interfaces.

For experienced IT managers, this is a familiar relief. The villagers can be protected with classical firewalls—multi-layered, as they have been for decades.

The City Wall (Stadtmauer) is the outer wall to the internet.
The Inner Walls (Innenmauern) are the VLAN segmentations between the domain models.
The Knowledge Store (Wissensspeicher) gets its own protected zone.

The Schleuse (Airlock)
But there is one vulnerability that every RAG architecture faces: RAG-Injection.

If you simply let incoming documents—emails, supplier PDFs, web downloads—flow directly into your vector database, you are letting the enemy through the gate. An attacker can hide malicious instructions inside a document. When the AI retrieves that document to answer a question, it follows the hidden instruction.

This is why the village needs a Schleuse (an airlock or quarantine zone).

Incoming documents enter Zone 1: DMZ / Quarantine. They are checked, scanned, and cleaned. Only after they are approved do they pass into Zone 2: The Knowledge Store.

The Schleuse is the gatekeeper. It is not a bureaucratic hurdle; it is the difference between a village that survives and a village that burns.

The Shrinking Sandbox
This perimeter shift also explains why an entire toolbox of modern AI security disappears.

Agent sandboxing, orchestration nodes, spawn governance—these layers are answers to a problem of the cloud model: untrusted models on foreign infrastructure, dynamically generating agents with unknown behavior. Every single thing must be fenced in individually.

In the AI Village, the fencing becomes the topology itself. The sandbox is no longer a product layer; it is the network architecture.

What remains of the sandbox is smaller and more honest: an action authorization. Because one thing remains true, even behind the wall: an agent that deletes files, sends emails, or writes to the ERP needs a limit to its authority. The sandbox does not disappear—it shrinks from a system container to a single decision: What is the agent allowed to do?