Skip to content

Repository files navigation

Sponsor

SLIME FLOW // SENTINEL // VEILPIERCER

🧫 I built a swarm brain for autonomous machines β€” powered by a GPU, inspired by slime mold. No central controller. No cloud. No single point of failure. It's called Slime Flow. Here's what it does: β†’ 512 agents coordinate using pheromone trails β€” no instructions, no map, no leader β†’ Fault zones appear β€” the swarm reroutes in milliseconds β†’ Rogue agents infiltrate β€” Veilpiercer detects them, scores their anomaly, quarantines them live β†’ All of it running on an RTX 4060, streamed to the browser in real time The same logic slime mold has used for 500 million years. Applied to drones, robots, and AI agent networks. Demo: https://youtu.be/UiYcXbyOEvQ Repo: https://github.com/flipperspectives-crypto/slime-flow Open to conversations with anyone building autonomous systems who needs a coordination layer that actually survives chaos. #swarmAI #autonomoussystems #biomimetic #drones #robotics #AIinfrastructure #Julia #CUDA

Biomimetic swarm intelligence for autonomous machines β€” no central controller, no cloud, no surveillance.

License: MIT Status: Active GPU: RTX 4060 Julia Self-host: Free AgentGuard: 0.2.1


Self-host free forever (SLIMEFLOW_BILLING=0). Quarantine real rogue agents β†’ Option D. Looking for design partners β†’ issue #2. Support β†’ GitHub Sponsors (pending approval).

Live Demo

Slime Flow Live GPU Demo

β–Ά Watch the live GPU demo on YouTube

RTX 4060 running Julia CUDA kernels β†’ streamed live to browser. Rogues infiltrating, Veilpiercer quarantining, fault zone forcing swarm reroute in real time.


What Is This

Slime mold has navigated mazes, found optimal paths, and survived chaos for 500 million years β€” without a brain, without a leader, without a map.

Slime Flow applies the same principles to autonomous machines: self-driving vehicles, drone swarms, warehouse robots, and AI agent networks.

Three layers:

Layer Role
Slime Flow Living pheromone trails that grow, pulse, and reroute with no central controller
Sentinel Protective membrane monitoring swarm survivability, flow stability, and egress capacity in real time
Veilpiercer Rogue agent detection, behavioral anomaly scoring, data leak monitoring, and quarantine

No cloud dependency. No central server. Runs fully offline on edge hardware.


Run It

Option A β€” Browser only (no install)

Open slimeflow_veilpiercer.html directly in any browser.

Button Action
πŸ‘ VEIL ON/OFF Toggle rogue detection β€” turn it off and watch chaos spread
☠ ROGUES Spawn 8–16 rogue agents near existing clusters to blend in
⚑ FAULT Inject a kill zone β€” Guardians are immune, others reroute
β†Ί RESET Full reset
Click canvas Drop a pheromone burst anywhere

Option B β€” Live GPU bridge (requires Julia + NVIDIA GPU)

julia server.jl

Then open slimeflow_live.html in Chrome. Connects to localhost:8080 and renders live GPU frames at ~18 FPS. See BRIDGE.md for full setup.

Option C β€” Python SDK

pip install -e python-sdk/
from slimeflow import SlimeFlow

sf = SlimeFlow()
sf.spawn_rogues()

for frame in sf.stream(max_frames=100):
    print(f"Step {frame.step}: {frame.rogue_count} rogues, integrity {frame.integrity():.0f}%")

See python-sdk/README.md for full API docs. Async + numpy support available.


Agent Types

Agent Count Behavior
πŸ”΅ Scout 80 Fast, exploratory, weak pheromone sensing β€” often ignores trails
🟒 Harvester 200 Slow, heavy deposit β€” classic slime mold pathfinding
🟑 Guardian 60 Patrols boundaries, survives fault zones
🟠 Emergent 80 Adaptive speed and deposit, responds to flow pressure
🟣 Rogue 0 (spawned) Chaotic movement, invisible pheromone signature, builds anomaly score

Veilpiercer β€” How It Works

Every agent carries an anomaly score. Rogues accumulate +0.08 per step. Normal agents decay -0.002 per step.

When a rogue's anomaly score exceeds 0.6, Veilpiercer quarantines it β€” drawn with a purple X ring, removed from the flow, logged to the event console.

Rogues leave a separate rogue_pheromone trail (purple overlay when Veil is ON). With Veil OFF, rogue trails spread undetected across the entire swarm.


GPU Simulation (Julia)

The core pheromone engine runs GPU-accelerated on CUDA via Julia:

using CUDA

const W, H = 128, 128
const N_AGENTS = 512

pheromone = CUDA.zeros(Float32, W, H)
ax = CUDA.rand(Float32, N_AGENTS) .* W
ay = CUDA.rand(Float32, N_AGENTS) .* H

# Live output:
# Device: NVIDIA GeForce RTX 4060 Laptop GPU
# Serving on http://localhost:8080 at ~18 FPS

Tested on: NVIDIA RTX 4060 Laptop GPU (8GB VRAM), Julia 1.12, CUDA 13.2, Driver 595.71.0


Option D β€” Agent guard (real rogue LLM agents)

Income flywheel + prepaid metering: see MONETIZE.md.

$0 bootstrap: FREE_LAUNCH.md Β· SPONSORS.md Β· LAUNCH_POSTS.md

Same Veilpiercer threshold (0.6), but for live agents β€” not the pheromone sim.

pip install -e python-sdk/
python -m slimeflow.server --host 127.0.0.1 --port 8080
python python-sdk/examples/rogue_agent_demo.py

In-process gate before high-impact tools:

from slimeflow import guard

gate = guard.check("my-bot")
if not gate["allowed"]:
    raise RuntimeError(gate["reason"])

result = guard.report(
    "my-bot",
    "send",
    tool="gmail.send",
    detail="outreach blast",
    user_confirmed=False,  # will quarantine fast
)

HTTP: GET /agents, POST /agents/report, GET /agents/{id}/check, POST /agents/{id}/release, POST /agents/{id}/quarantine.

Roadmap

  • GPU pheromone simulation (Julia + CUDA)
  • 5 agent types with emergent behavior
  • Veilpiercer rogue detection + quarantine
  • Fault injection + self-healing
  • Live HTML visualization dashboard
  • Julia β†’ browser bridge (live GPU stream)
  • Python SDK
  • Rust SDK
  • ROS2 integration for real hardware
  • Edge deployment (Jetson Nano / Raspberry Pi)
  • Enterprise privacy audit logs

Use Cases

  • Autonomous vehicles β€” organic rerouting without cloud map updates
  • Drone swarms β€” mission continues when agents are lost
  • Warehouse robots β€” no central scheduler, bottlenecks dissolve automatically
  • AI agent networks β€” Veilpiercer catches prompt injection and rogue behavior
  • Critical infrastructure β€” decentralized mesh with no single point of failure

Philosophy

Current autonomous systems are fragile by design: one server goes down, the swarm freezes. One breach, everything is exposed. One outage, the fleet stops.

Nature solved this differently. Slime Flow is built on the same principles nature used β€” emergent, decentralized, fault-tolerant, and 100% private by default.

No telemetry. No cloud dependency. No surveillance.


License

MIT β€” see LICENSE


Built By

On The Lolo β€” AI Infrastructure
flipperspectives@gmail.com

About

No description or website provided.

Topics

Resources

Contributing

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages