Repository navigation
v0.3.0 — Self-optimizing RAG
What's New
Citation & Source Tracking
Sourcemodel for tracking where knowledge comes from (URL, paper, file)spkt add --source-urlattaches sources to neurons for citationspkt learn <url-or-path>ingests content and creates Source records- QABot answers now include source URLs for proper citation
Community Detection
- Louvain-based community detection via
spkt communities --detect - Community-boosted retrieve: top hits from the same cluster get a score boost
spkt inspect --jsonincludescommunity_idandsources[]
Visualization Upgrade
- Community-based node coloring (falls back to domain when no communities)
- Node size reflects stability + centrality (not just pressure)
- HTML legend showing community colors and member counts
New CLI Commands
spkt communities— show/detect knowledge graph communitiesspkt learn— ingest source content for agent-driven chunking
Agent Skills
- QABot skill: citation format using Source metadata
- Learn skill: source ingestion flow with
spkt learn
Stats
- 207 tests passing
- 11 issues closed