Your cognitive memory extension. Search and retrieve your documents using natural language, powered by AI that understands what you mean, not just what you type.
IntentCloud is an intent-aware document retrieval system that acts as an extended cognitive memory for knowledge workers, researchers, and teams. Instead of remembering file names, folder structures, or exact keywords, you describe what you're looking for in natural language—and IntentCloud finds it.
You have 500+ documents spread across your files. You vaguely remember writing something about "Kafka and microservices" but:
- Can't recall the exact filename
- Don't remember which folder it's in
- Don't have the exact keywords handy
Traditional search fails. IntentCloud succeeds.
You say: "Find the report where I discussed Kafka and microservices."
IntentCloud uses AI to:
- Parse your intent — understands you're looking for a specific discussion, not just files with those keywords
- Search semantically — finds documents by meaning, not just keyword matching
- Rank by relevance — shows you the most relevant matches first, with explanations of why each matched
Your Documents (PDF, DOCX, TXT)
↓
[PHASE 1: INGEST & EXTRACT] PyMuPDF / python-docx with Tesseract OCR fallback
↓
[PHASE 2: DUAL EMBEDDING] Dense (all-MiniLM-L6, 384-d) + Sparse Feature Hash (1,000,003-d)
↓
[PHASE 2: HYBRID INDEX] Embedded Qdrant Hybrid Collection with Cosine Duplicate Detection
↓
User Query ("Find discussions about...")
↓
[PHASE 3: INTENT PARSING] Local LLM extracts intent, target topic & keywords
↓
[PHASE 4: DUAL RETRIEVAL] Parallel Dense Similarity Search + Sparse Keyword Search
↓
[PHASE 4: RRF FUSION] Reciprocal Rank Fusion merges candidate streams:
score_RRF(d) = Σ 1 / (60 + rank_i(d))
↓
[PHASE 4: RERANKING] Cross-Encoder (ms-marco-MiniLM) scores top candidates for Top-3
↓
[PHASE 4: EXPLAINABILITY] Extracts highest-similarity matched sentence & citation quote
↓
[PHASE 4: CONFIDENCE] Confidence thresholding (0.35) graceful fallback
↓
Relevant Documents + Exact Matched Citation + "Why This Matched" Rationale
IntentCloud combines the semantic generalization of transformer embeddings with the exact keyword precision of sparse token hashing, fused through Reciprocal Rank Fusion (
- Python 3.9+
- Node.js 18+ or Bun 1.3+
- Ollama (local LLM inference)
# Backend
cd intentcloud-api
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
# Frontend
cd ../intentcloud-web
bun install
# or: npm installollama serve
# In another terminal:
ollama pull phi:3# Terminal 1: Backend
cd intentcloud-api
source venv/bin/activate
python main.py
# Runs at http://localhost:8000
# Terminal 2: Frontend
cd intentcloud-web
bun run dev
# Runs at http://localhost:3000Visit http://localhost:3000 and start uploading documents.
intentcloud/
├── intentcloud-api/ # FastAPI backend
│ ├── main.py # REST API + lifespan events
│ ├── services/
│ │ ├── extraction.py # PDF/DOCX/TXT parsing
│ │ ├── embeddings.py # Sentence-transformers (all-MiniLM-L6-v2)
│ │ ├── qdrant_client.py # Vector DB interface
│ │ ├── intent_parser.py # Phi-3 intent parsing via Ollama
│ │ └── search.py # Semantic search + ranking
│ ├── uploads/ # Uploaded files storage
│ ├── qdrant_storage/ # Embedded vector database
│ ├── requirements.txt
│ └── .env
│
├── intentcloud-web/ # Next.js React frontend
│ ├── app/
│ │ ├── layout.tsx # Root layout + theme provider
│ │ ├── page.tsx # Home/dashboard
│ │ ├── upload/page.tsx # Upload interface
│ │ ├── search/page.tsx # Search interface
│ │ ├── dashboard/page.tsx # Memory profile stats
│ │ └── globals.css # Design tokens + theme
│ ├── components/
│ │ ├── Navbar.tsx # Top bar + theme toggle
│ │ └── ThemeProvider.tsx # Theme persistence
│ ├── package.json
│ └── .env.local
│
├── design.md # Design system & UI specs
├── README.md # This file
├── QUICK_START.md # Setup guide
├── IMPLEMENTATION_PLAN.md # Development timeline
└── TESTING_GUIDE.md # Testing procedures
Drag-and-drop interface for PDF, DOCX, and TXT files (up to 50 MB each). Documents are automatically:
- ✓ Extracted (PyMuPDF for PDFs, python-docx for Word, text fallback)
- ✓ Embedded into semantic vectors (384-dimensional)
- ✓ Deduplicated by similarity (no redundant storage)
- ✓ Tagged with detected topics
Natural language queries with AI intent understanding:
- ✓ Type queries like a human: "Where did I discuss authentication?"
- ✓ AI parses intent and keywords
- ✓ Returns ranked results with relevance scores
- ✓ Shows why each result matched
Memory Profile showing:
- ✓ Total documents stored
- ✓ Total embeddings indexed
- ✓ Topic clusters detected
- ✓ Vector database statistics
- ✓ Light theme (warm palette with terracotta accent)
- ✓ Dark theme (inverted warm palette)
- ✓ System preference detection
- ✓ Persistent storage across sessions
| Layer | Technology | Why |
|---|---|---|
| Compute | Python 3.9+ | Fast ML/NLP library ecosystem |
| API | FastAPI 0.141+ | Modern async Python web framework |
| Server | Uvicorn | ASGI production-ready |
| Embeddings | Sentence-Transformers 6.0 (all-MiniLM-L6-v2) | Fast, lightweight, 384-dim vectors |
| LLM | Phi-3 Mini via Ollama | Local inference, no API keys, privacy-first |
| Vector DB | Qdrant 1.19 (embedded) | Fast similarity search, built-in dedup |
| PDF Parsing | PyMuPDF 1.28 | Reliable text extraction + OCR fallback |
| Frontend | Next.js 16.3 + React 19 | Modern SSR with App Router |
| Styling | Tailwind CSS 4 + custom tokens | Utility-first, light/dark theme support |
| Font | Inter (body) + Fraunces (headings) | Premium, accessible typography |
| Runtime | Bun 1.3 | Faster Node package manager & bundler |
# Ollama (Local LLM)
OLLAMA_BASE_URL=http://localhost:11434
OLLAMA_MODEL=phi:3
# Vector Database
QDRANT_PATH=./qdrant_storage
QDRANT_COLLECTION=intentcloud_docs
# File Upload
UPLOAD_DIR=./uploads
ALLOWED_EXTENSIONS=pdf,docx,txt
MAX_FILE_SIZE_MB=50
# API
API_HOST=0.0.0.0
API_PORT=8000
LOG_LEVEL=INFO
# CORS
CORS_ORIGINS=http://localhost:3000NEXT_PUBLIC_API_URL=http://localhost:8000| Endpoint | Method | Purpose |
|---|---|---|
/health |
GET | Backend status + components |
/upload |
POST | Upload document (multipart) |
/search |
POST | Search with intent parsing |
/stats |
GET | Memory profile statistics |
/files |
GET | List uploaded files (debug) |
/download/{file_id} |
GET | Download stored document |
curl -X POST http://localhost:8000/search \
-H "Content-Type: application/json" \
-d '{
"query": "Find the report where I discussed Kafka and microservices",
"top_k": 3
}'Response:
{
"query": "Find the report where I discussed Kafka and microservices",
"parsed_intent": {
"topic": "Kafka and microservices",
"keywords": ["Kafka", "microservices", "report"],
"intent_type": "find_discussion",
"confidence": 0.87
},
"results": [
{
"filename": "system_design_2024.pdf",
"relevance_score": 0.92,
"explanation": "Discusses Kafka for event streaming in microservices architecture",
"preview": "We chose Kafka over RabbitMQ for our microservices platform..."
}
]
}Light Theme:
- Background:
#FAF9F6(warm off-white) - Surface:
#FFFFFF(card backgrounds) - Text:
#1C1917(primary),#6B6560(secondary) - Accent:
#B45F3C(warm terracotta)
Dark Theme:
- Background:
#15130F(deep warm) - Surface:
#1E1B17(card backgrounds) - Text:
#F2EFE9(primary),#A8A29A(secondary) - Accent:
#E08556(lighter terracotta)
- Mobile (360–639px): Single column, horizontal scroll for cards
- Tablet (768–1023px): 2–3 column grids
- Desktop (1024px+): Full layout with 4+ columns
- Ultrawide (1280px+): Max-width container, centered
- Upload: Drag a test PDF to
/upload - Verify: Check
/statsendpoint for document count - Search: Try a natural language query on
/search - Inspect: Verify results have relevance scores & explanations
See TESTING_GUIDE.md for comprehensive end-to-end test procedures.
- Embedding Speed: ~100 files/minute (all-MiniLM-L6-v2 on CPU)
- Search Latency: <200ms (cosine similarity on Qdrant)
- Intent Parsing: ~1s per query (Phi-3 on Ollama, first-run warm-up included)
- Memory: ~500MB Python backend + 200MB Qdrant index (grows with documents)
| Phase | Week | Focus | Status |
|---|---|---|---|
| 1 | 1-2 | Upload, extraction, project scaffolding | ✅ Complete |
| 2 | 2-3 | Embeddings, vector storage, dashboard | ✅ Complete |
| 3 | 3-4 | Intent parsing, semantic search | ✅ Complete |
| 4 | 5-6 | Hybrid search (BM25 + reranking) | ⏳ Planned |
| 5 | 6-7 | Authentication, per-user storage | ⏳ Planned |
| 6 | 7-8 | Performance tuning, evaluation | ⏳ Planned |
| 7 | 8-9 | Edge deployment, Pi/USB tunnel | ⏳ Planned |
Current: Phase 1-3 complete and tested. Ready for Phase 4 planning.
- Single-user: All uploads stored globally (no auth)
- Dense search only: No BM25 keyword fallback yet (Phase 4)
- Local inference: Requires Ollama + GPU recommended (use CPU with patience)
- No filtering: Can't narrow results by date/type after search (Phase 4)
- No versioning: Replacing a file overwrites it (intentional for MVP)
This is the Phase 1-3 implementation. Do NOT add Phase 4+ features (hybrid search, auth, etc.) to this branch. See IMPLEMENTATION_PLAN.md for the full timeline.
- QUICK_START.md — Fast setup guide
- design.md — UI/UX specifications and design tokens
- TESTING_GUIDE.md — End-to-end test procedures
- IMPLEMENTATION_PLAN.md — Weekly development timeline (Week 1-9)
- intentcloud-web/README.md — Frontend-specific guide
- intentcloud-api/README.md — Backend-specific guide (if present)
# Check Python version (need 3.9+)
python3 --version
# Verify venv activation
which python
# Check port 8000 availability
lsof -i :8000# Ensure Ollama is running
ollama serve
# Verify Phi-3 is installed
ollama list
ollama pull phi:3
# Test connectivity
curl http://localhost:11434/api/tags- Verify documents uploaded:
curl http://localhost:8000/stats - Check Qdrant health:
curl http://localhost:8000/health - Verify Ollama running:
ollama list - Try a different query (more descriptive helps)
MIT (see LICENSE if present)
For product questions, see the PRD document: IntentCloud_Final_PRD_v3 (1).pdf
For technical issues, check the relevant README:
- Backend:
intentcloud-api/README.md(if present) - Frontend:
intentcloud-web/README.md
IntentCloud: Search smarter. Remember everything. 🧠✨
Built with intent-aware AI to be your extended cognitive memory.
Phase 1-3 Implementation — August 2026 — Status: Ready for Testing