Skip to content

AegisX-dev/AegisNode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Aegis Node: Predictive Compute Distribution

Anticipating system bottlenecks before they crash your workflow.

Aegis Node is a proactive, localized resource management engine and simulated peer-to-peer compute grid. Built for DevGathering 2K26, it shifts the paradigm from reactive monitoring to predictive load balancing using offline, local AI.


πŸš€ The Core Innovation

Modern development workflows (Local LLMs, multi-container Docker builds, heavy IDEs) have outpaced standard consumer hardware. Aegis Node solves this by:

  1. Predicting the Crash: A background daemon feeds real-time hardware telemetry (CPU/RAM/Thermals) into a quantized local ML model (phi3:mini via Ollama).
  2. Privacy-First AI: Inference runs 100% offline. Your proprietary code and system metrics never leave the host machine.
  3. Autonomous Offloading: When a 90%+ probability of memory exhaustion is predicted, the system automatically routes the pending heavy process to an available "idle node" on a localized P2P community network.

πŸ›  Repository Structure

This repository contains the three core microservices of the Aegis Node ecosystem:

  • /aegis-cli: The "Watcher." A background Node.js/TypeScript daemon that monitors system health and communicates with the AI layer.
  • /aegis-api: The "Router." An Express.js mock controller that simulates the P2P grid, manages node registration, and handles offload requests.
  • /aegis-dashboard: The "Command Center." A Next.js (App Router) visual analytics dashboard that renders real-time telemetry and network status.

⚑ Tech Stack

  • Frontend: Next.js, TailwindCSS, Recharts, Framer Motion.
  • Backend: Node.js, Express.js, Socket.io (Real-time Full-Duplex).
  • CLI Daemon: TypeScript, systeminformation.
  • AI/ML: Ollama (phi3:mini time-series forecasting).
  • Database: Supabase (PostgreSQL).
  • Package Manager: pnpm.

πŸ”§ Installation & Setup

Prerequisites

AI Setup

ollama pull phi3:mini

Running the Ecosystem

  1. Start the Backend:
    cd aegis-api && pnpm install && pnpm run dev
  2. Start the Dashboard:
    cd aegis-dashboard && pnpm install && pnpm run dev
  3. Launch the CLI Watcher:
    cd aegis-cli && pnpm install && pnpm start

πŸ›‘ Security & Privacy

Aegis Node is built on the principle of Responsible AI. By leveraging local inference, we ensure that telemetry data remains strictly on the user's hardware. In a future production environment, all P2P tasks will be executed within isolated, secure Docker sandboxes.


πŸ‘₯ The Team

Built by Team Aegis (Dev Sharma & Sambhav Sharma) for DevGathering 2K26.

About

Predictive resource management using local AI (Ollama/phi3:mini) to forecast hardware bottlenecks before they crash your workflow. Features real-time telemetry, P2P offload simulation, and a Next.js command center. Built for DevGathering 2K26. 100% offline, privacy-first, and developer-native infrastructure.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors