Skip to main content

A knowledge base that gets smarter the more you use it

Project description

Spikuit

English | 日本語

A knowledge base that gets smarter the more you use it.


What is Spikuit?

Spikuit (spike + circuit, pronounced /spaɪ.kɪt/) is a personal knowledge system built around one idea: your knowledge base should learn from you, not just store things.

Every time you search, review, or ask a question, Spikuit quietly adapts — boosting what's useful, connecting related ideas, and surfacing what you're about to forget.

It works as:

  • A self-improving knowledge base — search quality gets better through usage, not re-indexing
  • A study partner — an AI tutor that teaches, quizzes, and coaches based on what you actually know
  • An agent's brain — a knowledge graph that AI agents can read, write, and learn from

What makes it different?

Anki Obsidian + SRS Spikuit
Scheduling Per-card Per-note Per-concept, connected
Knowledge structure Flat deck Manual links Auto-growing graph
Search Keyword Keyword + tags Semantic + graph-weighted
Retrieval quality Static Static Improves with usage
AI integration Limited Plugins Built-in (agent-native)

Spikuit doesn't replace these tools — it explores what becomes possible when you combine a knowledge graph, spaced repetition, and AI agents into one system.

Use Cases

"I want to remember what I learn"

You: /tutor

Tutor: You have 5 concepts due. Let's start with PageRank —
       it's a prerequisite for APPNP which is also due.
       [teaches the concept, then quizzes you]

You:   [answers]

Tutor: Good, but you mixed up the convergence condition.
       Here's what actually happens: ...
       [re-explains, then tries a different question angle]

Review concepts with an AI tutor that adapts to your understanding level. It doesn't just quiz you — it teaches weak areas, gives feedback on mistakes, and adjusts difficulty based on how well you know each concept.

"I want to build a knowledge base that's actually searchable"

# Add knowledge
spkt add "# Functor\n\nA mapping between categories." -t concept -d math
spkt add "# Monad\n\nA monoid in endofunctors." -t concept -d math

# Search — results ranked by relevance, how well you know each concept,
# and how central it is in your knowledge graph
spkt retrieve "category theory"

The more you use it, the better search gets. Concepts you review often rank higher. Related concepts surface together. Unhelpful results get pushed down automatically.

"I want an AI that knows what I know"

from spikuit_core import QABotSession

session = QABotSession(circuit, persist=True)
results = await session.ask("What is a functor?")

# Results get better over time:
# - Follow-up questions auto-penalize unhelpful prior results
# - Accepting results boosts them for future queries
# - The graph remembers what's useful across sessions
await session.accept([results[0].neuron_id])

Give an AI agent a Spikuit brain, and it can search your knowledge, add new concepts from conversations, and track what you've mastered vs. what needs review.

How It Works (in brief)

Spikuit organizes knowledge as a graph — concepts are nodes, relationships are edges. When you interact with the graph, three things happen automatically:

  1. Smart scheduling — each concept has its own review timing based on how well you know it (powered by FSRS)
  2. Activation spreading — reviewing one concept nudges related concepts closer to their review time. Connections that are used together get stronger.
  3. Search optimization — results are ranked by relevance × how well you know each concept × how central it is in your graph. Feedback from conversations continuously improves ranking.

For the technical details behind these mechanisms, see Appendix: Algorithms.

Quick Start

# Install
git clone https://github.com/takyone/spikuit.git
cd spikuit
uv sync --package spikuit-cli

# Initialize a brain (interactive wizard)
spkt init

# Add knowledge
spkt add "# Functor\n\nA mapping between categories." -t concept -d math

# Review what's due
spkt due
spkt quiz

# Search
spkt retrieve "functor"

# Visualize your knowledge graph
spkt visualize

Documentation

Architecture

spikuit-core/     # Pure engine (no LLM dependency)
spikuit-cli/      # spkt command
spikuit-agents/   # Agent skills and adapters

The core engine is LLM-independent — spkt commands work standalone. Agent skills (/tutor, /learn, /qabot) add LLM-powered interactions on top, designed for tools like Claude Code.

Development

uv sync --package spikuit-core --extra dev
uv run --package spikuit-core pytest spikuit-core/tests/ -v

License

Apache-2.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spikuit-0.2.0.tar.gz (281.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spikuit-0.2.0-py3-none-any.whl (56.8 kB view details)

Uploaded Python 3

File details

Details for the file spikuit-0.2.0.tar.gz.

File metadata

  • Download URL: spikuit-0.2.0.tar.gz
  • Upload date:
  • Size: 281.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.4

File hashes

Hashes for spikuit-0.2.0.tar.gz
Algorithm Hash digest
SHA256 8ebfad0603aa42d98bd849daf3d36b06bf8f9ad11c620d2460b82b49f2031136
MD5 bff31c9f2b50cbb57bb5b294c439db96
BLAKE2b-256 a9b0a42de4490fadd9bb61918c4b5bb3433e62f3d9fbd322d3174789dd49fdb1

See more details on using hashes here.

File details

Details for the file spikuit-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: spikuit-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 56.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.4

File hashes

Hashes for spikuit-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e92ce6b806a564d47871fd5604aa68035d1fe369c5a9f5ca55bb1527854fa774
MD5 1c241932d86b6208288336413dd3cd34
BLAKE2b-256 33e3c9d4058114c58af4310e80df3a8a9429701a94e3cc1f72e959a67c3bb65b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page