Skip to content
lsnchowPublic

About

πŸ† First Place QHacks x Backboard πŸ† Agentic knowledge memory system for cursor and copilot

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Invene ⚑

Video Demo Link: https://www.youtube.com/watch?v=M4ktjFTTZIw

Local stateful debug loop with memory for coding agents. Shorten debug cycles, persist context across iterations, and generate optimized prompts for VS Code/Cursor.

Quick Start

Prerequisites

  • Node.js 18+
  • Python 3.11+
  • Backboard API key

Setup

  1. Install dependencies

    npm install
    cd electron && npm install
    cd ../backend && pip install -e .
  2. Configure environment

    cp .env.example .env
    # Edit .env with your Backboard API key
  3. Run development mode

    npm run dev

Architecture

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚              Electron App (UI)                  β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”         β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”   β”‚
β”‚  β”‚ Main Process│◄──IPC──►│ React Renderer  β”‚   β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”˜         β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β”‚
β”‚         β”‚                                       β”‚
β”‚         β”‚ HTTP :8811                            β”‚
β”‚         β–Ό                                       β”‚
β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”   β”‚
β”‚  β”‚         FastAPI Local Service            β”‚   β”‚
β”‚  β”‚  β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”  β”‚   β”‚
β”‚  β”‚  β”‚     Backboard Memory Layer        β”‚  β”‚   β”‚
β”‚  β”‚  β”‚  (failures, successes, context)   β”‚  β”‚   β”‚
β”‚  β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜  β”‚   β”‚
β”‚  β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜   β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

Features

  • Floating overlay - Always-on-top lightning button with global hotkey
  • Command drawer - Modes: Fix error, Make tests pass, Refactor, Explain
  • Loop console - Iteration timeline with token metrics
  • Thinking graph - Visual node graph of loop state
  • Memory persistence - Avoid repeated failed fixes via Backboard
  • One-click paste - Export optimized prompts to VS Code/Cursor

Project Structure

lightning-loop/
β”œβ”€β”€ electron/           # Electron main + preload
β”œβ”€β”€ renderer/           # React UI (embedded in electron)
β”œβ”€β”€ backend/            # FastAPI service
β”‚   └── lightning_loop/
β”‚       β”œβ”€β”€ main.py     # API endpoints
β”‚       β”œβ”€β”€ backboard/  # Memory layer
β”‚       └── loop/       # Loop engine
└── shared/             # Shared types

About

πŸ† First Place QHacks x Backboard πŸ† Agentic knowledge memory system for cursor and copilot

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages