No description
  • Python 73.5%
  • Roff 13.6%
  • Kotlin 12.5%
  • Shell 0.4%
Find a file
2026-05-26 17:53:30 +02:00
.runtime/comfy_pipeline chore: snapshot current 420NexusIrcD workspace state 2026-05-01 10:43:11 +02:00
agents/smart_agent feat: MemoryLayer domain API + agent_worker domain context in prompt envelope 2026-05-24 14:55:50 +02:00
assets/sounds feat(audio): add sci-fi notification sound pack and preset 2026-03-08 02:04:37 +00:00
config feat(collab): enable collaborative work environment — auto-nudge, git-sync, guide, and agent bus subscriptions 2026-05-26 17:53:30 +02:00
docs feat(collab): enable collaborative work environment — auto-nudge, git-sync, guide, and agent bus subscriptions 2026-05-26 17:53:30 +02:00
logs feat(collab): enable collaborative work environment — auto-nudge, git-sync, guide, and agent bus subscriptions 2026-05-26 17:53:30 +02:00
mobile feat: Multi-session improvements — worker queue, comfy, mobile, bus, plugins 2026-05-24 12:19:03 +02:00
packages feat(collab): enable collaborative work environment — auto-nudge, git-sync, guide, and agent bus subscriptions 2026-05-26 17:53:30 +02:00
plugins feat: Multi-session improvements — worker queue, comfy, mobile, bus, plugins 2026-05-24 12:19:03 +02:00
schemas feat: sync mobile, roadmap, and ops orchestration baseline 2026-05-10 13:10:14 +02:00
scripts feat(collab): enable collaborative work environment — auto-nudge, git-sync, guide, and agent bus subscriptions 2026-05-26 17:53:30 +02:00
tests feat(collab): enable collaborative work environment — auto-nudge, git-sync, guide, and agent bus subscriptions 2026-05-26 17:53:30 +02:00
.gitignore feat: Council, Prompt Hub, QualityAssessor, Forge Sidebar, Sidebars 2026-05-23 23:35:13 +02:00
AGENTS.md feat(personas): strengthen persona system — identity first, mandatory op-rules, richer prompts 2026-05-25 23:00:58 +02:00
config.example.yaml feat: Council, Prompt Hub, QualityAssessor, Forge Sidebar, Sidebars 2026-05-23 23:35:13 +02:00
config.minimal.yaml chore: snapshot current 420NexusIrcD workspace state 2026-05-01 10:43:11 +02:00
config.yaml.example feat: Council, Prompt Hub, QualityAssessor, Forge Sidebar, Sidebars 2026-05-23 23:35:13 +02:00
config_loader.py feat: Council, Prompt Hub, QualityAssessor, Forge Sidebar, Sidebars 2026-05-23 23:35:13 +02: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 chore: snapshot current 420NexusIrcD workspace state 2026-05-01 10:43:11 +02:00
main.py fix: IRC PM routing + unified log storage path 2026-05-26 15:21:28 +02:00
pytest.ini fix(tests): add agentd to pythonpath + fix worker Popen monkeypatch 2026-05-25 22:45:01 +02: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 chore: snapshot current 420NexusIrcD workspace state 2026-05-01 10:43:11 +02:00
view.xml Restore files accidentally removed with route command commit 2026-05-19 19:30:32 +02: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.