Skip to main content

Persistent branching exploration for basemode continuations

Project description

basemode-loom

Persistent branching exploration for LLM continuations.

basemode-loom lets you generate multiple continuations, navigate a tree of alternatives, and keep everything in a local SQLite store so you can resume later.

Install

pip install basemode-loom

Quickstart

# Create a new tree with 3 branches
basemode-loom run "The ship rounded the headland and" -n 3 -m gpt-4o-mini

# Open the interactive explorer
basemode-loom view

# Continue from selected branch
basemode-loom continue -b 2 -n 3

Core Commands

basemode-loom --help
basemode-loom view --help
basemode-loom run --help
basemode-loom continue --help
basemode-loom stats --help
basemode-loom serve --help

Useful commands:

  • basemode-loom view: interactive TUI tree explorer
  • basemode-loom run: create a new tree from a prompt
  • basemode-loom continue: branch from current/selected node
  • basemode-loom nodes|active|show|children: inspect stored trees
  • basemode-loom stats: analyze tree depth/branching/model usage
  • basemode-loom export|import: move trees in/out as JSON/Markdown
  • basemode-loom serve: run REST/WebSocket API for frontend usage

Model Selection

  • TUI model picker is available via m.
  • Picker can consume verified model metadata from basemode when available.
  • Session state supports model-plan metadata for multi-model generation workflows.

Storage

By default, data is stored in a local SQLite DB under your user data directory. Use --db /path/to/file.sqlite to choose a custom location.

Docs

Project docs live in docs/ (MkDocs):

make docs
make docs-serve

Then open http://localhost:8001.

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

basemode_loom-0.1.3.tar.gz (250.1 kB view details)

Uploaded Source

Built Distribution

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

basemode_loom-0.1.3-py3-none-any.whl (53.9 kB view details)

Uploaded Python 3

File details

Details for the file basemode_loom-0.1.3.tar.gz.

File metadata

  • Download URL: basemode_loom-0.1.3.tar.gz
  • Upload date:
  • Size: 250.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.7.15

File hashes

Hashes for basemode_loom-0.1.3.tar.gz
Algorithm Hash digest
SHA256 703b0d2f687bdf39864db28ffd15bc581cc1c34e7470dff47a69263386311b15
MD5 26580fe1dda54621c9607737b65551b6
BLAKE2b-256 836faf2cbc08dab83bd2f7c55fa1cb401e29242170bb86936d330c8da9960fd7

See more details on using hashes here.

File details

Details for the file basemode_loom-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for basemode_loom-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 70e1cbc5295a3779d21814e2021b15c4c5aa03ab9dbd95b000a920b48d7ae14c
MD5 20a9fec385cf71233b3bd39050168d61
BLAKE2b-256 5905bf9005d2a356486e49acb19c270fc8c6b16b15e8bf31ad383a0eecd4766c

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