Skip to content
This repository was archived by the owner on Sep 25, 2026. It is now read-only.

Latest commit

 

History

260 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AIBrain

AIBrain is a native Windows desktop application for chatting with GGUF models already installed by Ollama and exploring real-time llama.cpp inference telemetry through a live connectome visualization. The display measures raw next-token logit statistics and generation timing; its graph is a visual layout, not a map of transformer neurons.

It is built with Python and PySide6/Qt. The interface is a real Windows window with a native OpenGL context—there is no React, Electron, browser, or WebView layer.

Quick start

Requirements: Windows 10/11, Python 3.11+, and at least one locally installed Ollama GGUF model.

py cli\installer.py
.\.venv\Scripts\Activate.ps1
python cli\main.py

AIBrain only runs from its managed virtual environment. The installer creates and populates .venv, checks NVIDIA/CUDA capability before choosing an inference wheel, and never installs packages into the system Python.

The GUI tools (main.py, diagnostic.py, and analysis.py) keep their attached console for compact runtime messages and open a loader window before their first background validation completes. Logs are feature-scoped under logs/ (for example, aibrain.main.log); a detailed crash.<feature>.log is created only after an uncaught exception.

Documentation

The complete documentation is in docs/:

The Publish documentation to Wiki GitHub Actions workflow publishes this folder to the repository wiki after one has been enabled.

Development shortcuts

# Rebuild and verify the native DLL after editing its C source.
py cli\build_native.py --clean

# Build merged AIBrain plus independent main, diagnostic, and analysis folders.
.\.venv\Scripts\python.exe cli\build_dist.py

# Verify Python syntax from the managed environment.
python -m compileall -q cli src tests

See Native acceleration and Architecture and development for full build, verification, and contributor guidance.

About

Native Windows app for chatting with local GGUF models and visualizing token-driven neural activity through a live connectome.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Used by

Contributors

Languages