JambaShrimp (jash): playful CLI to chat with PDFs or crawled docs using Jamba Reasoning 3B
Project description
JambaShrimp (jash)
Playful command-line interface for chatting with any PDF or crawled documentation site using AI21's Jamba Reasoning 3B (GGUF build). The CLI can:
- load entire PDFs directly into the prompt for ad-hoc question answering
- crawl documentation sites (recursively) and ground answers with a local FAISS index (RAG)
- cache indexes per URL so you can come back later—even offline—and keep chatting
The product name is JambaShrimp, and its CLI entry point is the shortened jash.
Requirements
- uv for environment management
- macOS with Metal (recommended) or CPU fallback
- Optional
HF_TOKENenvironment variable if your Hugging Face account is required for downloads
Install with pipx
Publishing the package (named jambashrimp) to PyPI lets anyone install the CLI with an isolated virtual environment:
pipx install jambashrimp
# run it
jash --help
# download the sample PDF + model
jash-setup
While developing locally you can point pipx directly at the repo:
pipx install --spec . jambashrimp
Assets are stored under ~/.jambashrimp/assets when the package is installed globally. You can override --model/--pdf if you keep files elsewhere.
Dev Setup
uv sync
uv run scripts/setup_assets.py # downloads the default OECD PDF + GGUF model
uv run python -m jamba_cli.cli
Pass --pdf or --model to point at different files. Run uv run jamba-chat --help to see all knobs (context window, temperature, GPU layers, etc.).
CLI Shortcuts
/quitor/exit– leave the chat/history– print the running conversation/reload– reload the PDF from disk (useful when editing)/help– show the command list
By default the CLI hides <think> traces but still streams answers token-by-token. Useful switches:
--history-turns N– keep N previous Q/A pairs inside the prompt (defaults to 0 to maximize context for the document itself).--cache-prompt– reuse the KV cache between turns if you really need faster follow ups. Leave it off (default) if you encounterllama_decode returned -1; clearing the cache between turns prevents those context overflows.--show-thinking/--no-stream– reveal hidden reasoning traces or print whole answers at once.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file jambashrimp-0.1.1.tar.gz.
File metadata
- Download URL: jambashrimp-0.1.1.tar.gz
- Upload date:
- Size: 21.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7eae88c26c8dfd615635c5417d52c6a2f0ae2be39abf2c20db312198469dbdd9
|
|
| MD5 |
e627825ac29a0f124e8a5fa3537050ae
|
|
| BLAKE2b-256 |
f6b4bf690e3657cf92853cfd280fb51a1618651b0066f71c26ca415ec46aa61a
|
File details
Details for the file jambashrimp-0.1.1-py3-none-any.whl.
File metadata
- Download URL: jambashrimp-0.1.1-py3-none-any.whl
- Upload date:
- Size: 23.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
907984efca74d60674cbb84f933a3e97393e31ede59be9cd1890630ac5eed0c3
|
|
| MD5 |
b71d485cfb89e7f512b9c48939573047
|
|
| BLAKE2b-256 |
d59f62cb82114ce53cfce19d6b151f69b0bea762e8b3eb65c3f92554c1c7ddbe
|