Skip to content

Latest commit

Β 

History

1,558 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

GoodQ4All Logo

GoodQ4All: Local-First Multimodal AI Memory & Video Intelligence Stack

Offline Video Search, Scene Segmentation, Speech Transcription (Whisper), Speaker Diarization, and SQLite + Qdrant Semantic Search on Windows 11

Ask GoodQ Voice Agent - Click Here to Speak
(Note: The optional Ask GoodQ voice agent is a hosted extension using ElevenLabs APIs. The core GoodQ4All memory system itself is 100% local and offline.)

CI Status Doc Drift Linter Dependency Review Context7 Verified


⚑ The Local-First Multimodal Memory Stack

GoodQ4All is a 100% private, offline alternative to cloud-based media intelligence services. It ingests video, audio, and text files into queryable, structured scene-level memories, persisting the knowledge graph and vector representations locally on your computer.

Following a strict "proof-backed" system doctrine, GoodQ4All documents every perception step, tracks evidence manifests, and logs a comprehensive audit trail so that every memory claim can be verified.


🎬 From Media to Memory

No media fixture is bundled with this repository. For a local smoke, use a short clip you own or are licensed to process. The existing scripts/bootstrap_onboarding.py helper is an operator workflow, not an approved public fixture contract.

  • Using This All-in-One Installer (Unified Windows Installer):

    πŸš€ View the latest GoodQ release

    [!IMPORTANT] System Requirement: Windows 11 only. GoodQ4All is built for Windows-first local execution. It requires at least 25 GB of free space to store local database structures, models, and cache files.

    • SmartScreen Workaround: Since the setup installer is currently self-signed, Windows SmartScreen may show an "Unknown Publisher" dialog. Click More info and select Run anyway to proceed.
    • Integrity Checksum: Verify your download authenticity by running the following command in PowerShell:
      Get-FileHash <downloaded-release-asset>
      Expected SHA256 hash: Refer to the GitHub Releases page for the latest signed executable checksum.

    GoodQ4All One-Click Setup Installer


πŸ›‘οΈ Core Capabilities & Architecture

1. Proof-Backed Ingestion & Hardened API Facade

Machine memory should earn every claim it makes. GoodQ4All generates step-by-step logs (step_runs.jsonl), scene manifests, and intermediate features for every ingested file.

  • Single-Use Confirmation Tokens: Ingestion submission routes are protected by a server-generated token handshake with single-use nonce validation, preventing unauthenticated/out-of-bounds execution.
  • Epistemic Verification: Ingestion is tracked using verifiable manifests and SQLite-backed relational schemas.
  • No Silent Failures: The Control Agent and Watchdog processes bubble errors directly to the operator consoles, providing absolute visibility into the execution stack.

2. Local Model Governance & VRAM Budgeting

To run large-parameter local models safely on consumer hardware (e.g. RTX 4070 Ti SUPER 16GB) without Out-of-Memory (OOM) crashes, GoodQ4All implements strict VRAM and execution controls:

  • Model Lifecycle Manager: A specialized context manager (lib/model_lifecycle.py) that audits free VRAM using PyTorch and nvidia-smi before loading models, dynamically evicting idle networks from GPU memory.
  • Local Agent Stack (MiniAgentClient): Gated LLM reasoning and local tool execution through zero-dependency policy enforcement middleware, loading schemas, policies, and contracts dynamically from the version-controlled agents/stack/ directory.
  • Endpoint Fallback Orchestration: Automatically falls back from the primary local vLLM server (prefer_speed, running Qwen2.5) to a local Ollama service (prefer_quality, running Phi-4) or a CPU-safe model variant when VRAM thresholds are breached.

3. Experimental TurboQuant Sidecar Caching

High-precision float32 embeddings remain persisted in Qdrant and FAISS. TurboQuant is an optional SQLite sidecar experiment for candidate filtering; it is not enabled as the default retrieval path. Any activation must first demonstrate equivalent valid hits and no latency regression against the active Qdrant/FAISS baseline on the target corpus.

Note

Hybrid Precision Caching Model: Optional sidecar model: TurboQuant fields are additive only. Authoritative float32 vectors remain in Qdrant and FAISS, and a sidecar experiment must fail closed to normal retrieval when coverage, validity, or measured latency is insufficient.

4. Adaptive Hardware Profiles

The pipeline dynamically adjusts its computational needs to match your system specs:

  • BASELINE (CPU-safe): Fully operational, offline-ready execution on standard CPU hardware. Bypasses GPU requirements gracefully.
  • GPU_ENHANCED: Activates local NVIDIA GPU (CUDA 12.1) and WSL2 accelerated audio processing paths for fast, high-volume ingestion.

βš™οΈ Setup Paths

Route A: Standalone User Installation (Recommended)

GoodQ4All compiles the isolated Python environment, the Qdrant database, and perception libraries into a single executable wrapper:

  1. Download the appropriate release asset from the GitHub Releases page, if one is provided for your platform.
  2. Launch GoodQ4All from the desktop shortcut.
  3. Open the local Retro Memory Explorer dashboard at http://127.0.0.1:30000/ui/retro_console_v1/.
  4. Drag-and-drop video/audio files onto the yellow-dotted Upload Pad to begin automatic ingestion.

Route B: Developer Source Setup (Advanced)

If you are developing, customizing the pipeline, or running from source:

Developer Source Setup Steps (Advanced)

Step-by-Step Developer Installation

  1. Clone https://github.com/GoodQ02/goodq-memory-engine.git.
  2. Enter goodq-memory-engine and run python scripts/bootstrap_install.py.
  3. Review the generated local configuration and run the bootstrap validator.
  4. Use dev_on.bat for the supervised development runtime.

πŸ“Ί User Interfaces & Identity Curation Suite

GoodQ4All ships a cohesive local web suite with shared Deep Obsidian Night and Daylight Studio themes (Theme: NIGHT / DAY / AUTO):

  • Memory Explorer (v2.1) (/ui/retro_console_v1/): Four-panel workspace combining natural-language multimodal search, an interactive 2D/3D entity co-occurrence map, a progressive-disclosure Scene & Evidence Inspector (with clean grounded summaries, transcripts, OCR, and provenance labels), and multi-recording collection switching with explicit unavailable-source notices.
  • Identity Curation & Match Review Workbench (/ui/identity_workbench/): Human-in-the-loop curation across saved recordings β€” browse People & Connected Scenes (People -> Scenes -> Watch) with direct playback return links, review cross-movie face and voice candidates (Correct / Incorrect / Unsure), reassign rejected face pairings to the right saved person ("Who is this instead?"), and apply or undo changes through single-use confirmation tokens and cryptographic review receipts.
  • Speaker Stitching Workbench (/ui/stitching_workbench/) & Classic Operator Console (/ui/operator_console_v1/): Governed speaker-pattern ledger stitching, scope/flight-deck telemetry, and recurrence inspection.

Workspace Showcase (Synthetic Public-Domain Apollo 11 Archive)

GoodQ Memory Explorer in Deep Obsidian Night Mode
Memory Explorer (Deep Obsidian Night Mode) β€” 2D/3D entity co-occurrence graph, grounded scene Inspector, and timeline cards.

Saved People and Connected Scenes
People & Connected Scenes β€” browse verified appearances across saved recordings and jump directly to original scene playback.
Cross-Movie Face Match Review and Reassignment
Cross-Movie Match Review β€” mark Correct / Incorrect / Unsure, reassign rejected pairings ("Who is this instead?"), and preview before Apply.
View Daylight Studio Theme

GoodQ Memory Explorer in Daylight Studio Mode


πŸ“– Authoritative Documentation

Start Here

Technical Details


πŸ“„ License

MIT. See LICENSE.

November 2026 source & UI update

The current source includes the modernized Deep Obsidian Night / Daylight Studio UI suite, multi-recording library browsing (People -> Scenes -> Watch), governed cross-movie face/voice match review with rejected-pairing reassignment ("Who is this instead?"), grounding-markup stripping, corpus-neutral search/grounding repairs, lossless phrase grouping, and engineering/Pydantic ConfigDict cleanups. See public release scope. This source update does not replace existing published installer binaries.

Releases

Packages

Contributors

Languages