No description
  • Python 81.2%
  • Kotlin 18.4%
  • Shell 0.4%
Find a file
2026-04-03 00:05:12 +00:00
agents/smart_agent feat: implement agent feedback tools and active notifier integration for Cardboard v2 2026-04-02 23:49:37 +00:00
assets/sounds feat(audio): add sci-fi notification sound pack and preset 2026-03-08 02:04:37 +00:00
config fix: agents_registry.yaml — add irc_nick/irc_channels for maya/mei, fix role quoting 2026-03-22 14:29:51 +01:00
docs docs: kali-review of Smart Agent Framework 2026-04-02 21:30:51 +00:00
mobile fix: IRC Presence Worker — pydle→asyncio, _prefill_seen_ids, rate limit 2026-03-27 11:47:43 +01:00
packages feat: implement Atomic Locking for WORK_LOG.md and fix bus publish runtime error 2026-04-02 23:59:26 +00:00
plugins feat: implement visual pulse effect for blocked, failed and needs_input states in Cardboard v2 2026-04-03 00:05:12 +00:00
scripts fix: operative hardening for Cardboard v2 (default task tool, status mapping, abstract notifier target) 2026-04-02 23:53:14 +00:00
tests test: Update worker queue tests for SQLite persistence + add new tests 2026-03-15 16:36:37 +01:00
.gitignore security: Full audit fix — message leak, auth bypass, scope enforcement, mobile hardening 2026-03-15 16:05:05 +01:00
AGENTS.md feat: rias listen_only=false + kali in MANAGED_AGENTS 2026-03-25 12:15:05 +01:00
config.example.yaml feat: OAuth Gateway + Agent Bootstrap integrated into nexus_daemon 2026-03-15 20:13:25 +01:00
config.minimal.yaml feat: agents UI, routing integration and installer flag 2026-03-07 23:19:37 +00:00
config_loader.py fix: IRC channels not showing - IRCConfig missing channels field 2026-03-10 21:18:43 +01:00
guardian_debug.py feat(debug_tools): implement Guardian debug and test suite 2026-03-07 03:27:37 +00:00
headless.py feat: Standalone IRC mode, ZNC integration, GUI fixes 2026-03-07 16:01:21 +01:00
logging_setup.py feat(obs): add debug/log mode and platform gap analysis 2026-03-07 13:54:28 +00:00
main.py fix: listen_only Guard überspringen wenn Agent via Mute-Gate freigegeben 2026-03-27 15:08:41 +01:00
README.md feat(remote): Remote Daemon Mode & WebSocket Event Bridge 🛡️📡📊 2026-03-08 17:00:46 +00:00
requirements.txt feat: implemented real JWT authentication middleware for Nexus Daemon API 2026-03-09 18:25:43 +00:00
start-remote.sh refactor: UI aufräumen — Theme-System, Duplikate entfernt, Struktur bereinigt 2026-03-15 17:09:04 +01:00

420NexusIrcD

Structured IRC Operations & Autonomous Agent Orchestration Platform

420NexusIrcD is a modular, high-performance platform designed for complex IRC operations, autonomous worker automation, and Proxmox-based agent orchestration. It bridges classic IRC communication with modern KI-workloads and infrastructure management.

🚀 Core Principles

  1. IRC-First Intelligence: Advanced IRCv3 transport with ZNC playback filtering and deep event hooks.
  2. Autonomous Automation: Distributed worker queue with atomic claim-locks and intelligent routing.
  3. Infrastructure Orchestration: Native support for Proxmox LXC agent deployment and lifecycle management.
  4. Security & Guarding: Policy-aware execution (ReplyGuard), role-based access control, and comprehensive audit logging.

🛠 System Architecture

The platform is strictly decoupled into functional layers:

Frontend (retro_client)

  • V2.1 Desktop UI: PySide6-based interface with modular Dock-System.
  • Management Hubs: Integrated control for Plugins, Modules, and Worker Profiles.
  • Agents Console: Live-monitoring, audit logs, and real-time status badges for orchestrated agents.
  • Work Board: Kanban-style task tracking and manual intervention palette.

Orchestration & Workers

  • worker_queue: Centralized task management with priority queuing and stale-requeue logic.
  • agent_orchestrator: Registry-based deployment skeleton for Proxmox LXC containers.
  • agentd: Async job scheduler connecting workers to specific runtimes (Shell, Ollama, etc.).

Core & Integration

  • ircstack: High-level IRC transport with WHOIS/NAMES synchronization and ZNC support.
  • plugin_sdk: Capability-gated plugin system with asynchronus lifecycle hooks.
  • module_hub / plugin_hub: Dynamic runtime control for enabling/disabling system components without restart.
  • memory_hub: 6-layer cognitive memory stack with optional persistent Postgres backend.
  • control_services: Central policy engine, ledger, and activity persistence.

📊 Architecture Snapshot

graph TD
  subgraph UI Layer [Desktop Frontend]
    UI["retro_client (V2.1)"]
    AC["Agents Console"]
    HB["Module/Plugin Hub"]
  end

  subgraph Orchestration [Automation Layer]
    WQ["worker_queue"]
    AO["agent_orchestrator"]
    AD["agentd (Scheduler)"]
  end

  subgraph Connectivity [Communication Layer]
    IRC["ircstack (IRCv3/ZNC)"]
    LS["lorastack (LoRa)"]
    MCP["mcp_gateway"]
  end

  subgraph Registry [Data & Policy]
    PR["Worker Profiles"]
    AR["Agents Registry"]
    CS["control_services (Ledger)"]
  end

  UI <--> Engine["main.py engine"]
  Engine <--> WQ
  Engine <--> AO
  Engine <--> HB
  WQ <--> AD
  AD <--> AO
  Engine <--> IRC
  AO <--> AR
  WQ <--> PR
  AD --> CS

🏁 Quick Start

Prerequisites

  • Python 3.11+
  • Proxmox VE (optional for agent orchestration)
  • ZNC / IRC Server (optional)

1. Environment Setup

# Create virtual environment
python3 -m venv venv
source venv/bin/activate

# Install all packages in editable mode
pip install -r requirements.txt
pip install -e ./packages/ircstack -e ./packages/agentd -e ./packages/plugin_sdk \
            -e ./packages/control_services -e ./packages/retro_client \
            -e ./packages/worker_queue -e ./packages/agent_orchestrator \
            -e ./packages/module_hub -e ./packages/plugin_hub

2. Launch

# Start UI Mode (Full Suite)
python main.py

# Enable Agent Orchestrator via CLI
python main.py --enable-orchestrator

# Headless Ops Mode
python main.py --headless --config config.yaml

3. Persistent Memory (optional)

# Enable DB-backed memory storage
export MEMORY_DB_URL='postgresql+psycopg2://bot_user:<password>@192.168.1.110:5432/zentrale_memory'

Then set modules.memory_hub: true in config.yaml.
The memory hub stores entries in table nexus_memories by default.

4. Persistent Instruction Bus (optional)

# Enable DB-backed instruction bus storage
export INSTRUCTION_BUS_DB_URL='postgresql+psycopg2://bot_user:<password>@192.168.1.110:5432/zentrale_memory'

Then set modules.instruction_bus: true in module settings.
The bus stores entries in table nexus_instruction_bus by default.

🛡 Security & Guarding

  • ReplyGuard: Protects channels from automated spam. Modes: active, muted (internal work only), restricted.
  • Role-Gate: RBAC for IRC commands. Roles: brain_admin (full control), operator (task management), observer (read-only).
  • DCC Policy: CTCP DCC requests are blocked by default and require explicit capability authorization.

📂 Repository Structure

  • packages/: Modularized platform components (reusable libraries).
  • plugins/: High-level feature extensions (e.g., work_manager).
  • config/: Runtime configurations (Agents Registry, Worker Profiles).
  • docs/: Deep-dive documentation and architectural masterplans.
  • tests/: Comprehensive E2E and unit test suites (Pytest).

🖥 Operations Console

The platform provides a unified management interface for real-time monitoring and control:

  • Agents Console: A live stream of all orchestrated activities. Filter by agent, channel, or severity. Export logs for deep-dive analysis.
  • System Hub: Toggle platform modules and plugins at runtime. Critical changes trigger restart warnings and automatic configuration snapshots.
  • Plugin/Module Manager: Advanced UIs for granular control of the platform's lifecycle. Track load status, active hooks, and detailed error logs for each plugin and module.
  • Command Styles: Customize the visual representation of bot commands and system messages. Configure foreground/background colors, icons, and prefixes with live preview and persistent storage.
  • Ollama Settings: Configure local LLM integration. Features include model discovery (fetch from API), parameter tuning (temperature, max tokens), and integrated connectivity testing.
  • Notifications & Sounds: Modular notification system with configurable audio alerts for mentions, PMs, and system events. Includes per-event volume control and sound file selection.
  • Instruction Bus: Intermediate communication layer for agent-to-agent and agent-to-system coordination. Supports hard-guarded IRC promotion, manual intervention (Ack/Nack), and persistent logging. Includes a dedicated Bus Policy manager to define promotion whitelists, restricted mode rules, and payload limits.
  • Remote Daemon Mode: Decouple the UI from the engine. Run the engine as a background service (--daemon) and connect from any client (--remote). Features include WebSocket-based live event streaming and REST-controlled management.
  • Plugin Sources: Manage external plugin repositories directly from the UI. Add or remove paths with real-time validation and persistent storage in config.yaml.
  • Routing Engine: Define granular rules for task distribution. Each route supports specific runtimes (Ollama, Shell) and priority levels.
  • Debug Monitor: Live telemetry for queue depth, active worker count, and orchestrator health.

📋 Modul-Matrix

Modul Status Description
ircstack IRCv3 + ZNC Integration, Event-Driven
worker_queue Atomic Task Claims, Priority Queuing
agent_orchestrator Proxmox LXC Registry & P1 Deployment
retro_client PySide6 V2.1 UI, Dock Management
module_hub Dynamic Module Lifecycle
plugin_hub Plugin Toggle & Discovery Control
agentd KI-Agent Scheduler & Ollama/Shell Runtimes

Generated by Liz (Gemini CLI) for Das Imperium.