Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

BundleWalker

CI PyPI prerelease License

BundleWalker is a local-first tool that turns a source bundle into a navigable knowledge workspace for people and AI agents. It proposes review-first writes to cited, interlinked OKF Markdown while preserving the exact bytes of every accepted source as immutable evidence.

Tutorial · User Guide · Changelog · Contributing · Security · Support · License

Why BundleWalker

  • Keep knowledge local. Sources, indexing, exploration, and compiled knowledge remain ordinary files inside a workspace you control.
  • Review every proposed write. Model output is validated and shown as a complete diff before you decide whether it becomes durable knowledge.
  • Trace answers to evidence. Cited answers link back to the OKF Markdown concepts they read, while accepted source bytes stay unchanged.
  • Use the same workspace from different interfaces. Work directly through the command-line interface or connect an AI agent through the local MCP server.
  • Recover safely. Authenticated transaction state lets an accepted write finish or roll back after interruption without silently accepting a partial result.

Project status

BundleWalker remains a proof of concept approaching beta; it is not a claim of production stability or a completed beta. The latest stable release is v3 (Python package 0.3.0), and the current production release candidate is 0.4.0rc3. See the Changelog for the immutable release history.

macOS and Linux are supported; Windows is experimental.

Install BundleWalker

BundleWalker requires Python 3.13 or 3.14 and uv.

Install the exact prerelease as an isolated command-line tool:

uv tool install "bundlewalker==0.4.0rc3"
bundlewalker --help
bundlewalker-mcp --help

Final 0.4.0 is not published, so keep the exact prerelease version in the install command. If you want to contribute or run from a source checkout, use the separate development setup.

Create your first workspace

Create one portable Markdown source, initialize a personal workbook, and run the offline health check:

printf '%s\n' \
  '# Review-first knowledge' \
  '' \
  'A review gate separates a model proposal from durable knowledge.' \
  'Accepted source bytes remain immutable evidence.' \
  > example-notes.md

bundlewalker init ./my-knowledge --conventions-style personal-workbook
bundlewalker doctor ./my-knowledge
cd ./my-knowledge

doctor is deterministic, offline, and read-only. Before the first model-backed command, export BUNDLEWALKER_MODEL and the provider credential required by that model. The provider setup guide explains model strings, provider-specific variables, and safe credential handling without making a provider or model availability claim.

export BUNDLEWALKER_MODEL='<pydantic-ai-model-string>'
bundlewalker ingest ../example-notes.md
bundlewalker ask 'Why does this workspace use a review gate?'

ingest validates and displays a complete prospective diff: answer y to accept it or n to leave live knowledge unchanged. Plain ask is read-only and returns a cited answer without saving a Synthesis. Continue with the Tutorial for the complete first journey, or see the User Guide for source rules and review outcomes.

Choose how to use BundleWalker

Command-line interface

The installed bundlewalker command is the primary interface for creating, checking, ingesting, querying, reviewing, and protecting a workspace. Start with bundlewalker --help; use the complete CLI reference when you need options, exit codes, limits, or recovery procedures.

MCP server

The existing local MCP stdio server fixes one workspace at startup and exposes strict resources and tools for read-only exploration, model-backed preparation, and explicit review decisions:

bundlewalker-mcp --workspace /absolute/path/to/workspace

It is local stdio, not a hosted, remote, HTTP, or web-server transport. See the host-neutral MCP guide for its resource and tool contract. Hermes Agent users can follow the dedicated Hermes MCP setup guide. Visual Studio Code users can follow the VS Code/Copilot MCP setup guide; the MCP compatibility record distinguishes observed host evidence from documented but untested combinations.

Local web UI

A local web UI is planned, not implemented. Use the command-line interface or local MCP server today; there is no web application or hosted service to start.

Understand reviewed writes

Every reviewed write follows the same boundary:

prepare -> deterministic validation -> complete diff -> explicit decision -> atomic commit
  • Deterministic operations such as init can create known scaffolding without a model or review; doctor, workspace status, and plain lint inspect state without changing knowledge.
  • Read-only operations such as plain ask and semantic lint may use a model, but do not prepare or persist knowledge writes.
  • Prepare-only MCP operations validate a proposal and store at most one private pending review; they do not change live raw/ or wiki/ content.
  • Applying operations revalidate the exact accepted proposal before committing it. The CLI applies only after your affirmative decision; MCP applies only the matching review ID. Declining or discarding a review leaves live knowledge unchanged.

Accepted source bytes are copied unchanged into raw/ under content-derived names and never rewritten. The compiled OKF Markdown in wiki/ can evolve through later reviewed writes. Interrupted accepted writes can complete or roll back safely, while a prepared review remains pending until it is explicitly applied or discarded. The review and recovery guide documents duplicate no-ops, stale reviews, crash recovery, and the full decision contract.

Operate and protect a workspace

Inspect compatibility before copying or changing a workspace, back it up outside itself, restore only into a separate target, and request format upgrades explicitly:

bundlewalker workspace status [PATH]
bundlewalker workspace backup OUTPUT [--workspace PATH]
bundlewalker workspace restore ARCHIVE TARGET
bundlewalker workspace upgrade [PATH] [--backup-dir DIRECTORY]

Backups can contain exact raw source bytes. Read the authoritative workspace compatibility and portable-backup policy before a backup, restore, upgrade, or rollback. The reviewed performance and capacity evidence defines the measured support envelope and its exclusions.

Use bundlewalker doctor [PATH] [--report REPORT.json] for an offline, read-only diagnostic and an optional redacted support report. If report creation fails after its target is created, inspect and remove the owner-only partial target when appropriate before retrying; BundleWalker retains it to avoid deleting an unrelated replacement installed at the same path.

Documentation

Each active document has one canonical job:

  • This README is the product landing page for maturity, platforms, installation, the shortest useful workflow, interface choice, reviewed-write safety, and navigation.
  • The Tutorial is the reproducible personal-workbook journey from source notes through reviewed knowledge, refresh, health checks, backup, and restore.
  • The User Guide is the canonical task, CLI, MCP, lifecycle, recovery, limits, and troubleshooting reference.
  • The Hermes MCP Setup Guide covers portable Hermes-specific MCP registration, tool filtering, environment forwarding, verification, and removal.
  • The VS Code/Copilot MCP Setup Guide covers workspace-scoped registration, secret inputs, tool selection, approvals, resources, logs, and removal.
  • The MCP Host Compatibility Record publishes the tested host matrix, exact environment, capability evidence, and limits of each certification claim.
  • The Workspace Compatibility Policy defines workspace formats, backup, restore, upgrade, rollback, and portability boundaries.
  • Performance and Capacity publishes reviewed evidence, the supported-capacity statement, exclusions, profiles, and reproduction procedure.
  • The Release Procedure is the maintainer reference for current TestPyPI and production-PyPI trusted publishing and immutable release recovery.
  • Contributing covers architecture, contributor workflow, verification, documentation ownership, and the historical-record policy.
  • The Security Policy defines the supported reporting scope and private vulnerability route.
  • The Support Policy defines supported platforms, issue-reporting evidence, and the best-effort maintenance boundary.
  • License Scope maps GPL and CC0 paths and explains how user content and generated workspaces are treated.
  • The Changelog preserves immutable tagged history and the concise Unreleased record.

Development

The default suite is offline and requires no model credentials:

uv run pytest -m 'not eval' -q
uv run ruff format --check .
uv run ruff check .
uv run pyright

Live model-quality evaluation is explicit, opt-in, may use the network, and may incur provider cost. See Contributing for architecture, setup, test layers, and change workflow.

License

BundleWalker's application code, tests, documentation, and internal agent prompts are available under the GNU General Public License version 3 or later. The five packaged convention presets are dedicated under CC0 1.0 Universal. User-provided sources and generated knowledge remain subject to the rights in that content; processing does not make them BundleWalker-owned. See License Scope for the exact path mapping.

Copyright (C) 2026 Hendrik Reh

Download files

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

Source Distribution

bundlewalker-0.4.0rc3.tar.gz (805.7 kB view details)

Uploaded Source

Built Distribution

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

bundlewalker-0.4.0rc3-py3-none-any.whl (147.5 kB view details)

Uploaded Python 3

File details

Details for the file bundlewalker-0.4.0rc3.tar.gz.

File metadata

  • Download URL: bundlewalker-0.4.0rc3.tar.gz
  • Upload date:
  • Size: 805.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for bundlewalker-0.4.0rc3.tar.gz
Algorithm Hash digest
SHA256 963103a16aa14cb1496382d0e60e77854495fc071ef13053d7fc2f5ded57a470
MD5 386a487a546222d57b1a487cac8ed271
BLAKE2b-256 4d168c41e2bc11e8a3fe995eeeeaabfd7b943a8bd723b33599e8753beed2c464

See more details on using hashes here.

Provenance

The following attestation bundles were made for bundlewalker-0.4.0rc3.tar.gz:

Publisher: publish-pypi.yml on HendrikReh/BundleWalker

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

File details

Details for the file bundlewalker-0.4.0rc3-py3-none-any.whl.

File metadata

  • Download URL: bundlewalker-0.4.0rc3-py3-none-any.whl
  • Upload date:
  • Size: 147.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for bundlewalker-0.4.0rc3-py3-none-any.whl
Algorithm Hash digest
SHA256 b48d011a83d5b2afd889d8aafd2cb1dd6fbad7c51b38cf5282dc6fc594114f4d
MD5 95af025a3798382609353e926af9caf8
BLAKE2b-256 cf67bc74fbbbd18ff76cf695750d874e6b92d23b80df0c0c3ad63748e4c529a9

See more details on using hashes here.

Provenance

The following attestation bundles were made for bundlewalker-0.4.0rc3-py3-none-any.whl:

Publisher: publish-pypi.yml on HendrikReh/BundleWalker

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

Release history Release notifications | RSS feed

0.5.0

2 files

0.4.0

2 files

This release

0.4.0rc3 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page