Capture β’ Understand β’ Connect β’ Retrieve β’ Create
Project Athena is an offline-first, privacy-first personal knowledge and AI workspace designed to turn documents, research, notes, and ideas into a connected, searchable body of knowledge.
Knowledge Before Intelligence.
Athena builds a reliable knowledge layer first, then adds retrieval, citations, workspace intelligence, and local AI assistance.
Athena is a long-term software engineering project for building a private local knowledge system that can:
- π Import and organize documents
- π Search knowledge semantically
- π§ Retrieve relevant information with context
- π Connect related knowledge
- π Preserve citations and references
- π€ Integrate local AI providers
- π₯οΈ Expose intelligence through a desktop workspace
- π Evaluate retrieval quality and performance
- π Keep personal research and knowledge local
The goal is not simply to build another chatbot.
The goal is to build personal knowledge infrastructure that can grow for years.
| Principle | Meaning |
|---|---|
| π§ Knowledge Before Intelligence | Build reliable knowledge infrastructure before adding more intelligence. |
| π Integrate Before Innovate | Prefer proven local tools and providers before reinventing them. |
| π‘οΈ Zero Regression | Existing functionality must remain stable as the system grows. |
| βοΈ Freeze Before Expansion | Stabilize and validate a milestone before starting the next layer. |
| π Audit Before Action | Understand repository and architecture state before changing it. |
| πΊοΈ Roadmap Discipline | Develop features through explicit engineering milestones. |
| π Privacy First | Local-first architecture is a core design objective. |
Designed for PDF, DOC/DOCX, TXT, EPUB, images, OCR, structured extraction, chunking, metadata, and source tracking.
Application-level retrieval orchestration with query planning, semantic retrieval, ranking, context assembly, and RAG answers.
A dedicated citation architecture covering citation creation, resolution, presentation, validation, and source traceability.
A knowledge workspace for context-aware queries, connected knowledge, research workflows, and intelligent responses.
Provider-independent integration with local AI tools such as Ollama and LM Studio, plus local embedding models.
βββββββββββββββββββββββββββ
β Athena UI β
β Knowledge Workspace β
ββββββββββββββ¬βββββββββββββ
β
ββββββββββββββΌβββββββββββββ
β Workspace Services β
β Context β’ Queries β’ UX β
ββββββββββββββ¬βββββββββββββ
β
ββββββββββββββΌβββββββββββββ
β Retrieval Intelligence β
β Planner β’ Search β’ RAG β
ββββββββββββββ¬βββββββββββββ
β
βββββββββββββββββββββΌββββββββββββββββββββ
β β β
ββββββββΌβββββββ ββββββββΌβββββββ ββββββββΌβββββββ
β Documents β β Knowledge / β β Citations β
β Intelligenceβ β Vector Layerβ β Services β
ββββββββ¬βββββββ ββββββββ¬βββββββ ββββββββ¬βββββββ
β β β
βββββββββββββββββββββΌββββββββββββββββββββ
β
ββββββββββββββΌβββββββββββββ
β Local Data β
β SQLite β’ Files β’ Index β
ββββββββββββββ¬βββββββββββββ
β
ββββββββββββββΌβββββββββββββ
β Local AI Providers β
β Ollama β’ LM Studio β’ β¦ β
βββββββββββββββββββββββββββ
| Area | Technologies |
|---|---|
| Language | Python |
| Desktop UI | PySide6 / Qt |
| Database | SQLite |
| Vector / Retrieval | Qdrant and retrieval services |
| Local LLM | Ollama / LM Studio |
| Document Processing | Docling and related tools |
| OCR | RapidOCR / compatible tooling |
| Retrieval | Semantic retrieval, query planning, RAG |
| Evaluation | Benchmark runner, metrics engine, reporting |
| Architecture | Service-oriented, provider-independent, local-first |
A development baseline used:
| Metric | Result |
|---|---|
| Questions | 25 |
| Indexed documents | 78 |
| Chunks | 147 |
| Top-1 Accuracy | 60% |
| Top-3 Accuracy | 88% |
| Top-5 Accuracy | 96% |
| MRR | 0.731 |
| Average latency | 145.10 ms |
These are development benchmark results for a specific corpus and configuration, not universal performance claims.
Athena follows an explicit engineering lifecycle:
Constitution Check
β
Repository Truth
β
Sprint Review
β
Risk Analysis
β
One-Sprint Execution Plan
β
Implementation
β
Quality Gate
β
Freeze
This helps control architectural drift and prevent feature growth from destabilizing the system.
Athena includes an engineering audit framework for understanding a growing Python codebase.
Capabilities include:
- Source parsing
- Repository scanning
- Module analysis
- Class and function analysis
- Method analysis
- Import analysis
- Dependency graph analysis
- Architecture-oriented reporting
Recorded audit baseline:
Source Files : 392
Modules : 385
Classes : 236
Functions : 197
Methods : 573
Imports : 1247
The goal is to make the system observable, auditable, and maintainable.
Athena follows a staged roadmap rather than uncontrolled feature expansion.
A15 Stabilization
β
βΌ
A16 AI Provider Platform
β
βΌ
A17 AI Control Center
β
βΌ
A18 Document Intelligence
β
βΌ
A19 Retrieval Intelligence
β
βΌ
A20 Workspace Intelligence
β
βΌ
A21 Plugin Ecosystem
β
βΌ
A22 Assistant Engine
β
βΌ
A23 Offline AI Worker
Each stage is subject to architecture review and quality gates before expansion.
Athena is evolving from:
Question β Search β Answer
toward:
Knowledge
β
Context
β
Retrieval
β
Workspace
β
Reasoning
β
Action
The workspace layer provides the foundation for a future personal assistant without making the assistant the center of the architecture.
Your knowledge should remain yours.
Athena prioritizes:
- Local storage
- Local document processing
- Local embeddings
- Local LLM providers
- Provider abstraction
- Explicit integration boundaries
- Minimal external dependencies
Cloud services can be integrated where useful, but the core architecture is designed to remain meaningful without requiring a cloud AI service.
Athena is not intended to be:
- β Just another chatbot
- β A thin wrapper around an LLM API
- β A collection of disconnected AI experiments
- β A cloud-dependent knowledge service
Athena is being engineered as:
- β Personal knowledge infrastructure
- β Retrieval and evidence system
- β Document intelligence platform
- β Local AI integration layer
- β Workspace intelligence system
- β Foundation for a future personal assistant
Documents + Research + Notes + Data + Conversations
β
βΌ
βββββββββββββββββ
β ATHENA β
βββββββββββββββββ€
β Understand β
β Retrieve β
β Connect β
β Cite β
β Reason β
β Assist β
βββββββββ¬ββββββββ
β
βΌ
Better Research
Better Decisions
Better Work
The objective is not to make AI replace thinking.
It is to make thinking with your own knowledge dramatically more powerful.
athena/
βββ athena_core/
β βββ retrieval/
β βββ workspace/
β βββ citations/
β βββ documents/
β βββ providers/
β βββ services/
βββ tools/
β βββ aeaf/
βββ benchmarks/
βββ tests/
βββ docs/
βββ scripts/
βββ README.md
The structure may evolve as the architecture develops.
Python Β· PySide6 Β· AI Β· RAG Β· Retrieval Β·
Knowledge Management Β· Document Intelligence Β· Semantic Search Β·
Local AI Β· Ollama Β· LM Studio Β· Qdrant Β· SQLite Β· Docling Β·
OCR Β· Citations Β· Workspace Intelligence Β· Offline AI Β·
Privacy-First
Your Private Knowledge. Your Local AI. Your Second Brain.
Knowledge Before Intelligence. Evidence Before Confidence. Architecture Before Features.
Think locally. Learn continuously. Build intelligently.