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.2.0.tar.gz (213.1 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.2.0-py3-none-any.whl (327.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: braindump_ai-0.2.0.tar.gz
  • Upload date:
  • Size: 213.1 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.2.0.tar.gz
Algorithm Hash digest
SHA256 55d6175252927af6e414dbb28c1aa376f50e71d5493bd8322b9c2c8a5ab8a374
MD5 1a83f8a7f970e2fabfdf004a03d85393
BLAKE2b-256 fd9336224e4995fc6d569e61f7a7ac04ff3ce10cb69672fcbf707dc57dbacae7

See more details on using hashes here.

Provenance

The following attestation bundles were made for braindump_ai-0.2.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.2.0-py3-none-any.whl.

File metadata

  • Download URL: braindump_ai-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 327.5 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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4e40eefcc8ad82b907038199f5906ba1ac51f29f18dc238864868b8cc4df8603
MD5 cbbe5080fd624b71cc1735e231d90ae9
BLAKE2b-256 b083e07a44b34b452088bec56d81d14a2ee8cb27786f765478931011a041fb00

See more details on using hashes here.

Provenance

The following attestation bundles were made for braindump_ai-0.2.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