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.4.0.tar.gz (249.8 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.4.0-py3-none-any.whl (522.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: braindump_ai-0.4.0.tar.gz
  • Upload date:
  • Size: 249.8 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.4.0.tar.gz
Algorithm Hash digest
SHA256 c246bcd52e4e9a57c185960771cd753000a7e5d6f4ffb906dbaca9bd7b63bf08
MD5 808dce941104943ab574f8159e516f4a
BLAKE2b-256 6241ad9efb077caca2c0a0a20d242d6998f3c4eface91745a890886fff2dd809

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: braindump_ai-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 522.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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8e73d7be82d0bc13db343095fc278f5776151bd9e3f539ae5242a13554287c2f
MD5 1b3b232fb87cf683b22cea5c2b3f536a
BLAKE2b-256 b89ef846c3bc33f90d3cbc0112c62712c3942142e3d7f6089ac00512fa4b2095

See more details on using hashes here.

Provenance

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