Open Source

Projects

Open-source infrastructure, research tools, and experiments from Cognitive Mesh Lab. All production code, no toy examples.

GitHub: cognitive-mesh-lab ↗
cognitive-meshActiveFeatured

ORCHESTRATION FRAMEWORK

Unified orchestration layer bridging I2C, BLE, and TCP/IP protocols with federated ML agent communication. The core research prototype for the PhD programme.

Edge AIFederated LearningIoTMulti-agent

// Rust

  • 5-crate Cargo workspace
  • Typed envelope protocol (data + gradients)
  • HAL traits: I2C, BLE, TCP/IP, SPI
  • FedAvg aggregation — 98.2% loss reduction
  • Swap sim drivers for real hardware (rppal, btleplug)

ALL CRATES & REPOS

Repository Index

cm-halActive

Rust

Protocol-agnostic HAL traits for embedded systems. Implements CmRead, CmWrite, CmTransport for I2C, SPI, UART, TCP/IP and BLE. no_std compatible via embedded-hal.

embedded-halIoTno_std
View on GitHub →
cm-brokerActive

Rust

Typed envelope format and routing engine. Protocol translation layer that normalises I2C, TCP, and BLE frames into unified envelopes carrying data or ML payloads.

MessagingProtocolSerialisation
View on GitHub →
cm-agentActive

Rust

Federated learning agent lifecycle — local training, gradient broadcast, FedAvg aggregation. Swap LocalModel for any neural net via the same trait interface.

Federated LearningAgentsML
View on GitHub →
cm-weightsActive

Rust

Cross-layer routing surface with node capability registry. Routes data and ML weights to the correct protocol without callers knowing the transport mechanism.

RoutingCapability Registry
View on GitHub →
cognitivemeshlab.fiLive

TypeScript

The lab website — Next.js 14, Tailwind, TypeScript. Static export deployable to any CDN. Full source available.

Next.jsWebsiteOpen Source
View on GitHub →

COMING SOON

In Development

cmop-identityRustEd25519 cryptographic identity for edge agents — Layer 1 of CMOPQ3 2026
cmop-auctionRustSealed-bid double auction engine for agent resource economyQ4 2026
cm-pytorch-bridgePython + RustPython FFI bridge for using PyTorch models with cm-agentQ2 2026
csi-har-datasetDatasetWiFi CSI human activity recognition dataset from CWC testbed2027