A lightweight microkernel framework for distributed LLM inference on Jetson Orin Nano. 114KB binary, 100+ agents, zero-copy IPC.
A complete embedded AI framework with distributed inference, hardware acceleration, and enterprise-grade security.
114KB core with O(1) memory allocation, zero-copy IPC, and 7-state agent runtime.
Flash Attention, LayerNorm, GELU kernels optimized for Ampere. FP16/INT8 precision.
Multi-agent coordination with mesh VPN. Pipeline and tensor parallelism support.
Ed25519/RSA-PSS-4096/ECDSA-P256 signatures, secure boot, ASLR, stack canaries.
DVFS with 7W/10W/15W profiles. Thermal throttling and fan control for Orin Nano.
322 unit tests, HIL framework, benchmark suite, and penetration testing.
ClawSwarm follows a clean layered design with hardware abstraction at the bottom and application demos at the top.
#include <clawswarm.h> // Initialize the swarm swarm_demo_context_t ctx; swarm_demo_config_t config; swarm_demo_get_default_config(&config); config.agent_count = 16; config.enable_tensorrt = true; swarm_demo_init(&ctx, &config); swarm_demo_start(&ctx); // Submit inference task swarm_demo_submit_inference( &ctx, "Explain quantum computing", 128, // max_tokens 5, // priority callback, NULL ); // Get real-time metrics swarm_demo_metrics_t metrics; swarm_demo_get_metrics(&ctx, &metrics); printf("Throughput: %.1f tok/s\n", metrics.swarm_throughput[0]);
13 milestones completed. 322 tests passing. Production ready.
Run interactive demos to experience the swarm coordination.
Multiple agents working together to process inference requests in parallel.
./swarm_demo collaborative -a 16
Dynamic task distribution with real-time load monitoring and rebalancing.
./swarm_demo loadbalance -d 120
Automatic recovery from agent failures with zero service disruption.
./swarm_demo fault
Get started with ClawSwarm in minutes. Clone the repo, build with make, and run your first swarm demo.
# Clone the repository git clone https://github.com/t4tarzan/clawswarm.git cd clawswarm # Build everything make clean && make # Run the swarm demo ./build/swarm_demo collaborative -a 16