v3.netdev.be

πŸ“– Aether Agentic Engineering Platform Guide & Specifications

Welcome to the definitive engineering reference for the Aether Agentic Engineering Platform. This unified guide consolidates our core platform pillars, architectural metrics, hybrid interconnect specifications, and API reference interfaces into a lean, action-oriented handbook.


🌌 Platform Vision & β€œ10x” Architectural Refactor

Aether is a distributed cognitive substrate designed to erase the boundary between human engineering intent and autonomous machine execution. By combining Kubernetes API declarative patterns (KRM) with Google AX event durability, Auto-DB Single-Writer WAL synchronization, gVisor container sandboxing, OpenTelemetry/Prometheus observability, and bi-directional GUI action telemetry, Aether enables autonomous multi-agent swarms to safely provision, validate, and scale production systems across ARM64 edge nodes and Google Cloud Platform.

Legacy K3s Approach vs. Aether Refactored Substrate

| Metric | Legacy K3s Pod Lifecycle | Aether Cognitive Substrate | | :β€” | :β€” | :β€” | | Control Plane Load | High etcd write pressure (persistent polling) | $\approx 90\%$ reduction via offloaded event state consolidators | | Sandbox Isolation | Shared Linux Kernel (Namespaces/Cgroups) | User-space guest kernel intercept via gVisor (runsc) & eBPF filters | | Cold-Start / Migration Latency | Sequential Container Startup (seconds) | CRIU Stateful Live Migration ($28.4\text{ms}$) memory restores | | Container Build SLA | Legacy multi-stage compilation (~20 mins) | Pure TypeScript 2-Stage Node 20 Alpine Vite React 19 build ($<30\text{s}$) | | Hybrid Cloud Interconnect | Static IPsec/BGP VPN tunnels | Tailscale WireGuard (Noise_IKpsk2) + DERP TLS 1.3 + SPIFFE mTLS ($<1\text{ms}$ Direct Egress) | | Hybrid State Sync | High-latency WAN multi-master consensus | Auto-DB Single-Writer WAL Master with MagicDNS discovery & CDC read replicas | | Observability Stack | Manual log parsing | OpenTelemetry gRPC + Prometheus /metrics HUD + Google Cloud Trace | | Security Provenance | Unverified container tags | CycloneDX v1.5 SBOM + Trivy PVC Cache Audit + Cosign SLSA Level 3 | | User Experience | Intermittent Kubernetes API throttling | Sub-second Model Context Protocol (MCP) SSE streams & 60-FPS A2UI VDOM |


πŸ—οΈ The Four-Layer Architecture Stack

Aether Cognitive Substrate Visual Architecture

+-------------------------------------------------------------------------------+
|          LAYER 1: VISUAL AGENTIC COCKPIT (BACKSTAGE REACT 19 & A2UI)          |
|  Real-time developer cockpit. Employs MCP over SSE / WebSockets stream        |
|  mechanics, bi-directional GUI telemetry (sreAgentStore), and 60-FPS A2UI.    |
+---------------------------------------+---------------------------------------+
                                        | (MCP mTLS & OTel Telemetry Trajectories)
                                        v
+-------------------------------------------------------------------------------+
|       LAYER 2: DISTRIBUTED EXECUTION CONTROL PLANE (GOOGLE AX & AUTO-DB)      |
|  Single-Writer Controllers backed by etcd active lease locks and Auto-DB WAL. |
|  All state transitions are recorded inside an append-only transactional log.  |
+---------------------------------------+---------------------------------------+
                                        | (CRIU Live State Migration < 28.4ms)
                                        v
+-------------------------------------------------------------------------------+
|               LAYER 3: HIGH-DENSITY SANDBOX SUBSTRATE (AGENT SUBSTRATE)       |
|  gVisor sandboxed warm worker pools. Captures memory snapshots for sub-30ms   |
|  restorations. Multiplexes ephemeral actors (Polecats) to avoid pod overhead. |
+---------------------------------------+---------------------------------------+
                                        | (Kubernetes API & Tailscale WireGuard Mesh)
                                        v
+-------------------------------------------------------------------------------+
|      LAYER 4: INFRASTRUCTURE CONTROL PLANE (CROSSPLANE & TAILSCALE MESH)     |
|  Single-view hybrid infrastructure mapping Edge Control Plane (100.64.0.1) to |
|  ARM64 worker nodes and Google Cloud Platform (GKE Autopilot & Cloud Run).    |
+-------------------------------------------------------------------------------+

πŸ” Hybrid Cloud Interconnect: Tailscale WireGuard & Auto-DB

Aether bridges on-prem Edge K3s clusters with Google Cloud Platform (europe-west1 primary / europe-west4 HA failover) using a zero-trust Tailscale / WireGuard Control & Data Plane:

  1. WireGuard Protocol (Noise_IKpsk2 & Cryptokey Routing):
    • Employs Curve25519 ECDH key exchange, ChaCha20-Poly1305 AEAD encryption, and Cryptokey Routing inside wgengine, strictly binding each peer’s Curve25519 public key to its authorized Tailnet IP (100.64.x.x/32) and advertised GCP VPC subnets (10.10.2.0/24).
    • Encapsulates encrypted WireGuard frames inside persistent DERP TLS 1.3/HTTPS (TCP/443) relays (fra / ams) via MagicSock, where relays operate as untrusted zero-knowledge forwarders seeing only ciphertext.
    • Enforces Double Encryption combining Layer-3 WireGuard tunnels with Layer-7 SPIFFE/SPIRE X.509 SVID mTLS (spiffe://aether.netdev.be/ns/edge/sa/router).
  2. Cloud Run Gen2 Always-On Subnet Router:
    • Deployed with min-instances=1 and cpu-throttling=false on Google Cloud Run Gen2, attached directly to Shared VPC via ipvlan-eth1 Direct VPC Egress (0.538ms egress RTT).
    • Restores cryptographic state at boot from Google Cloud Secret Manager (TAILSCALE_STATE) strictly into root-only in-memory tmpfs (/tmp/tailscale.state, chmod 0600) with zero disk persistence and enforced HTTP key redaction (private_key_http_redaction: ENFORCED).
  3. Auto-DB Hybrid Single-Writer WAL Architecture:
    • Designates the on-prem edge control plane node (backed by redundant NAS storage and NVMe cache) as the authoritative Single-Writer Write-Ahead Log (WAL) Master.
    • Stateless Cloud Run burst instances (0..50) and GKE Autopilot ARM64 pods (Tau T2A / Axion C4A) auto-discover the master via Tailscale MagicDNS (edge-control-plane.<tailnet-domain>.ts.net:32847) to forward writes over WireGuard, while edge workers and cloud read caches consume asynchronous CDC WAL streams and CRIU memory page deltas for <1ms local reads.

πŸ”Œ API Reference Contracts & Observability Endpoints

Aether employs administrative REST endpoints managed by The Mayor service, paired with high-performance MCP interfaces hosted by the Google AX Server and Prometheus metrics exporters.

A. The Mayor Orchestrator & Telemetry Endpoints

Default base URL: http://localhost:8080 (ax-backend) / http://localhost:3000 (frontend)

B. Standalone Edge Workstation & Hybrid Scale-Out CLI

C. AX MCP Server (Model Context Protocol)

Exposed over mTLS WireGuard tunnels to stream trajectories directly to the visual cockpit.


🧬 Technical Stack Summary


Built with ❀️ by the Agentic Platform Team at ⚑web3.netdev.be⚑