A newer version of the Gradio SDK is available: 6.20.0
title: Knowme
emoji: π
colorFrom: red
colorTo: indigo
sdk: gradio
sdk_version: 6.16.0
python_version: '3.13'
app_file: app.py
pinned: true
license: mit
short_description: Stop losing ideas. Capture, connect, recall.
tags:
- build-small-hackathon
- backyard-ai
- tiny-titan
- nvidia-nemotron
- off-brand
- off-the-grid
- field-notes
- track:backyard
- sponsor:nvidia
- achievement:offgrid
- achievement:offbrand
- achievement:fieldnotes
Mycelium β Personal Knowledge Agent
Capture fast. Think later. Let the system surface what matters.
Mycelium is a local-first AI knowledge companion that closes the loop between saving something and actually learning from it. No more screenshot graveyards or forgotten browser tabs.
The problem
Everyone has the same graveyard: saved links, screenshots, notes-to-self β all gone dark in a week. The capture habit exists. The recall loop doesn't.
Mycelium fixes the loop.
What it does
- Capture notes, URLs, and images β each processed into a structured summary with intent classification (
learn/act/reference/ephemeral) and semantic tags - ASK β semantic search across your knowledge base with LLM synthesis, follow-up questions, and Feynman self-testing
- BRIEF β daily digest of what you saved, with synthesis across captures and a weekly thread
- REVIEW β spaced repetition (SM-2) targeting specific claims from your own notes, not generic flashcards
- GRAPH β visual map of how your ideas connect via embedding similarity
How it works
- You capture a note, URL, or image
- NVIDIA Nemotron-Mini-4B extracts the core insight, classifies intent, generates tags and recall questions
- Qwen2.5-VL-7B handles image captures β describe a whiteboard, diagram, or screenshot
- BGE-base-en-v1.5 embeds summaries into a 768-dim vector space
- Related captures link automatically via cosine similarity
- The surface engine resurfaces what you should revisit, weighted by intent and time
Tech
- LLM:
nvidia/Nemotron-Mini-4B-Instructvia HF Transformers + ZeroGPU - Vision:
Qwen/Qwen2.5-VL-7B-Instructfor image capture - Embeddings:
BAAI/bge-base-en-v1.5(768-dim, top MTEB retrieval) - Backend: FastAPI + SQLite (persistent at
/data/mind.db) - Frontend: React + TypeScript + Tailwind CSS
Mycelium
A local-first personal knowledge agent that captures, connects, and surfaces what matters β when it matters.
π Live demo Β· πΉ Demo video Β· π Field Notes
The Problem
Everyone saves things. Nobody revisits them. Screenshots, bookmarks, notes-to-self β all gone dark in a week. The capture habit exists. The recall loop doesn't.
Mycelium fixes the recall loop.
What It Does
- Capture β notes, links, images. Each processed by a local LLM into a structured summary with intent classification (
learn/act/reference/ephemeral) and semantic tags. - ASK β semantic search across your knowledge base with LLM synthesis, gap analysis, Feynman self-testing, and learning arc.
- BRIEF β daily digest with synthesis across captures and a weekly thread.
- REVIEW β spaced repetition (SM-2) targeting specific claims from your own notes.
- GRAPH β visual map of how your ideas connect via embedding similarity.
Quick Start
Prerequisites
- Python 3.11+
- Node 18+
- LM Studio β for local LLM inference
1. Clone and install
git clone https://github.com/ajit3259/Mycelium
cd Mycelium
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install -r requirements.txt
2. Set up LM Studio
- Download LM Studio
- Load a chat model β recommended:
google/gemma-3-4b-itor any instruction-tuned model under 8B - Load an embedding model β recommended:
BAAI/bge-base-en-v1.5(search it in LM Studio's Discover tab, download the GGUF version) - Start the Local Server (default:
http://localhost:1234)
Repace LM with
Set up GGUF Llama Server
- Start your GGUF chat model server
Example:
llama-server
-m model.gguf
--host 0.0.0.0
--port 8080
- (Optional) Start an embedding model server
If embeddings are required, run a BGE embedding GGUF:
llama-server
-m bge-base-en-v1.5-q8_0.gguf
--embedding
--port 8081
Embedding API: http://localhost:8081/v1
- Update application settings
Chat API: http://localhost:8080/v1
Embedding API: http://localhost:8081/v1
3. Initialize the database
python -c "from db import init_db; init_db()"
Optionally seed with 22 example captures to explore the UI:
python seed.py
4. Start the backend
uvicorn main:app --port 8000
5. Build the frontend
cd frontend
npm install
npm run build # outputs to ../static/, served by FastAPI
Open http://localhost:8000.
Dev mode (hot reload):
npm run devin the frontend folder β runs on port 5173 with proxy to backend.
Configuration
All config is in config.py and can be overridden with environment variables:
| Variable | Default | Description |
|---|---|---|
LM_STUDIO_URL |
http://localhost:1234/v1 |
LM Studio server URL |
LM_MODEL |
auto-detected | Chat model name (leave blank to use whatever is loaded) |
EMBED_MODEL |
BAAI/bge-base-en-v1.5 |
Sentence-transformer embedding model |
DB_PATH |
./mind.db |
SQLite database path |
UPLOADS_DIR |
./uploads |
Directory for uploaded images |
How It Works
Capture β LLM enrichment β Embed β Connect β Surface β Review
- You capture a note, URL, or image
- LM Studio extracts summary, tags, intent, claims, and a recall question
BAAI/bge-base-en-v1.5embeds the summary into a 768-dim vector- Related captures link automatically via cosine similarity (rank-based, top 2)
- Surface engine resurfaces captures by intent + recency scoring
- SM-2 spaced repetition schedules review of what you should remember
Project Structure
.
βββ main.py # FastAPI app β all API endpoints
βββ lm.py # Unified LLM interface (LM Studio + HF Transformers)
βββ db.py # SQLite schema + all queries
βββ surface.py # Intent-weighted surfacing + scoring
βββ config.py # Config β auto-detects HF Spaces vs local
βββ seed.py # Optional: seed 22 example captures
βββ requirements.txt
βββ FIELD_NOTES.md # Build post-mortem
βββ frontend/ # React + TypeScript + Vite + Tailwind CSS
β βββ src/
β βββ App.tsx
β βββ api.ts
β βββ types.ts
β βββ components/
β βββ CaptureBar.tsx # Note / Link / Image capture
β βββ Feed.tsx # Recent captures
β βββ AskScreen.tsx # Semantic search + synthesis
β βββ BriefScreen.tsx # Daily digest
β βββ ReviewScreen.tsx # Spaced repetition
β βββ GraphView.tsx # Knowledge graph
β βββ Card.tsx # Shared capture card
βββ static/ # Built frontend (served by FastAPI)
