Skip to main content

The Ever-learning and ever-improving tool!

Project description

GeniusBot — Desktop Cockpit for AI Agents

PyPI - Version GitHub Repo stars GitHub contributors PyPI - License

Version: 3.40.1

GeniusBot is the premium, unified space cockpit and visual control deck built on top of the agent-utilities powerhouse backend. It integrates all 37+ specialist agent and MCP packages from our multi-agent ecosystem into a single-pane-of-glass user interface, offering 1-click execution, embedded hybrid terminals, zero-nesting visual layouts, and a zero-trust hardware protection layer.


📖 Table of Contents

  1. Overview
  2. Features
  3. Architecture
  4. Installation
  5. Usage
  6. Packaging & Executables
  7. Documentation References
  8. License

🌐 Overview

GeniusBot provides a centralized graphical cockpit designed to eliminate tedious click-through fatigue. It maps specialist agent parameter schemas directly to custom QSS-themed form widgets on the fly.

Operators can trigger actions, monitor running terminal inputs via the embedded agent-terminal-ui, and secure dangerous CLI calls using the Zero-Trust Tool-Guard interceptor.


✨ Features

  • Zero-Nesting Dynamic UI: Navigation categorized into flat category menus (Dashboard, Infra, Media, Productivity, Research).
  • Dynamic Card Schema Grid: PySide6 widgets are built automatically from specialist agent tool specifications.
  • Embedded Hybrid Terminal: Hosts local xterm.js to run interactive terminal loops directly in the cockpit.
  • Zero-Trust Security Tool Guard: Prompts native authorization dialogs to review arguments before executing dangerous mutations.
  • Runnable Background Workers: Utilizes thread pools (QThreadPool) to prevent GUI freezes during execution loops.
  • Visual Trading Dashboard: Snappy native C++ charting engine (PySide6.QtCharts) with OHLCV candlestick/line toggles, strategy indicator overlay crossovers (MACD/RSI), orderbook bids/asks depth volumes, and thread-safe crypto news feeds.

🏛️ Architecture

GeniusBot is engineered as a lightweight PySide6 GUI client wrapper around the agent-utilities logic engine.

graph TD
    subgraph GUI ["GeniusBot Cockpit (PySide6)"]
        Sidebar["Left Category Sidebar"]
        GridDeck["Central Dynamic Card Grid"]
        ToolGuard["Tool Guard Modal Interceptor"]
        TerminalPanel["xterm.js WebEngine Panel"]
    end

    subgraph Backend ["agent-utilities Powerhouse"]
        Discovery["Agent Specialist Discovery"]
        Executor["Background Agent Worker Loop"]
        KG["Epistemic Knowledge Graph"]
    end

    Sidebar --> GridDeck
    GridDeck -->|Introspect Schemas| Discovery
    GridDeck -->|Trigger Safe Action| Executor
    GridDeck -->|Sensitive Action| ToolGuard
    ToolGuard -->|Operator Approved| Executor
    TerminalPanel -.->|Interactive Terminal| Executor

Detailed architectural diagrams and component breakdowns are located in the Documentation Overview.


🛠️ Installation

1. Modern Virtual Environment (via uv)

Create a virtual environment and sync standard requirements:

# Setup virtual environment
uv venv

# Sync requirements
uv pip sync requirements.txt

2. Standard pip

Install standard stable packages:

pip install geniusbot

Install with all ecosystem plugins:

pip install geniusbot[all]

🌍 Environment Variables

GeniusBot can be configured using environment variables or a .env file in the project root:

Variable Description Default / Example
QT_QPA_PLATFORM Headless Qt Platform (set to offscreen for CI/CD or Docker) offscreen
LANGFUSE_PUBLIC_KEY Langfuse Observability Public Key pk-lf-...
LANGFUSE_SECRET_KEY Langfuse Observability Secret Key sk-lf-...
LANGFUSE_HOST Langfuse Host URL https://cloud.langfuse.com
LOGFIRE_TOKEN Pydantic Logfire Telemetry Token
TERM Terminal type for the embedded terminal emulator xterm-256color
_MEIPASS / _MEIPASS2 PyInstaller temp directories for bundled app context (Used internally)

🚀 Usage

Launch the desktop cockpit:

uv run geniusbot

To run in headless or virtual Linux environments (CI/CD):

QT_QPA_PLATFORM=offscreen uv run geniusbot

📦 Packaging & Executables

PyInstaller Compiling

Compiling GeniusBot as a single standalone executable:

python -m pip install --upgrade pyinstaller
git clone https://github.com/Knuckles-Team/geniusbot.git
cd geniusbot
python -m venv .venv
./.venv/Scripts/activate
python -m pip install -r ./requirements.txt
python -m pip install -r ./build-requirements.txt
python -m pip install --upgrade pandas scipy numpy pydantic
pyinstaller --name geniusbot `
  --log-level DEBUG `
  --onefile --windowed `
  --paths "./geniusbot" `
  --icon='./geniusbot/img/geniusbot.ico' `
  --recursive-copy-metadata=opentelemetry_api `
  --recursive-copy-metadata=opentelemetry_sdk `
  --recursive-copy-metadata=opentelemetry_exporter_otlp_proto_grpc `
  --exclude-module pygame `
  --exclude-module tkinter `
   ./geniusbot/geniusbot.py

Windows Setup Installer

Generate a Windows MSI setup package:

iscc "./setup.iss"

📚 Documentation References

For deep architectural guidelines and code documentation, explore:


📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

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

geniusbot-3.40.1.tar.gz (555.3 kB view details)

Uploaded Source

Built Distribution

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

geniusbot-3.40.1-py3-none-any.whl (155.9 kB view details)

Uploaded Python 3

File details

Details for the file geniusbot-3.40.1.tar.gz.

File metadata

  • Download URL: geniusbot-3.40.1.tar.gz
  • Upload date:
  • Size: 555.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for geniusbot-3.40.1.tar.gz
Algorithm Hash digest
SHA256 3e14177095bf87d1180920767487f0b9775a0514ba24365e4eae5b7dd6cd2023
MD5 95f226b4bfcb58548846b7363e12a466
BLAKE2b-256 14feee8d650029d1f339d59930f7d000056ce9a0caea1b3296173f0bbe8ca034

See more details on using hashes here.

File details

Details for the file geniusbot-3.40.1-py3-none-any.whl.

File metadata

  • Download URL: geniusbot-3.40.1-py3-none-any.whl
  • Upload date:
  • Size: 155.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.4

File hashes

Hashes for geniusbot-3.40.1-py3-none-any.whl
Algorithm Hash digest
SHA256 80525605d8026a9e264a5b9375f32c038798bdd169effcf5c7ba55d3c7517f47
MD5 12feb815b2030aa02582ee53bd0d2ca2
BLAKE2b-256 4d72f3d596ffe126da12c169c4d1ded238eb89d4ee53ecf3e2eca3539e7d2429

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