FLAIWHEEL

EVERY BUG FIXED MAKES THE NEXT BUG CHEAPER

A self-improving knowledge base for AI coding agents. Self-hosted. MCP-native. Knowledge compounds automatically.

30-50%
Faster Development
28
MCP Tools
5-STAGE
Search Pipeline
0
Cloud Dependencies

// HOW THE FLYWHEEL WORKS

AI agents write. Flaiwheel remembers. If they forget, Flaiwheel nudges them. Everything stays local.

[ AI AGENTS ]
Cursor / Claude Code / Copilot
QUERY & PLAN
CODE & FIX
DOCUMENT
⇆ MCP BRIDGE ⇆
Cross-agent memory runtime
+ SMART NUDGES
[ MEMORY ENGINE ]
Self-hosted & Private
🧠
KNOWLEDGE DB
ChromaDB + Git memory
100% LOCAL DOCKER NO EXTERNAL CLOUD

THE CYCLE NEVER STOPS. KNOWLEDGE ONLY GROWS.

// SEARCH PIPELINE

Five stages. Configurable at every step. Optional reranker for maximum precision.

1
VECTOR SEARCH

ChromaDB + HNSW cosine similarity. Finds semantically related content even when words differ.

2
BM25 KEYWORD SEARCH

Exact keyword matching with TF-IDF weighting. Catches results that share specific terms.

3
RRF FUSION

Reciprocal Rank Fusion with configurable k and vector/BM25 weights. Docs found by both methods get boosted.

4
CROSS-ENCODER RERANKER (optional)

Reads each (query, doc) pair together for precise relevance scoring. Solves vocabulary mismatch. +50ms, +10-25% precision.

5
RELEVANCE FILTER & RETURN

Configurable minimum threshold. Only the most relevant chunks reach the AI agent. Zero noise.

// FEATURES

🔎

HYBRID SEARCH + RERANKER

Semantic vectors + BM25 keywords merged via RRF. Optional cross-encoder reranker rescores candidates for 10-25% higher precision — "auth bypass" finds "client-side auth flag".

STRUCTURED WRITE TOOLS

7 category-specific write tools enforce quality at the source. Bugfixes, architecture, API docs, best practices, setup guides, changelogs, test cases.

🛡

QUALITY GATE

Pre-commit validation + ingest-time quality checks. Bad docs are skipped, never deleted. You own your files.

🔃

GIT AUTO-SYNC

Pulls and pushes to a dedicated knowledge repo. Write a bugfix summary — it's committed, pushed, and indexed automatically.

📊

TELEMETRY & SMART NUDGES

Tracks every MCP call. If an agent fixes a bug but forgets to document it, Flaiwheel injects an in-band prompt nudge directly into the tool response, forcing the LLM to write the summary before it replies to you.

🔒

SELF-HOSTED

Runs in a single Docker container on your machine. No cloud, no API keys required, no data leaves your network.

📁

MULTI-REPO

Manage multiple projects from a single Flaiwheel instance. One container, one MCP endpoint, one embedding model in RAM — per-project isolation for collections, watchers, and quality checks.

🔄

MODEL HOT-SWAP

Switch embedding models without downtime. Background migration re-indexes all projects while searches keep working on the old model.

📄

9 INPUT FORMATS

Index MD, TXT, PDF, HTML, RST, DOCX, JSON, YAML, and CSV files. All formats are converted to markdown internally — one pipeline, no format lock-in.

🕑

LIVING ARCHITECTURE & BDD

Agents generate auto-updating Mermaid.js UML diagrams for system components and executable BDD test flows (Given/When/Then). Your documentation becomes input for automated QA testing.

🌌

"THIS IS THE WAY"

Knowledge Bootstrap — classify files by content + embeddings, detect near-duplicates, propose a cleanup plan. Never deletes files. User approves every action. Also triggered by saying "42".

🚀

COLD-START ANALYZER

analyze_codebase(path) — scan a legacy source directory entirely server-side. Zero tokens. Zero cloud. Uses ast + regex + local MiniLM to extract structure, classify files, detect duplicates, and rank the top 20 files to document first. Report is cached in /data/ for instant reads on every subsequent agent session. ~90% token reduction vs. agent-driven file reading.

// 28 MCP TOOLS

Works with Cursor, Claude Code, VS Code Copilot — any MCP-compatible AI agent.

TOOLPURPOSE
set_projectBind session to a project (call first!)
setup_projectRegister + index a new project from the agent
get_active_projectShow which project is currently bound
list_projectsList all registered projects with stats
search_docsSemantic search across all documentation
search_bugfixesSearch only bugfix summaries
search_by_typeFilter by type (architecture, api, bugfix, etc.)
write_bugfix_summaryDocument a bugfix (auto-pushed + reindexed)
write_architecture_docDocument architecture decisions
write_api_docDocument API endpoints
write_best_practiceDocument coding standards
write_setup_docDocument setup/deployment
write_changelog_entryDocument release notes
write_test_caseDocument test cases (auto-pushed + reindexed)
search_testsSearch test cases for coverage and patterns
validate_docValidate markdown before committing
git_pull_reindexPull latest from knowledge repo + re-index
get_index_statsShow index statistics
reindexRe-index all documentation
check_knowledge_qualityValidate knowledge base consistency
check_updateCheck for a newer Flaiwheel version
analyze_knowledge_repoAnalyse knowledge repo structure and quality
execute_cleanupExecute approved cleanup actions (never deletes files)
classify_documents"This is the Way" — classify project docs for knowledge migration
save_session_summarySave session context for next-session continuity
get_recent_sessionsRetrieve recent session summaries (newest first)
analyze_codebaseCold-start scan of a source directory — zero tokens, zero cloud. Cached in /data/ for instant reads. Pass force=True to refresh. Returns ranked documentation plan.
get_file_contextPre-load spatial knowledge for a file the agent is about to edit

All tools accept an optional project parameter for multi-repo targeting.

// WHY FLAIWHEEL IS DIFFERENT

AI coding tools accelerate code generation. They don't preserve engineering knowledge. Flaiwheel is the memory and governance layer that closes that gap — so every session builds on the last.

01

PERSISTENT MEMORY THAT COMPOUNDS

AI agents normally reset every session. Flaiwheel turns every bug fix, architecture decision, and test case into permanent structured knowledge — so your AI gets smarter over time instead of starting from zero.

02

SELF-HOSTED — ZERO CLOUD, ZERO LOCK-IN

Single Docker container. No external services, no API keys, no data leaves your network. All knowledge lives as flat files in your own Git repository — stop using Flaiwheel and you keep everything.

03

HYBRID SEARCH + RERANKING

Not just a vector DB. Semantic search, BM25 keyword matching, RRF fusion, optional cross-encoder reranking, and relevance filtering — delivering high-precision context to AI agents in serious codebases.

04

AUTOMATIC CAPTURE VIA GIT + MCP

Every fix:, feat:, and refactor: workflow is captured in context. Agents search before coding and document after fixes. Zero manual prompting — knowledge compounds automatically.

05

STRUCTURED KNOWLEDGE + QUALITY GATES

Seven category-specific write tools enforce consistency across bugfixes, architecture, API docs, tests, and more. Pre-commit validation and ingest checks ensure high-quality memory — bad docs are skipped, never deleted.

06

ENTERPRISE-READY BY DESIGN

Multi-repo support, model hot-swap without downtime, telemetry and impact metrics, living architecture diagrams (Mermaid.js), and executable BDD flows. Built for serious codebases — not hobby projects.

// AT A GLANCE

CAPABILITY AI CODING TOOLS GENERIC RAG / MEMORY FLAIWHEEL
Persistent team memory
Knowledge capture enforced
Git-native flat-file storage
Knowledge quality gates
Hybrid retrieval + reranking Partial Sometimes
Fully self-hosted Rare Sometimes
Zero lock-in (flat files in Git) Rare
AI workflow guardrails
Telemetry & impact metrics
Local cold-start codebase analysis — no LLM tokens for parsing, embedding, or classification

Flaiwheel does not replace your AI coding assistant. It makes it reliable at scale.

// PRICING

COMMUNITY

FREE

Forever

  • Non-commercial use
  • Teams up to 10 people
  • All 28 MCP tools
  • Unlimited docs & searches
  • Self-hosted, fully private
  • Community support (GitHub)
INSTALL FREE

BETA

FREE

Free through December 31, 2026 — join with email

  • Commercial use without team limit
  • License through December 31, 2026 (see BSL)
  • All 28 MCP tools
  • Commercial rights for the beta period
  • No payment — email only

ENTERPRISE

CONTACT

Production, teams 11+, custom terms

  • Teams of 11+
  • Enterprise & long-term commercial
  • Priority support
  • Custom licensing & invoicing
  • Multi-project roadmap input
  • Invoice & PO available
CONTACT

Solo and Team plans launching 2027. Join the beta to lock in early pricing.

Licensed under Business Source License 1.1. Converts to Apache 2.0 on February 25, 2030.

// ONE COMMAND INSTALL

Prerequisites: GitHub CLI authenticated, Docker running.

OSSTATUSHOW TO START
macOS✓ nativeOpen Terminal, paste the install command
Linux✓ nativeOpen any terminal, paste the install command
Windows✓ via WSLInstall WSL, enable Docker WSL 2 backend, run from WSL terminal

RUN FROM YOUR PROJECT DIRECTORY:

bash <(curl -sSL https://raw.githubusercontent.com/dl4rce/flaiwheel/main/scripts/install.sh)

Click to copy. Sets up everything: knowledge repo, Docker container, Cursor config, AI agent instructions.

// ALSO BY 4RCE

AI·COLLAB VISIT

Your entire AI stack. One secure workspace.

300+ AI models in one interface — GPT-5, Claude, Gemini, Grok, Llama, and more. Upload 1,000-page scanned PDFs, ask questions, get precise cited answers. Build knowledge bases, collaborate in shared workspaces, run web searches, execute code, generate images.

🔒 German hosting · GDPR · Zero Data Retention 👥 Team & Organization plans 💰 From €24.99/mo or pay-as-you-go
ARCADE ERRORS VISIT

HTTP error pages that don’t suck.

35 fully playable arcade games — one per HTTP error code. 404, 500, 502, 503 and everything in between. Drop-in HTML files. Zero dependencies. No build step, no npm, no framework.

🎮 Pac-Man, Space Invaders, Asteroids – classic arcade style 💰 Free 502 demo · Starter Pack €15 · Full Bundle €59 🛠 nginx, Apache, Caddy — one line and you’re done