Skip to main content

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

Project description

PyPI Python 3.8+ License: MIT GitHub Stars Platforms v3.3.3

    ████████████████████████████████
   █░██████████████████████████████░█
  █░████╔═══════════════════╗████░█
  █░████║  ▄████▄   ▄████▄  ║████░█
  █░████║ ████████████████ ║████░█
  █░████║ ██░██████████░██ ║████░█
  █░████║ █▀▀████████▀▀█ ║████░█
  █░████║  ▀████▀   ▀████▀  ║████░█
  █░████║▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄║████░█
  █░████║  ━━━━━━━━━━━━━━━  ║████░█
  █░████║  ▌ 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
pip install aether-robotics

# 2. Calibrate your hardware
aether --calibrate

# 3. Run in agent mode
aether --mode agent

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

Platform SFRI Detection Rate Recovery Rate FPR
Laptop (simulation, 5,000 runs) 60.07 74.7% 80–90% 2–5%
Raspberry Pi (real hardware, 6,023 steps) 69.99 100% 100% 0.0%
SpeedyBee Drone TBD TBD TBD TBD

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 Details
:computer: Laptop + USB webcam Level 1 autonomy — development & testing
:strawberry: Raspberry Pi + Pi Camera Level 1 — headless visual perception
:strawberry: Raspberry Pi + GPIO motors Level 2 — ground vehicle navigation
:helicopter: Raspberry Pi + SpeedyBee FC Level 3 — autonomous drone flight

Additional: I2C sensors, 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    │    │
│  └──────────────────────────────────────────────────────────┘    │
└──────────────────────────────────────────────────────────────────┘

Calibration

The CalibrationWizard runs when new hardware is detected that hasn't been profiled before. It walks through 7 phases:

  1. Component Identification — asks robot type (ground, aerial, arm, aquatic, custom)
  2. Motor Mapping — tests each channel at low power, records what physically moved
  3. Camera-Assisted Verification — uses optical flow to confirm motor-to-function assignments
  4. Environment Mapping — drives a grid pattern to build a 100x100 occupancy grid
  5. Safety Limits — sets per-component speed/angle/power limits
  6. Capability Generation — saves a JSON robot profile to configs/
  7. Action Generation — builds the correct action set for the detected robot type

Run with --auto-calibrate for headless (no interactive prompts) calibration using camera feedback only.


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

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},
  url       = {https://github.com/ChahelPaatur/AETHER},
  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.3.5.tar.gz (218.3 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.3.5-py3-none-any.whl (197.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for aether_robotics-3.3.5.tar.gz
Algorithm Hash digest
SHA256 9db0880c0ecf990f6fedb683535bc71ccad86925624ef22d3266fa333d7ad776
MD5 665ef40702694f399a8704c29f3bba5a
BLAKE2b-256 21adb63a0217d330bda27097bf5f2b7b37022a9698734ab710803b831e398d8c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for aether_robotics-3.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 8070e029fe580e58b4d871d4f115dc51c9fd4f9beca8a53dceba1fa8c93f4323
MD5 bd9990460e76518cbe1bee07ff7bf641
BLAKE2b-256 fbaf6abcbaf522ee210941c965a6b67e7296718722b9dab43b5685e252f29a51

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