Architecture

7 Key Architectures

Summary

Tech Description
Message Architecture Message in 3 Modular Parts:
Ephemeral Headers | Path/AI Meta | Payload
More
Propagation Architecture Message Packets are sent in a Fractal Pattern. Federated Learning will determine fractal hops versus singular hops.
More
Crawler Architecture IP as Baseline, alternates to Bluetooth Radio or UDP Hole Punching.
More
Intelligence Layer [AI] Architecture Intelligence Layer Stores Success/Fail Paths WITHOUT the PAYLOAD , Learns and Shares to the swarm.
More
Self-Healing | Self-Pruning Architecture Every SUCCESSFUL HANDOFF, Packages are deleted in Transient, Non-Destination Devices, Freeing Resources and Cleaning up.
If successful pathways are not available, new paths will be sought, until a recognized success path is taken.
More
Singularity Architecture Horizontal Singularity
The MATHEMATICS for maximizing a successful delivery while minimizing device hops. A saturation or singularity would be achieved when all paths between devices are mapped.

Vertical Singularity
The MATHEMATICS of minimum Message Packet units for Successful Delivery until the lowest Latency is achieved. The system is built to always decrease FAILURE DECAY.
More
Privacy Architecture Encrypted Modular Message Payloads are not needed for path scoring or analysis by AI, they can be deleted after every Successful HANDOFF. It will always be EPHEMERAL while in transit.
Message Payloads can only be decrypted by the matching hash of the Destination Device.
More
Started June 2025

Mamawmail MULTICASTING

Multicasting will be developed when the critical mass of paths have been mapped. Mathematical Models and real-world Testing are needed.

IFPP

Intelligent Fractal Propagation Protocol

Summary

More

Technology

The Swarm is the Server

Summary

The Swarm is the AI

Fractal Macro AI + Fractal Micro AI [Multi-Level AI]

🌐 Macro AI Layer (Swarm-Wide)

  • Fractal Propagation Strategy
  • Global Message Routing Optimization
  • Collective Learning from Device Histories
↓

πŸ“‘ Micro AI Layer (Per Device)

Node A
Trust: ↑
Latency: ↓
Node B
Score: Medium
Node C
Cache Overflow
Node D
Been Here βœ”οΈ
Node E
Hop Retry: 1

Each node learns locally, adapts, and contributes to swarm intelligence

$$ \text{FractalPropagation}(n) = 3^n - \text{VisitedNodes} $$
$$ \text{TrustScore}_{device} = \frac{\text{SuccessfulHops}}{\text{TotalAttempts}} $$
Built for MAMAWMAIL | Illustrating Distributed AI with Local Autonomy and Global Emergence







A. Swarm-Level AI

MAMAWMAIL's decentralized network doesn't rely on one central AI. Instead, intelligence emerges from a swarm of devices: Micro AI handles routing and trust per device, while Macro AI learns across the entire swarm to guide propagation, optimize delivery, and control fractal behavior.
Monitors System of Devices, their info and knowledge of aggregated pathway lessons. Optimization for message success rate vs network load.

This architecture merges local autonomy and global learning into a self-improving system.


Swarm-Level AI can adjust:

  • Propagation Radius;
  • Max Fractal Hops per device, Start Singular Hops;
  • Grouping/Clustering, and other macro-level management;

β†’ View Full Diagram and Explanation

B. Device-Level AI

MAMAWMAIL's Device-Level AI Agent on each device [mainly] a lightweight scoring function.
Learns:

  • Best neighbors for routing.
  • Local traffic conditions. [Crawler AI]
  • Success/failure of past hops.

Output:
  • Propagation Control: Crawler 'Been Here' Packet Acceptance/Rejection
  • Transmit / Handoff Logic
  • Retrieval, Incorporation of System Learned Pathways

AI Architecture Comparison: Gemini vs. MAMAWMAIL

While Google Gemini AI powers centralized, cloud-based intelligence for search tasks, MAMAWMAIL operates on a radically different model β€” a decentralized swarm where intelligence is distributed. Here's a side-by-side breakdown of how each system handles core AI components:

Component
Google Gemini AI
MAMAWMAIL AI Layer
Query Parsing
LLM on server
Micro AI classifies message priority
Context Awareness
Gemini contextualizes search
Micro AI analyzes device context
Synthesis
Gemini composes direct answer
Macro AI guides swarm routing
Learning Loop
Feedback from user queries
Feedback from packet delivery stats

In essence, Gemini operates as a cloud monolith with powerful but centralized intelligence. MAMAWMAIL flips the model: by embedding local learning into each node and coordinating behavior swarm-wide, it creates emergent intelligence without centralized servers. This shift from cloud AI to edge-swarmed AI marks a foundational innovation in decentralized messaging and infrastructure resilience.

More

Mathematics

Vertical & Horizontal Singularities


Horizontal Singularity Summary

Horizontal singularity models the minimum number of unique paths needed to fully saturate routing knowledge across a distributed swarm. In Mamawmail, this means discovering at least one directed route for every device pair \((i \rightarrow j)\), with each hop limited to 3 outbound unvisited peers per device for up to 4 hops (fractal phase).

This metric is critical for efficiency and determinism: once routing saturation is achieved, further messages need not explore β€” they follow known paths. This defines the moment when swarm behavior shifts from probabilistic flooding to deterministic forwarding.



Horizontal Saturation :

\[ \quad \sum_{i=1}^{N} \sum_{\substack{j=1\\ j \ne i}}^{N} \text{ReachablePaths}_{i \rightarrow j} \geq N \cdot (N - 1) \]

Where:

  • N = Total number of devices
  • ReachablePathsiβ†’j = Unique directed paths between each device pair
  • Each hop branches to 3 unvisited peers, up to 4 hops max

Routing saturation is not just a theoretical milestone β€” it reflects a shift to AI-aware routing tables that can score and select paths based on energy, latency, or trust. Horizontal singularity lays the mathematical groundwork for building adaptive mesh topologies where every node becomes a path-aware router.



Routing Table Saturation Summary for a 10-Device Mamawmail pre-AI SWARM:

Calculating...

Fractal Saturation Simulation – Routing Path Discovery

Theoretical Horizontal Saturation Points for Swarm Sizes Pre-A.I. (No Intelligence Layer/Pre Federated-Learning)
Number of Devices (N) Total Directed Paths (N Γ— (N - 1))
1090
1009,900
1,000999,000
10,00099,990,000

Horizontal Singularity represents convergence β€” the point at which the swarm knows how to reach every other peer without rediscovery. Mamawmail’s adaptive routing tables will later compress this data using machine scoring, but the singularity gives the swarm a self-learned map: no servers, no indexes β€” just pure, emergent reachability.

More






Vertical Singularity Summary

Vertical singularity refers to how many distinct message packets a single device must send to ensure successful delivery to all other devices β€” even if 90% of the swarm goes offline.

Unlike the horizontal case (which maps all paths between all pairs), this focuses on resilience by redundancy for a single sender (Device 0). The goal is to ensure every destination has multiple distinct paths that do not share critical middle relays.

\[ \text{Vertical Singularity: } \quad M \geq \left\lceil \frac{T - P_{\text{first}}}{P_{\text{linear}}} + 1 \right\rceil \]

Where:

  • M = Total Messages Sent
  • T = Number of Target Devices (T = N βˆ’ 1)
  • Pfirst = Devices reached in the first 4 fractal hops (up to 81)
  • Plinear = Average additional devices reached per linear tail (adjusted per swarm size)

In fractal propagation, each message branches to 3 devices per hop for the first 4 hops (fractal phase), reaching up to 34 = 81 unique devices. After this, propagation continues linearly, one-to-one. To reach the remaining devices, additional packets fill in the uncovered paths through slow tail growth.

Swarm Growth Over Time

Fractal + Linear Propagation

Estimated Vertical Singularity Packets Needed (Anchored to Fractal + Linear Reach) PRE-A.I. (No Intelligence Layer/Pre Federated-Learning)
Swarm Size (N) Target Devices (T = N βˆ’ 1) Reached on 1st Packet (Pfirst) Linear Reach/Packet (Plinear) Estimated Packets (M)
1099–1
1009981182
1,000999812538
10,0009,9998130332
100,00099,99981352,857

The value of Plinear increases with network size due to greater opportunity for deeper one-to-one propagation. The total packet estimate ensures all nodes are eventually reached through either initial fractal spread or subsequent linear chains.

Vertical Singularity isn't about reaching the swarm quickly β€” it's about doing so robustly. By adapting to fractal expansion and accounting for tail saturation, Mamawmail ensures message survival despite heavy loss. Evaluators should recognize that this scaling model is deterministic, decentralized, and congestion-aware β€” key factors in building sovereign, AI-resilient communication for tomorrow’s distributed societies.

More
Unique IP visitors: ...