Skip to main content

Local-first, AI-powered knowledge management app

Project description

braindump

Dump your thoughts as Markdown. Ask questions across all of them at once.


TL;DR

# 1. Install
pip install braindump-ai

# 2. Initialize a workspace (creates spikes/, wiki/, and llm.json)
braindump init ~/my-knowledge-base

# 3. Run the local server
braindump run ~/my-knowledge-base

Open http://localhost:8000 in your browser. Write spikes in the editor, ask questions in the query bar, explore the knowledge graph.

Prerequisites: Claude Code credentials in ~/.claude/ (run claude login once to authenticate — the claude binary itself does not need to be on PATH, the SDK ships a bundled copy).


The problem

Every knowledge tool forces a choice: organize first, think later. You have to decide where a note belongs before you write it. You end up with isolated notebooks that cannot talk to each other — ask the same question in two places and you get two disconnected answers.

What braindump does differently

braindump treats each Markdown file as a spike — a timestamped, tagged unit of thinking. Write in the built-in editor. The app automatically builds a living wiki that connects related spikes by shared tags, semantic relationships, and temporal proximity. No manual linking. No folders to organize.

When you ask a question, braindump reasons across your entire corpus at once — not just one notebook, not just keyword search. It gives you a grounded answer that cites exactly which spikes it drew from.

The knowledge graph is hierarchical: zoom out to see the major themes in your thinking, zoom in to individual spikes and their connections. The structure emerges from your writing, not from a taxonomy you imposed upfront.

Unique selling point

Cross-corpus AI reasoning over a self-organizing, portable knowledge graph — entirely on your machine.

  • Everything is plain .md files. No proprietary format, no lock-in.
  • No data leaves your machine. All LLM inference uses the claude CLI and your existing Anthropic subscription.

How it works

Write a spike in the UI → braindump saves it and asynchronously updates a wiki index backed by three plain markdown files:

  • wiki/index.md — LLM-authored summaries of every spike
  • wiki/connections.md — LLM-authored explicit semantic links between related spikes
  • wiki/hierarchy.md — LLM-authored thematic community groupings

Ask a question → the LLM reads the compiled index and answers with inline citations ([1], [2], …) pointing back to the source spikes.

Explore the graph → zoom out to major topic clusters derived from the hierarchy, zoom in to individual spikes and their connections.

Architecture

Wiki layer

The core innovation is the wiki layer: a set of human-readable markdown files maintained by the LLM. Every create/update/delete triggers a background job that rewrites index.md, connections.md, and hierarchy.md in sequence. The wiki doubles as both the retrieval index and a browsable knowledge artifact.

A lightweight meta.json cache (no LLM involved) keeps spike listings fast. A wiki/log.md tracks all events for diagnostics.

Query pipeline

No vector embeddings. One LLM call per query:

  1. Feed the hierarchy hierarchy.md and full index.md summaries as context
  2. LLM answers with [N] citations; citations are parsed into source cards

Because the index summaries are rich, raw spike content is not sent to the model.

Knowledge graph

Derived purely from the wiki markdown files — no database:

Zoom View Source
0 Community clusters only hierarchy.md
1 Clusters + spike nodes hierarchy.md
2 Spikes + tag / semantic / temporal edges meta.json, connections.md

Stack

  • Backend: Python >= 3.13 and fastapi
  • Frontend: React + Cytoscape.js
  • LLVM: Claude (via claude CLI)
  • Storage: plain Markdown.

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

braindump_ai-0.3.0.tar.gz (239.9 kB view details)

Uploaded Source

Built Distribution

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

braindump_ai-0.3.0-py3-none-any.whl (514.0 kB view details)

Uploaded Python 3

File details

Details for the file braindump_ai-0.3.0.tar.gz.

File metadata

  • Download URL: braindump_ai-0.3.0.tar.gz
  • Upload date:
  • Size: 239.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for braindump_ai-0.3.0.tar.gz
Algorithm Hash digest
SHA256 1dbea0a86a8ff7d2cc5d7a30751feefe56cb116a3fb97ad18556dda26391c40d
MD5 2f64e93cc08bced38e295409372fad3f
BLAKE2b-256 cb2bf11313840b2000e27c9e6b69aaf33b04464771dd243396e00af31fbce002

See more details on using hashes here.

Provenance

The following attestation bundles were made for braindump_ai-0.3.0.tar.gz:

Publisher: publish.yml on amhellmund/braindump

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file braindump_ai-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: braindump_ai-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 514.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for braindump_ai-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 32dc452a91fbcb7883b9436b62b625996572f2b83450442ca69806b6c5e52061
MD5 cc97a4346f233ef0bb21122b012d9f11
BLAKE2b-256 a9765afea766a5a6c3e02a1007d9ecbf5dae44bc2e99ca4af4d07fde0a200840

See more details on using hashes here.

Provenance

The following attestation bundles were made for braindump_ai-0.3.0-py3-none-any.whl:

Publisher: publish.yml on amhellmund/braindump

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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