This document is unusual in the ColdCode Si Labs library. It is not a book-length treatment in the trade-paperback format of the preceding six volumes. It is a manifesto — concise, declarative, uncompromising in its claims — followed by eight working papers that attempt to put architectural and technical flesh on the manifesto’s bones. It is the first CC BY-licensed publication in the library, and at exactly thirty-three pages it is deliberately short enough to read in a single sitting, to print on a desktop printer, to annotate by hand, and to photocopy and distribute.
The decision to publish this as a working paper rather than a book was deliberate. A book implies completeness, a settled argument, something you can read and absorb and put on a shelf. A working paper implies something provisional — a framework proposed for critique, implementation, and revision. The DCAI framework described here is v0.1. It will be wrong in places. It will be incomplete in others. Real deployments will surface problems the papers do not anticipate, and the framework will evolve. That is the nature of infrastructure work: you ship a v0, learn from where it breaks, and ship v0.2. Readers who treat this document as final will be disappointed. Readers who treat it as a starting point — a set of hypotheses to test, a set of design patterns to implement, an invitation to build — will, I hope, find it useful.
The decision to license this CC BY rather than under full copyright was also deliberate. The infrastructure described in these papers cannot be built by one company, one team, or one country. It requires open protocols, open reference implementations, and the ability for any engineer anywhere to implement, criticise, fork, and improve the work without asking permission. CC BY is the appropriate license for infrastructure specifications. You may copy, distribute, adapt, translate, implement commercially, or teach from these papers provided you attribute the original source. If you improve the framework, please release your improvements under the same terms — open infrastructure improves when everyone contributes.
A note on audience. These papers assume a reader who is technically literate — familiar with distributed systems, basic networking, control theory at an introductory level, and the economics of infrastructure. They do not assume advanced knowledge in any one of those fields; a competent software engineer, a network architect, an electrical engineer working on microgrids, or a payment systems architect should be able to follow every argument. The working papers are intended to be specific enough that an engineering team could start building a reference implementation from them, but they are not implementation-level specifications. Protocol buffers, interface definitions, reference code, and conformance tests will follow in subsequent releases.
A note on geography. I write from Harare. The examples in these papers draw heavily on infrastructure problems I encounter in Zimbabwe and southern Africa: intermittent connectivity, weak grids, payment systems that must work on feature phones, supply chains that operate under foreign-exchange constraints, water systems that do not reach every neighbourhood, energy systems that shed load for twelve hours a day. I do not apologize for this perspective. The majority of the world’s population lives in places where these conditions are normal, not exceptional. The twentieth-century model of centralized infrastructure was designed for and built in places with reliable grids, pervasive fiber, strong institutions, and temperate climates. It does not scale to the rest of the world, and — increasingly — it does not even hold in the places that built it, as climate change, cyber threats, and political fragility erode the assumptions of perfect reliability on which centralized systems depend. A framework designed for the difficult conditions is more robust everywhere. Build infrastructure that works in Chitungwiza during a power cut, and it will work in Frankfurt during a storm. The reverse is not true.
The structure of this document: - The Manifesto states the thesis, nine principles, and a call to build. - Working Paper 1 defines the DCAI node and its architecture. - Working Paper 2 describes network topology and peer coordination. - Working Paper 3 describes cognition at the edge — local models and federated adaptation. - Working Paper 4 describes governance, accountability, and incentive alignment. - Working Paper 5 presents the reference stack, a concrete example (rural microgrid), and implementation guidance. - Working Paper 6 situates DCAI against existing paradigms (cloud, SCADA, blockchain, federated learning). - Working Paper 7 addresses security and adversarial resilience. - Working Paper 8 sketches applications across seven infrastructure domains (energy, water, payments, agriculture, climate, health, governance).
Read the Manifesto first. If you disagree with its principles, the working papers will not persuade you. If the principles resonate, read the papers that correspond to the problems you are working on. Skip the others. Criticise freely. Fork mercilessly. Build what works.
— Courage Garikai, Harare, November 2026
The next generation of critical infrastructure — energy grids, water systems, supply chains, payment rails, healthcare logistics, agricultural markets, environmental sensing, and municipal governance — will not be built as monolithic, centrally controlled systems. It will be built as distributed cognitive autonomous infrastructure (DCAI): networks of small, semi-autonomous nodes that can sense their environment, make local decisions, coordinate with peers, and operate without constant connection to a central authority.
This is not a prediction about technology. It is an observation about what already exists in the world’s fastest-growing economies — and a statement about what must be designed intentionally rather than emerging by accident.
The centralized infrastructure model of the twentieth century assumed: - Reliable connectivity everywhere at all times. - Unlimited energy and computational resources at the center. - Trust in a single authority to make correct decisions for all participants. - Uniform standards enforced top-down. - Perfect information flowing from edge to center.
None of these assumptions hold for the infrastructure being built today across Africa, South Asia, Southeast Asia, Latin America, and — increasingly — within the “developed” world itself as climate disruption, cyber threats, and political fragmentation erode the reliability of central systems.
DCAI starts from different assumptions: - Connectivity is intermittent and asymmetric. - Computation is cheaper at the edge than at the center (a $15 computer now has more processing power than a 1990s supercomputer). - Local decisions made with local information are better than central decisions made with stale, aggregated data. - Participants can coordinate without being controlled. - Systems must degrade gracefully rather than failing catastrophically. - Autonomy and coordination coexist: nodes act independently while remaining accountable to the network.
1. The edge is the center. Intelligence and decision-making live at the edge, in the node, at the point where a decision matters — in the sensor, in the payment terminal, in the solar inverter, in the clinic, in the market stall, in the household meter. The center exists to coordinate, not to command.
2. Offline is the default, online is the enhancement. A DCAI node must perform its core functions without network connectivity. Connectivity enables coordination, aggregation, and learning — it is not required for basic operation. A system that fails when disconnected is not infrastructure; it is a dependency.
3. Loose coupling, tight feedback. Nodes communicate through simple, stable interfaces and exchange small, verifiable messages. Each node can understand the messages it receives without understanding the internal state of the sender. But feedback loops between nodes must be tight enough to correct errors quickly.
4. Local decisions beat global rules. A farmer in Murehwa knows more about soil moisture on their field than a server in Harare. A clinic in Gutu knows more about medicine stock-outs than a ministry in the capital. DCAI pushes decisions to the lowest level capable of making them well.
5. Graceful degradation over perfect reliability. DCAI systems do not aim for 100% uptime (that is neither achievable nor necessary). They aim for graceful degradation: when a component fails, the system reduces capability rather than collapsing. A mesh network with 30% of nodes offline still routes 70% of messages; a centralized network with a failed server routes zero.
6. Cognitive, not just connected. A node is not merely a sensor or an actuator. It is cognitive: it remembers, learns, predicts, and adapts within its domain. It knows the patterns of its environment (peak demand, failure modes, seasonal variation) and adjusts its behavior accordingly, without waiting for instructions.
7. Open protocols over proprietary stacks. DCAI requires interoperability. Proprietary protocols create vendor lock-in and force all nodes through single points of failure. The protocols that connect DCAI nodes must be open, documented, implementable without permission, and neutral with respect to vendor, platform, and nationality.
8. Autonomy with accountability. A node that makes decisions must be able to explain those decisions. Autonomy is not opacity. Every autonomous action must have a reason that can be audited, challenged, and corrected — by peers, by the network, and by the humans the system serves.
9. Humans remain sovereign. DCAI is infrastructure for humans, not a replacement for human judgment. The purpose of distributed autonomous systems is to extend human capability, not to remove humans from decision-making. The highest-level decisions — about resource allocation, priority, exception handling, justice, and trade-offs between competing goods — remain with people, made accountable through governance structures that the system supports rather than overrides.
DCAI is not blockchain maximalism. Distributed ledgers are one tool that may be useful for some DCAI systems; they are not the architecture itself. Blockchains solve a narrow problem (consensus under adversarial conditions) and impose significant costs in bandwidth, energy, and latency. Most DCAI systems do not need global consensus; they need local coordination.
DCAI is not AI centralization. Training giant models in distant data centers and deploying them to edge devices is not distributed cognition — it is centralization with a local cache. Cognitive autonomy means the node can reason and adapt on its own, not merely execute a pre-trained model it received from a server.
DCAI is not “edge computing” as a buzzword. Edge computing often means moving computation closer to users while keeping the control plane centralized. DCAI distributes the control plane itself.
DCAI is not anarchic decentralization. “Distributed” does not mean “no coordination.” It means coordination without subordination. DCAI systems have structure, governance, and feedback; they just do not have a single point of control that can be captured, corrupted, or severed.
DCAI is not a futuristic vision. Its elements already exist: mobile money agents making float decisions with partial information, off-grid solar systems with local battery management, peer-to-peer mesh networks in disaster zones, community seed banks coordinating without a central warehouse, municipal water systems where local operators manage distribution based on real pressure data. These systems are already distributed, already cognitive, already autonomous in practice. What is missing is a design framework, open protocols, and the deliberate engineering of these systems as an infrastructure class rather than as ad-hoc, unconnected hacks.
We call on engineers, architects, policy-makers, and operators to design, build, and deploy infrastructure under the nine principles above. Specifically:
DCAI is not a product. It is not a company. It is a design philosophy, a set of protocols, and an invitation to build the infrastructure the world needs — not the infrastructure that centralized authority prefers, but the infrastructure that distributed reality demands.
Distribute the cognition. Keep the humans sovereign. Build the rails that survive.
— Courage Garikai, November 2026
A DCAI node is a computational unit that combines five capabilities: sense, decide, act, remember, and communicate. Every node in a DCAI network implements these capabilities, though the balance between them varies by node type.
| Capability | Description | Implementation |
|---|---|---|
| Sense | Observe local environment through sensors, inputs, or messages | Time-series data acquisition, event listeners, message parsing |
| Decide | Apply local logic, models, or rules to choose an action | Rule engines, small local models, threshold logic, adaptive controllers |
| Act | Produce an output — a control signal, a message, a payment, a valve adjustment, a dispatch order | Actuators, API calls, message send, state mutation |
| Remember | Store state, history, and learned patterns locally | Local database, ring buffer, model weights, counters |
| Communicate | Exchange messages with peers and (when available) with upper layers | Async message transport, pub/sub, gossip protocols, batch sync |
The node runs on commodity hardware appropriate to its context: a microcontroller for a sensor node, a single-board computer (Raspberry Pi-class) for an actuator or gateway node, a smartphone for a human-facing node, a small server for a regional coordinator. No node requires data-center-class hardware.
Each node owns its local state. The state is not a replica of a central database; it is the authoritative record of what the node knows, has done, and has observed. The node may share summaries, aggregates, or events with peers, but no other node or central authority directly mutates a node’s local state.
This property is what makes DCAI resilient: a node that loses connectivity continues to operate on its own state; a node that is compromised cannot corrupt the state of other nodes; a node that is replaced can rebuild its model from peer messages and local inputs.
Nodes communicate via small, well-defined messages. A DCAI message has: - Sender node ID - Message type (event, state summary, request, response, heartbeat) - Timestamp (local to sender) - Sequence number (monotonically increasing per sender) - Payload (bounded size — typically under 4 KB) - Optional signature (for authenticity in adversarial contexts)
Messages do not carry imperative commands (“do X”) except in designated controller relationships. Most messages carry declarative observations (“I have observed Y,” “my state is Z,” “I intend to do W”). Peers decide for themselves how to respond to observations. This is the difference between control and coordination.
A node is “cognitive” if it can: 1. Predict expected values for its inputs (based on learned history). 2. Detect anomalies when inputs deviate from predictions. 3. Adapt its decision thresholds in response to persistent changes. 4. Report anomalies and adaptations to peers.
Cognition at the node does not require large machine-learning models. Simple adaptive models — exponential moving averages, seasonal decomposition, threshold tuning, rule-based pattern matching — are sufficient for many infrastructure applications and are well within the computational budget of a $15 computer. Where more complex models are needed, they should be trained centrally (or via federated learning across nodes) but deployed and executed locally. A node that cannot run its own model offline is not cognitively autonomous.
Every node must define explicit degradation levels: - Level 0 (optimal): All functions online, connectivity normal, full peer communication. - Level 1 (degraded connectivity): Intermittent peer communication; node operates autonomously, queues outgoing messages for sync. - Level 2 (isolated): No connectivity; node continues local sensing/decision/action based on its own state and last known configuration; sends no messages; queues state locally. - Level 3 (partial failure): One or more sensors/actuators failed; node reconfigures to use remaining capabilities, broadcasts failure to peers for awareness. - Level 4 (safe stop): Conditions exceed safe operating envelope; node ceases actions that could cause harm, maintains monitoring only.
The transition between levels is automatic, rule-based, and visible in the node’s state. Humans can override levels but cannot force a node into a level its logic considers unsafe.
DCAI networks use mesh or semi-mesh topologies. Nodes connect directly to their logical peers (geographically, functionally, or topologically adjacent nodes) rather than routing all communication through central hubs. A typical deployment uses a three-tier structure:
Traffic between leaf nodes passes through 1–3 hops in normal operation; failure of any single gateway re-routes traffic via alternate paths. Root nodes do not carry real-time traffic; they hold reference data, anchor identities, and process rare network-wide events.
For state propagation across the network, DCAI uses gossip/epidemic protocols rather than central broadcasts. When a node observes a significant event, it sends the event to its direct peers; each peer forwards it to their peers with a probability decay, so the event propagates through the network exponentially without flooding. This has three properties: - Eventual delivery: An event reaches all connected nodes within O(log N) hops. - Partition tolerance: A network partition does not prevent gossiping within each partition; when the partition heals, missed events propagate. - Bounded bandwidth: Each node sends a bounded number of messages per period regardless of network size.
For state that requires strong consistency (e.g., double-spend prevention in payments, allocation of scarce resources), nodes use local consensus (majority among nearby peers) rather than global consensus. Most infrastructure state does not require global consensus.
Coordination between nodes — agreeing to balance electrical load, to route traffic, to redirect supply, to schedule maintenance — happens locally. Nodes negotiate with their direct peers based on their current state, capacity, and predictions. Coordination spreads outward as needed, but there is no global scheduler solving a system-wide optimization problem.
This produces solutions that are locally optimal and approximately globally good, rather than globally optimal and fragile. The trade-off is intentional: a globally optimal schedule that collapses when connectivity drops is useless. A locally-negotiated arrangement that degrades gracefully is infrastructure.
Each node has a cryptographic identity (a public/private key pair). Identity is established when a node joins the network: it presents its credentials to a quorum of existing nodes in its region, which verify and register it. Once registered, the node signs every message it sends. Nodes maintain a local trust graph: they assign higher trust to nodes they communicate with frequently, that deliver consistent data, and that are endorsed by other trusted nodes. Nodes with low trust are ignored; nodes that send false or malicious data are gradually excluded (detected by cross-referencing their observations against peers).
There is no central certificate authority. Trust is emergent from the network graph. There are root anchors that can introduce new nodes at bootstrap, but after network formation, the trust graph sustains itself.
DCAI does not assume a global clock. Each node maintains its own clock (using NTP when available, with drift monitoring). Event ordering uses a combination of local sequence numbers, vector clocks, and causal ordering rather than global timestamps. For most infrastructure applications (power balancing, water flow, logistics routing, payment finality), seconds-scale or minutes-scale time agreement is sufficient; microsecond synchronization is not required at the DCAI layer.
A leaf node on a $15 single-board computer has: a 1–2 GHz quad-core ARM processor, 1–4 GB RAM, 16–64 GB storage, and power consumption of 2–5 watts. Within this budget, a node must run sensing, decision, communication, storage, and security — all simultaneously. Cognitive models must fit within approximately 100–300 MB of RAM and 10–30% of one CPU core.
This budget is sufficient for: - Exponential smoothing, ARIMA, and basic time-series forecasting. - Anomaly detection via thresholding and statistical process control. - Small decision trees or rule-based systems (hundreds of rules). - Tiny neural networks (10K–1M parameters) quantized to INT8 for tasks like sensor-failure classification, load forecasting, or image recognition from camera sensors. - On-device federated learning updates (small gradient deltas exchanged with peers).
It is not sufficient for large language models, real-time video processing, or complex optimization. Those tasks belong at gateway or root level, where more computation is available.
Every node implements a cognitive loop, based on the classic Observe-Orient-Decide-Act (OODA) cycle: 1. Observe: Collect sensor readings and messages from peers. Update local state. 2. Orient: Compare observations against predictions. Detect anomalies and patterns. Update local models. 3. Decide: Apply decision rules and objectives to choose actions (control signals, messages, state changes). 4. Act: Execute actions. Broadcast state changes to peers. Record outcomes. 5. Learn: After the action’s effects are observed, update model parameters. If the action succeeded (outcome matched prediction), reinforce the model; if it failed, adjust thresholds or rules.
The loop runs at a frequency appropriate to the domain (milliseconds for power-grid frequency control, minutes for water-distribution pressure, hours for agricultural market coordination, days for supply-chain restocking).
When a node learns a useful model adaptation (e.g., a new threshold that improves its local anomaly detection, a new seasonal pattern in load), it can share the adaptation — not raw data — with its peers. Peers test the adaptation against their own local data before adopting it. Successful adaptations spread through the network via gossip; unsuccessful ones are discarded.
This is federated learning without a central aggregator: model improvements diffuse through the network the way innovations diffuse through a community — by demonstration and local adoption, not by top-down retraining. This avoids the bandwidth and privacy costs of sending raw data to a central server, and it ensures that each node adapts to its own local conditions while benefiting from what other nodes learn.
Not every decision can or should be made by a node’s automated model. Each node defines a threshold above which an action requires human confirmation: - Actions with high cost or risk (e.g., shutting down a section of the power grid, refusing a payment above a threshold, releasing water from a dam). - Anomalies the model cannot classify with high confidence. - Conflicts between peer nodes that local coordination cannot resolve.
In these cases the node generates a human-readable alert, presents its current state and the options it sees, and waits for a human decision. The human’s decision is recorded and fed back into the model as a training example — so over time, the node learns to make more decisions autonomously as its model gains accuracy, and only escalates genuinely unusual cases.
A DCAI network is not self-governing. Distributed does not mean ungoverned. Nodes execute decisions; humans set objectives, adjudicate disputes, define acceptable trade-offs, and override the system when necessary. Governance is the layer that keeps DCAI accountable to the communities it serves.
DCAI governance operates at three levels:
Node governance — each node has an operator (the person or organisation that owns, installs, and maintains it). The operator sets the node’s high-level objectives (e.g., “prioritize stability of supply to the hospital over industrial customers,” “maximize revenue from energy sales subject to voltage stability constraints”). Objectives are encoded as weighted parameters in the node’s decision model. The operator can override any node decision at any time, and bears responsibility for the node’s actions.
Regional governance — regional coordination groups (composed of node operators, relevant authorities, and community representatives) set region-level parameters: priority hierarchies during scarcity, capacity-allocation rules, pricing frameworks, interconnection standards, and dispute-resolution procedures. These parameters propagate to nodes in the region.
Network governance — a small, representative council of operators, users, and technical maintainers manages network-wide rules: protocol versions, identity bootstrap procedures, security standards, penalty for malicious nodes, and upgrades to the network. This governance is slow (changes take months of consultation), transparent (all proposals and decisions are public and signed), and conservative (defaults are retained unless there is broad consensus to change).
Every node maintains an immutable append-only log of significant actions: decisions it made, messages it sent and received, model updates, human overrides, and observed outcomes. The log is stored locally and shared (as summaries, not raw data) with peers.
When something goes wrong — a power outage, a water contamination incident, a payment fraud, a supply shortfall — investigators can reconstruct the chain of decisions that led to the failure by querying the logs of the relevant nodes. This accountability is essential: no automated system is perfect, and when systems fail, there must be a way to determine why, who bears responsibility, and how to prevent recurrence.
Accountability requires: - Signed actions (every decision is attributable to the node that made it and, where applicable, the human who authorized it). - Immutable logs (logs cannot be rewritten after the fact; corrections are appended, not overwritten). - Transparent rules (decision rules and objective weightings are visible to operators and, at aggregated levels, to affected users).
DCAI networks can fail in ways that are different from centralized failures: - Byzantine nodes — compromised or malicious nodes sending false data. Mitigated by peer validation, trust graphs, and cross-referencing of observations against nearby peers. - Cascading degradation — a local failure propagating via coordination signals to affect other nodes. Mitigated by dampening algorithms (coordination signals have diminishing effect as they propagate, like shock absorbers) and by local autonomy in deciding whether to act on peer signals. - Governance capture — a small group capturing the governance layer to impose self-serving rules. Mitigated by transparent governance, operator voting on major changes, and the fact that nodes can always ignore governance directives (by leaving the network) if those directives violate local objectives or safety rules. - Model drift — local models drifting over time in ways that degrade performance. Mitigated by peer model comparison, periodic human review of model parameters, and automated alerts when model predictions deviate from reality.
For DCAI to operate at scale, node operators must have incentives to maintain reliable, honest nodes. The network should reward contribution (providing accurate data, routing messages, supporting coordination) and penalize misbehavior (sending false data, dropping messages, attempting attacks). Rewards and penalties can be monetary (direct micropayments for services rendered), reputational (trust scores affecting how much weight other nodes give a node’s messages), or regulatory (licensing, compliance obligations, legal liability for failures).
The specific incentive structure depends on the domain: payments networks need strong fraud penalties; energy networks need capacity-contribution rewards; sensor networks need data-quality incentives. What is common across all DCAI domains is that incentives must be local, transparent, and enforceable without a central enforcer.
The DCAI reference stack defines five layers, from hardware to governance. Each layer has well-defined interfaces so implementations can substitute components without redesigning the whole stack.
| Layer | Function | Reference implementation |
|---|---|---|
| L5: Governance | Objectives, rules, audit, human override | Policy documents, operator dashboards, voting interfaces |
| L4: Cognition | Local models, decision rules, learning, anomaly detection | Lightweight runtime (Lua/MicroPython/rust core), adaptive models |
| L3: Coordination | Messaging, peer discovery, gossip, consensus, sync | Async message bus (MQTT/NATS/custom gossip), protobuf messages |
| L2: Security | Identity, signatures, encryption, trust graph | Ed25519 keys, signed messages, local trust store |
| L1: Hardware & IO | Sensors, actuators, compute, network, storage | Linux SBC, microcontroller, mobile phone; GPIO/drivers |
A minimal leaf node implements L1–L4 on a single-board computer in under 128 MB of RAM. A gateway node adds L4–L5 services. A root node runs full governance and coordination services on a small server.
DCAI protocols are open, specified in interface definition language (Protobuf/FlatBuffers), and versioned. Core protocols include:
Protocol specifications are licensed CC BY and maintained in a public repository. Reference implementations are MIT-licensed.
To make the stack concrete, consider a DCAI deployment for a rural solar microgrid serving 300 households and 12 small businesses:
The system operates autonomously: if cellular connectivity drops, the village continues to balance load and distribute power locally. If one gateway fails, the other two carry the load. If a leaf node detects an anomaly (a fault, a short circuit), it isolates locally and alerts peers. Human operators override when necessary (e.g., scheduling maintenance, prioritizing the clinic during a multi-day cloudy period). The system degrades gracefully: when generation is low, non-critical loads (water heating, irrigation pumps) are shed before critical loads (clinic refrigeration, school lighting).
Total hardware cost: approximately $2,800 for the entire village. Recurring cost: minimal (battery replacement, occasional hardware failures). The system is maintainable by a trained local technician; it does not require a data center, a dedicated fiber connection, or a proprietary vendor contract.
This is what DCAI looks like at scale.
Build the smallest node that works. Start with a minimal node (sense, threshold, act) and add cognition and coordination as needed. Do not build the full stack on day one.
Test in degraded modes first. Before deploying at scale, test every node in isolated mode (Level 2) and verify that it behaves safely with no connectivity. If the system cannot operate alone, it is not a DCAI node.
Design messages for 2G bandwidth. Every message must fit in a single UDP packet where possible (< 1,500 bytes). Avoid JSON bloat; use compact binary formats (Protobuf, MessagePack). Assume 9.6 kbps effective throughput in worst-case conditions.
Build observability into every node. Every node exposes a local status page (a simple web UI on a local network, or a USSD menu) showing its state, recent decisions, connectivity, and model performance. Operators can diagnose issues without a central dashboard.
Version everything. Protocols, models, and firmware are versioned. Nodes negotiate version compatibility on handshake. Upgrades propagate through gossip and are applied with explicit operator approval; nodes can refuse upgrades that violate local safety constraints.
Open the code, open the specs. The reference stack is open source (MIT for code, CC BY for specifications). Proprietary extensions are allowed, but core protocol interoperability is enforced through open specifications and conformance testing.
Cloud-native architecture assumes reliable, high-bandwidth connectivity between edge devices and central cloud services; that cloud compute is cheaper and more reliable than edge compute; that state of truth lives in the cloud; and that devices are relatively simple terminals that execute instructions from above. This model works for consumer internet applications where users have smartphones on LTE or fiber and where cloud providers operate reliably. It does not work for critical infrastructure in locations with intermittent connectivity, expensive bandwidth, and untrusted central services.
DCAI reverses several cloud-native assumptions: - State of truth lives at the edge; cloud is a cache and aggregation layer. - Edge devices are computationally capable and run decision logic locally. - Connectivity is an optimization, not a requirement. - Failures are contained locally rather than propagating through a central service. - Operational decisions are made by the people physically closest to the infrastructure, not by engineers thousands of miles away.
Supervisory Control and Data Acquisition (SCADA) systems are the standard architecture for industrial control: programmable logic controllers (PLCs) at the edge report to a central SCADA server, which makes control decisions and dispatches commands back to PLCs. SCADA is designed for controlled environments (factories, power stations, pipelines) with reliable wired connectivity and professional operators.
DCAI extends the SCADA model by distributing cognition: local nodes make control decisions locally rather than waiting for a central controller; coordination between nodes happens peer-to-peer rather than through a central supervisor; nodes can reconfigure their control logic based on local learning rather than requiring reprogramming by a central engineering team; and the system degrades gracefully rather than failing when central connectivity is lost.
This is not a rejection of SCADA principles — SCADA works well in the environments it was designed for — but an adaptation for environments where: - The number of nodes scales to thousands or tens of thousands. - Connectivity is intermittent. - On-site operators may not be certified control engineers. - Installation and maintenance cost must be an order of magnitude lower than industrial SCADA deployments.
Decentralized ledgers and blockchain networks share DCAI’s interest in distributed trust and lack of a central authority, but they differ in fundamental design choices: - Global consensus is expensive. Blockchains pay a high cost (energy, latency, bandwidth) to achieve global consensus on total transaction order. Most infrastructure state does not require global ordering; local consensus among affected peers is sufficient. - Every node does not need every record. Full-replication blockchains require every node to store the entire ledger, which is impractical for resource-constrained edge nodes and unnecessary for infrastructure where nodes only need local and regional state. - Smart contracts are not local cognition. Executing code deterministically across a blockchain is a different problem from making adaptive, learned decisions at a local node. Blockchain provides a ledger; DCAI provides a cognition and coordination framework.
Blockchains may be useful components within a DCAI system (for example, as the anchor identity layer, or for irreversible settlement of certain transactions), but they are not themselves DCAI systems.
Federated learning (FL) trains a shared global model by aggregating model updates (gradients) from edge devices without collecting raw data centrally. It is a useful technique for improving models across a distributed network, and DCAI adopts FL-style model diffusion for cognitive model updates (see WP3). But FL assumes a central aggregator, focuses exclusively on model training, and does not address the control, coordination, governance, and degradation problems that are central to DCAI. FL is a technique that can be used within DCAI; DCAI is a broader architecture for infrastructure.
| Property | Cloud-native | SCADA | Blockchain | DCAI |
|---|---|---|---|---|
| State of truth | Central | Central server | Global ledger | Local node |
| Decision locus | Central controller | Central controller | Protocol/smart contract | Local cognition |
| Connectivity requirement | Continuous | Continuous required | Intermittent (sync) | Intermittent (operates offline) |
| Failure mode | Service goes down | Supervisor failure = plant down | Chain halt if consensus fails | Graceful degradation |
| Hardware cost/scale | $$$ server + cheap edge | $$$$$ industrial | $ commodity nodes | $ commodity nodes |
| Trust model | Central operator | Vendor/operator | Nakamoto consensus | Peer trust graph |
| Governance | Vendor | Owner-operator | Protocol rules + token voting | Operator/community governance |
| Cognitive adaptation | Central model updates | Manual reprogramming | Protocol upgrades | Local + federated learning |
DCAI networks operate in environments where nodes are physically accessible to adversaries (they sit in fields, on poles, in public kiosks, on street corners, in unmanned locations), where network traffic can be intercepted, where operators can be coerced, and where state actors may have both the incentive and capacity to disrupt critical infrastructure. A DCAI deployment must withstand:
L2 — Security layer defenses: - Hardware root of trust. Nodes that can afford it (gateway nodes and higher) use a hardware secure element or TPM to store private keys and verify firmware integrity. Leaf microcontrollers use secure boot with signed firmware updates. - Ed25519 signed messages. Every message from a node carries a signature verifiable against the node’s public key. Unsigned messages are dropped. - Forward-secret sessions. Peer-to-peer communication between nodes that regularly exchange sensitive data uses ephemeral session keys derived via X25519 key exchange, providing forward secrecy even if long-term keys are later compromised. - Trust graph. Nodes maintain a local trust score for each peer based on observed behavior (message authenticity, data consistency, response reliability). Messages from low-trust peers are weighted lower; consistently malicious peers are gradually ignored.
L3 — Coordination layer defenses: - Data correlation. Each node cross-references observations from multiple peers. A node reporting a voltage spike when no nearby node observes it is treated as suspect; the anomaly is recorded but not acted upon until corroborated. - Rate limiting. Nodes limit the number of messages accepted per peer per time window to prevent flooding. - Gossip damping. Forwarded messages have a TTL (time-to-live) and a diminishing propagation probability, preventing storms. - Sybil resistance. Nodes require in-band admission (a quorum of nearby nodes must vouch for a new node) to join. Geographic plausibility checks (a node claiming to be a neighbor must respond within latency bounds) limit Sybil attacks.
L4 — Cognition layer defenses: - Model validation. Model updates from peers are tested against local data before being adopted. Updates that degrade local prediction accuracy are rejected. - Anomaly detection on control signals. If a peer sends a control signal that is outside physically plausible bounds (e.g., “set voltage to 1000V”), the receiving node ignores it and raises an alert regardless of the sender’s trust score. - Safe stop on model uncertainty. If local confidence in a decision is below a safety threshold, the node defaults to safe behavior (do not change state; alert operator).
L5 — Governance layer defenses: - Firmware updates require multi-sig authorization from a quorum of operators or root anchors. Nodes verify firmware signatures before installing updates. - Emergency kill switch. Operators can revoke a compromised node’s identity via a signed revocation message propagated through gossip. Revoked nodes are ignored by peers. - Audit logs enable post-hoc forensic analysis of attacks (see WP4).
DCAI does not solve the problem of a state-level adversary with unlimited physical access to all nodes. No distributed system can defend against that. What DCAI does ensure is that such an adversary must compromise many nodes to disrupt the network, rather than compromising a single central server. The cost of attack scales with network size, which is the correct resilience property for infrastructure: attacks are possible, but they require large resources and produce detectable signatures before they succeed.
DCAI also does not guarantee privacy for all data. Sensitive data (individual energy consumption patterns, payment details, health information) must be protected by application-layer encryption and data-minimization practices on top of DCAI’s transport security. The security layer protects against message forgery and tampering; privacy requires additional measures.
Security in DCAI is not a separate module added after the system is designed. It is baked into every layer of the stack: identity at L2, message validation at L3, sanity bounds at L4, and operator controls at L5. A node that cannot verify the authenticity of a peer’s message does not act on it; a control signal that violates physical safety limits is ignored; a firmware update without valid signatures is rejected. These defaults hold even if every other defense fails.
DCAI is a general architecture. It is applicable to any infrastructure domain where: - Large numbers of distributed nodes must coordinate. - Connectivity is intermittent or expensive. - Local decisions have physical consequences. - Centralized control is fragile, expensive, or authoritarian.
This paper sketches how DCAI principles apply to several concrete domains. These are not fully engineered designs; they are illustrations of how the architecture maps onto real-world problems.
Leaf nodes: solar inverters, battery controllers, smart meters, load switches. Coordination: real-time load balancing, fault isolation, peer-to-peer energy trading, frequency stability. Graceful degradation: shed low-priority loads before high-priority ones during scarcity; island into self-sustaining sub-grids when distribution lines fail. Cognition: forecast solar generation and demand from local history; adapt load profiles; detect equipment degradation.
DCAI microgrids are already partially operational in pilot form; the DCAI stack provides the missing open coordination and cognition layer that today’s proprietary microgrid controllers lack.
Leaf nodes: pressure sensors, flow meters, pump controllers, valve actuators, reservoir level sensors, soil moisture sensors for agricultural irrigation. Coordination: balance reservoir releases with demand across a distribution network; detect leaks from pressure anomalies; coordinate irrigation scheduling across farmers drawing from a shared aquifer; allocate water fairly during scarcity. Degradation: isolate broken pipes; reroute water around damaged sections; prioritize drinking water over irrigation during shortages. Cognition: predict demand from seasonal patterns; detect pump wear from vibration and flow patterns; forecast groundwater levels from rainfall and extraction data.
Water systems are a natural fit for DCAI because they are inherently distributed (pumps, valves, and reservoirs are geographically separated), have high stakes (failure means no water), and currently suffer from both chronic underinvestment and centralized control failures.
Leaf nodes: merchant wallets, agent terminals, user wallets on SIM cards, point-of-sale devices. Coordination: transaction clearing between wallets, float balancing between agents, fraud detection via peer patterns, cross-operator interoperability. Degradation: offline transaction recording during network outages (reconcile when connectivity returns); transaction limits scale with trust. Cognition: fraud detection from local spending patterns; intelligent float balancing between agents; spending pattern analysis for credit scoring.
Mobile money networks (described at length in Book 6) are already partial DCAI systems in practice. The DCAI framework provides the missing architectural layer to make them more resilient to outages, more interoperable across operators, and more capable of offline operation (currently a major pain point).
Leaf nodes: farmer phones, market price displays, warehouse sensors, cold-chain temperature monitors, delivery vehicle trackers, point-of-sale terminals. Coordination: price discovery across markets, matching supply to demand, routing perishable goods to closest demand centers, coordinating cold-chain logistics. Degradation: local markets operate independently during network outages; paper receipts replace digital tracking with reconciliation later. Cognition: predict demand from seasonal patterns and price signals; optimize delivery routes under fuel and road constraints; detect spoilage from temperature excursions.
Leaf nodes: weather stations, river level sensors, air quality monitors, seismic sensors, soil moisture probes, community rain gauges. Coordination: aggregate sensor data across a region; detect developing flood/drought/fire conditions; coordinate warning dissemination; guide emergency resource routing. Degradation: sensors continue recording locally during communication outages; mesh networking between sensors propagates warnings even when backhaul is down. Cognition: local pattern recognition for early warning (rising river levels, wind shifts, temperature inversions); cross-sensor correlation to reduce false positives.
Leaf nodes: medicine stock monitors, cold-chain temperature sensors for vaccines, clinic stock systems, patient appointment registers, diagnostic devices. Coordination: redistribute medicine from over-stocked clinics to clinics with stock-outs; route emergency supplies during outbreaks; coordinate patient referrals between facilities. Degradation: clinics continue to track stock locally during network outages; emergency supply requests are queued for relay when connectivity returns. Cognition: predict stock-outs from consumption patterns; optimize vaccine cold-chain temperature control; detect disease outbreak patterns from symptomatic case reports.
Leaf nodes: citizen report terminals (potholes, water leaks, waste issues via WhatsApp/USSD), service delivery trackers, municipal worker dispatch units, budget allocation monitors. Coordination: route service requests to the nearest available worker; aggregate citizen feedback for priority-setting; track service delivery outcomes. Degradation: paper-based reporting and queueing when digital systems are down. Cognition: identify patterns in service failures (e.g., recurring water leaks in a specific neighborhood suggesting pipe degradation); predict service demand from seasonal and event patterns.
What all these domains share is: - Geographically distributed nodes. - Physical-world consequences for failure. - Value in local decision-making. - Intermittent or expensive connectivity. - A governance structure of local operators and communities. - The need to operate during disruption.
DCAI provides the architectural pattern common to all of these, just as TCP/IP provided a common pattern for data networks and HTTP provided a common pattern for web applications. A single, open, interoperable stack for distributed autonomous infrastructure lowers the cost of building all of these systems — just as common internet protocols lowered the cost of building web applications by orders of magnitude.
This working paper is intended to be read, debated, and taught. For reading groups, engineering teams, policy workshops, or university seminars discussing DCAI, the following questions are offered as starting points for conversation. They are organized by section.
Design a node. Pick a specific leaf node in a domain you understand (e.g., a solar inverter controller, a water pressure sensor, a payment terminal). Define its five capabilities (sense, decide, act, remember, communicate), its five degradation levels, and the threshold at which it escalates to a human. Produce a one-page node specification.
Walk through a failure scenario. Pick a plausible failure (network partition lasting 48 hours, compromise of 10% of nodes, a physical disaster disabling a regional gateway). Trace how the network would respond at each layer, what decisions nodes would make autonomously, how coordination would reconfigure, and how operators would regain control when connectivity is restored.
Build a minimal prototype. Implement a minimal DCAI node on a Raspberry Pi or similar hardware that can (a) sense one input (temperature, voltage, network latency), (b) make one simple threshold decision, (c) gossip its state to a peer node over WiFi, and (d) operate standalone when the peer is unreachable. This is a weekend project, not a multi-month effort — do it to internalize the architecture.
Governance simulation. With a group of five to eight people, simulate governance of a small DCAI network for one hour. Assign roles (leaf operator, gateway operator, network maintainer, regulator, end user). Introduce a crisis (node compromise, shortage of a resource, proposed protocol upgrade) and negotiate a response. Observe what governance structures work and fail in practice.
DCAI is an open project. Contributions are welcome at multiple levels: - Specifications: Comment on or propose changes to the protocol specifications at github.com/king-kunta-cpu/dcai. - Implementations: Build a node, a gateway, a tool, or an application on the DCAI stack. Reference implementations in Rust, Python, and C are planned; contributions are accepted. - Deployments: Run a pilot deployment in a real community. Document what works, what breaks, and what needs changing. Pilot deployments in energy, water, and payments will be prioritized for support. - Papers: Contribute additional working papers extending or critiquing the framework. Contributed papers will be considered for inclusion in future DCAI working paper releases. - Critique: Tell us what is wrong, what is missing, and what will not work. The fastest way to improve a v0.1 specification is to have people test its weakest claims.
The DCAI specification, reference code, and discussion forums are hosted at:
https://github.com/king-kunta-cpu/dcai
All code is MIT licensed. All specifications and papers are CC BY 4.0. Contributions are accepted under the same licenses.
This is not a product launch, not a funding round, not a standards body, and not a company. It is an invitation to build the infrastructure the world needs, openly and together.
Distribute the cognition.
This is DCAI Working Paper release v0.1, November 2026. It is a conceptual and architectural framework, not a completed implementation. The claims in these papers are grounded in operational experience building distributed systems for African markets (mobile money, payment gateways, off-grid energy management systems, agricultural market information systems), but the full DCAI reference stack described in Working Paper 5 is a specification, not a deployed product.
Working implementations exist for several components: - Mobile money rails (described in Book 6 of this series) implement many DCAI properties — mesh agent networks, local decision-making, graceful degradation — though they were not designed under the DCAI framework explicitly. - Off-grid solar microgrids using peer-to-peer load balancing have been deployed in pilot form in Kenya, Tanzania, and Zimbabwe using principles similar to those described in WP5. - Mesh communication networks (Firechat, Bridgefy, local community WiFi in Zimbabwe and South Africa) demonstrate the networking layer.
What does not yet exist is a fully open, multi-domain DCAI reference implementation covering sensing, cognition, coordination, and governance across energy, water, payments, logistics, and sensing. Building that is the work of the next five years.
The author welcomes implementations, critiques, forks, corrections, and deployments. The specifications in this paper are provisional; they will be revised as real deployments surface failures, edge cases, and better approaches.
Garikai, C. (2026). Distributed Cognitive Autonomous Infrastructure: Collected DCAI Working Papers + Manifesto. ColdCode Si Labs, Harare. CC BY 4.0.
BibTeX:
@book{garikai2026dcai,
author = {Garikai, Courage},
title = {Distributed Cognitive Autonomous Infrastructure:
Collected DCAI Working Papers + Manifesto},
year = {2026},
publisher = {ColdCode Si Labs},
address = {Harare},
license = {CC BY 4.0}
}
Distributed Cognitive Autonomous Infrastructure: Collected DCAI Working Papers + Manifesto First edition, November 2026 © 2026 Courage Garikai. Licensed under Creative Commons Attribution 4.0 International (CC BY 4.0). You are free to share, copy, redistribute, adapt, and build upon this work for any purpose, provided you give appropriate credit, indicate if changes were made, and do not impose additional restrictions. Full license: https://creativecommons.org/licenses/by/4.0/ Published by ColdCode Si Labs, Harare, Zimbabwe DCAI Working Paper Series No. 1 Cover: ColdCode Si Labs oxblood/cream/navy design — distributed node mesh motif Trim: A4 (210 × 297 mm) Typeset in Georgia (serif body) and Helvetica Neue (sans-serif heads) Manifesto + five working papers + implementation reference + colophon = 33 pages
Online reader: https://library.coldcode-si-labs.workers.dev/preview/dcai Specifications repository: https://github.com/king-kunta-cpu/dcai Contact: couragegarikai@atomicmail.io
Distribute the cognition. Keep humans sovereign.