Skip to main content

Autonomous multi-agent robotics system with DRL-First Hybrid FDIR

Project description

Python 3.8+ License: MIT Platforms v3.0

    ████████████████████████████████
   ████████████████████████████████
  █████╔═══════════════════╗█████
  █████▄████▄   ▄████▄█████
  ██████████████████████████
  █████║ ██████████████ ║█████
  █████║ █▀▀████████▀▀█ ║█████
  █████▀████▀   ▀████▀█████
  █████║▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄║█████
  █████║  ━━━━━━━━━━━━━━━  ║█████
  █████▌ AETHER  v3 ▐█████
  █████║  ━━━━━━━━━━━━━━━  ║█████
  █████╚═══════════════════╝█████
   ████████████████████████████████
    ████████████████████████████████

AETHER v3

Adaptive Embodied Task Hierarchy for Executable Robotics

DRL-First Hybrid FDIR · Multi-Agent · Self-Correcting


AETHER is a multi-agent robotics framework that detects, diagnoses, and recovers from hardware faults in real time using a Deep Reinforcement Learning-first approach. It auto-discovers whatever hardware is connected — webcam, GPIO motors, flight controller — builds a capability manifest, and constructs a complete autonomy stack from planning through execution. A PPO neural network serves as the primary fault detector, backed by rule-based safety checks and temporal validation, achieving perfect detection and recovery rates on real hardware across thousands of operational steps.


Quick Start

# 1. Install dependencies (auto-detects your platform)
bash install.sh

# 2. Run the simulation with fault injection and performance plots
python main.py --mode sim --faults enabled --scenario compound --plots

# 3. Run on real hardware (webcam + system telemetry)
python main.py --mode realworld --continuous

What It Does

DRL-First Hybrid FDIR

Traditional fault detection relies on hand-written threshold rules that break when conditions change. AETHER inverts this: a PPO neural network (15-dim observation → 64 → 64 → 8 fault classes) is the primary detector, with rule-based checks as a safety backup. The network self-bootstraps from scratch using the rule detector as a teacher, then surpasses it through online learning.

The detection pipeline runs every step:

  1. PPO Network infers fault class probabilities from the 15-dimensional observation vector (battery, IMU, temperature, obstacle distances, mission progress)
  2. Temporal Validation filters transient spikes to prevent false positives
  3. Confidence Arbitration (threshold τ=0.12) decides whether to alert
  4. Critical Bypass (σ≥0.80) escalates severe faults directly, skipping temporal filtering

Fault classes: SENSOR_FAILURE, ACTUATOR_DEGRADATION, POWER_CRITICAL, THERMAL_ANOMALY, IMU_DRIFT, INTERMITTENT_FAULT, SAFE_MODE

Auto-Configuration

AETHER discovers its own hardware at startup — no config files required. ToolDiscovery probes for cameras (OpenCV, picamera2), GPIO pins (RPi.GPIO, gpiozero), flight controllers (MAVLink over serial/USB), I2C sensors, network interfaces, and AI models (YOLOv8, Claude API). The result is a capability manifest that drives everything downstream: ToolBuilder constructs only the tools that will work, NavigationEngine selects the correct autonomy level, and LLMPlanner avoids planning with unavailable hardware.

Three capability levels adapt automatically:

Level Hardware Capabilities
1 Camera only Visual scan, object detection, scene description
2 Camera + GPIO motors Level 1 + navigation, obstacle avoidance, color tracking
3 Camera + MAVLink FC Level 2 + takeoff, landing, waypoint navigation, RTL

Benchmark Results

Metric Simulation (5,000 runs) Real Hardware (6,023 steps)
SFRI 60.07 69.99
Detection Rate 85–95% 100%
Recovery Rate 80–90% 100%
False Positive Rate 2–5% 0.0%
MTTD (steps) 3–8 < 2
MTTR (steps) 5–15 < 5

SFRI (Stability Fault Recovery Index) = 35×DR + 25×(1 − MTTR/max_steps) + 10×RR − 30×FPR Range: 0–70. Higher is better.

Real hardware outperforms simulation because the physical system encounters genuine sensor noise that the PPO network learns to distinguish from actual faults, while simulation injects idealized fault signatures that can mislead the temporal validator.


Supported Hardware

Platform Camera Motors Flight Controller Notes
Laptop + USB webcam OpenCV (cv2) Level 1 autonomy, development & testing
Raspberry Pi + Pi Camera picamera2 / cv2 Level 1, headless visual perception
Raspberry Pi + GPIO motors picamera2 / cv2 RPi.GPIO / gpiozero Level 2, ground vehicle navigation
Raspberry Pi + SpeedyBee FC picamera2 / cv2 MAVLink (pymavlink) Level 3, autonomous drone flight

Additional supported interfaces: I2C sensors (smbus2), serial UART, ultrasonic rangefinders, IMU, temperature probes, LiDAR, battery monitoring.


Architecture

┌──────────────────────────────────────────────────────────────────┐
│                        AETHER v3 PIPELINE                        │
├──────────────────────────────────────────────────────────────────┤
│                                                                  │
│  ┌──────────────┐    ┌──────────────┐    ┌──────────────────┐   │
│  │ ToolDiscovery │───▶│ ToolBuilder  │───▶│  ToolRegistry    │   │
│  │ probe hw/sw   │    │ build tools  │    │  register all    │   │
│  └──────────────┘    └──────────────┘    └────────┬─────────┘   │
│         │                                          │             │
│         ▼                                          ▼             │
│  ┌──────────────┐    ┌──────────────┐    ┌──────────────────┐   │
│  │  Calibration  │    │  GoalParser  │───▶│   LLMPlanner     │   │
│  │  Wizard       │    │  NL → struct │    │  Claude / kw     │   │
│  └──────────────┘    └──────────────┘    └────────┬─────────┘   │
│                                                    │             │
│                                                    ▼             │
│  ┌───────────────────────────────────────────────────────────┐   │
│  │                   EXECUTION LOOP                          │   │
│  │  ┌─────────────┐  ┌──────────────┐  ┌────────────────┐   │   │
│  │  │ Navigation  │  │  Perception  │  │  Correction    │   │   │
│  │  │ Engine      │  │  Agent       │  │  Agent         │   │   │
│  │  │ L1/L2/L3    │  │  15-dim obs  │  │  verify steps  │   │   │
│  │  └──────┬──────┘  └──────┬───────┘  └────────────────┘   │   │
│  │         │                │                                │   │
│  │         ▼                ▼                                │   │
│  │  ┌─────────────────────────────────────────────────────┐  │   │
│  │  │              FAULT AGENT (DRL-First)                │  │   │
│  │  │  PPO Network ──▶ Temporal Validation ──▶ Response   │  │   │
│  │  │  (15→64→64→8)    confidence filter      adaptation  │  │   │
│  │  │       ▲               ▲                     │       │  │   │
│  │  │       │               │                     ▼       │  │   │
│  │  │  Rule Backup    Memory Agent         Recovery       │  │   │
│  │  │  (safety net)   (experience)         Action         │  │   │
│  │  └─────────────────────────────────────────────────────┘  │   │
│  └───────────────────────────────────────────────────────────┘   │
│                              │                                   │
│                              ▼                                   │
│  ┌──────────────────────────────────────────────────────────┐    │
│  │  MetricsTracker  ──▶  Visualizer  ──▶  logs/plots/      │    │
│  │  SFRI · MTTD · MTTR · DR · RR · FPR · reward curves    │    │
│  └──────────────────────────────────────────────────────────┘    │
└──────────────────────────────────────────────────────────────────┘

CLI Reference

Flag Default Description
--mode {sim,agent,realworld,server} sim Operating mode
--task TEXT "navigate to target" Natural language task objective
--robot {rover_v1,drone_v1} rover_v1 Robot platform configuration
--scenario {simple,obstacles,imu_fault,battery,compound,fault_heavy} simple Simulation scenario
--faults {disabled,enabled,heavy} disabled Fault injection level
--max-steps N 300 Maximum steps per episode
--seed N 42 Random seed
--port N 8080 HTTP server port (server mode)
--render off ASCII render each simulation step
--plots off Generate matplotlib plots after run
--verbose off Debug logging
--continuous off Run indefinitely in realworld mode
--no-learning off Disable online PPO learning (fixed weights)
--calibrate off Run hardware calibration wizard
--recalibrate off Force re-calibration over existing profile
--auto-calibrate off Camera-only auto calibration (no prompts)
--auto-install off Install missing packages without asking
--auto-update off Update without asking
--no-install off Skip install prompts
--no-update off Skip update check

Project Structure

aether/
├── core/               # Discovery, planning, execution, metrics
│   ├── tool_discovery   # Hardware/software capability probing
│   ├── tool_builder     # Construct tools from manifest
│   ├── tool_registry    # Register executable tools
│   ├── navigation_engine# 3-level hardware-agnostic navigation
│   ├── llm_planner      # Claude-based task planning
│   ├── calibration      # Interactive hardware calibration
│   ├── metrics          # SFRI, MTTD, MTTR tracking
│   └── visualizer       # Plot generation
├── agents/              # Domain-specific agents
│   ├── fault_agent      # DRL-First Hybrid FDIR (PPO)
│   ├── perception_agent # 15-dim observation construction
│   ├── adaptation_agent # Fault recovery actions
│   ├── camera_agent     # Visual processing
│   └── ...              # power, thermal, navigation, memory
├── simulation/          # Physics environment, scenarios
├── faults/              # Fault injection & detection
├── adapters/            # Hardware abstraction (rover, drone)
configs/                 # Robot profiles (rover_v1, drone_v1)
weights/                 # Pre-trained PPO network weights
tests/                   # Test suite

Citation

If you use AETHER in your research, please cite:

@software{aether2026,
  title     = {AETHER: Adaptive Embodied Task Hierarchy for Executable Robotics},
  author    = {Paatur, Chahel},
  year      = {2026},
  version   = {3.0},
  note      = {DRL-First Hybrid FDIR with multi-agent auto-configuration},
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aether_robotics-3.0.5.tar.gz (139.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aether_robotics-3.0.5-py3-none-any.whl (149.7 kB view details)

Uploaded Python 3

File details

Details for the file aether_robotics-3.0.5.tar.gz.

File metadata

  • Download URL: aether_robotics-3.0.5.tar.gz
  • Upload date:
  • Size: 139.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.15

File hashes

Hashes for aether_robotics-3.0.5.tar.gz
Algorithm Hash digest
SHA256 effc7dba0d6ecc860cd83c187082f4c96908d9f182deccc7f4489d4366c12bfc
MD5 dc5806ae7059aabad5fdabaecfeaf838
BLAKE2b-256 602c2a3e1cccd64d56a9ab79650a004c03bc900aeab21702222aeb205efbe80f

See more details on using hashes here.

File details

Details for the file aether_robotics-3.0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for aether_robotics-3.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 732560cf7380cc0e81efc43c9f385c978ee4882526d04b9e6ac45f23de8e1b2e
MD5 fbb5e6dfe86c4852d34d5b6688618d9e
BLAKE2b-256 e71924e38929ecb1f04dc179f5b8870b8d9b58f8638ebf01ad51b66a70de0970

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page