SuperAPI AI Directory

lilbee

Index files, code and crawled websites and answer with source citations, using its own local models or an existing Ollama or LM Studio setup.

Open website

About this tool

lilbee is a tool that packs the entire local AI stack into a single executable: it runs and manages local models by itself, and uses these models as a conversational search engine, giving answers with source citations for files, notes, code, and web pages.

Purpose lilbee is aimed at consumer-grade hardware and users who do not want to maintain infrastructure. It is not a model server for external applications to connect to, but a local search engine with a built-in model runner. It has two main uses: first, building a library from documents and saved web pages, then reading and asking questions about them in the terminal; second, serving as a reference layer for code, pointing projects, dependencies, and API documentation at it so that coding agents answer based on real content and provide file:line citations, rather than guessing function names.

Main capabilities

  • Self-running models: a built-in llama.cpp-based model manager and multi-GPU scheduling, able to browse Hugging Face, download models, assign roles (chat, embedding, vision, rerank), and run on Metal / Vulkan / CUDA. When a model is too large to fit on a single card, gguf-parser and tensor-split can automatically split it across cards, or it can be pinned manually.
  • Retrieval-based question answering: builds an index over local files, answers cite source lines, and can be clicked to jump to the corresponding line in the specific file; when the answer is not in the library, lilbee says so directly instead of making it up.
  • Formats and languages: supports more than 90 formats and more than 150 languages, covering documents, scanned pages, spreadsheets, e-books, web pages, and source code.
  • Chunking strategy: prose and code use different splitting methods to preserve the meaning of each chunk.
  • Search ranking: ranks each result by how well it answers the question, providing more than 50 tunable parameters with sensible defaults.
  • Web crawling: can crawl websites into the local library.
  • Multiple interfaces: terminal TUI, CLI, MCP server, HTTP REST API, Python library. Coding agents that support MCP can call lilbee_search / lilbee_add to get cited snippets, and can dynamically adjust settings via lilbee_settings_set.
  • Compatible with existing environments: no need for Ollama or LM Studio, and it can also point to existing installations to continue using the models in them, and these models will appear in the same selector.

How to use After installation, just run lilbee. On first run, you can select a chat model from a directory that suits your machine's hardware, then indexFile, search, and chat without ever leaving the TUI. The settings interface lets you adjust all retrieval parameters (search depth, distance threshold, reranker, chunking, etc.). You can also run scripted or headless via the CLI and HTTP API. The retrieval defaults are already reasonable, and almost all settings can be adjusted via environment variables or config.toml, with most also adjustable from the TUI, MCP, and HTTP API.

There are two installation paths:

  • Self-contained packaged version (recommended starting point): a standalone binary, plus Homebrew / AUR / Nix / Docker / Flatpak / Snap / Scoop packaged versions, bundled with a Python runtime, llama.cpp, model engines, and optional extensions, with no need to install additional components. The cost is a larger download size and a small cold-start overhead on first self-extraction.
  • Install into your own Python (3.11 to 3.14) via pip or uv: the developer route, installed as a library, with model engines and indexing being extensions that must be specified separately.

Platform differences

  • NVIDIA: the default Vulkan build works, and there is also a faster CUDA build that avoids the Vulkan loader crash on Windows with iGPU + dGPU; the CUDA runtime is bundled, so only the NVIDIA driver is needed.
  • AMD: the default Vulkan build works, and there is also a faster ROCm build (Linux only, supporting MI100, MI200, MI300, MI350, RDNA2, RDNA3, RDNA3.5 APU, RDNA4); ROCm 7 does not provide GEMM kernels for MI50, so that card must use the Vulkan build.
  • Older CPUs (earlier than AVX2): normal builds will crash at startup, so the lilbee-compat build can be used.
  • Linux runtime: the x86_64 wheels and binaries bundle the Vulkan loader, but GPU detection still depends on the system loader, and if libvulkan1 is missing it will be treated as CPU-only.

Use cases

  • Build a private, queryable library from your personal documents and saved web pages.
  • Provide coding agents with a citable reference layer based on real projects, dependencies, and API documentation.
  • Run local models on your own consumer hardware, with no cloud dependency, no token budget, and files never leaving your machine.

Limitations and notes

  • lilbee is inactive Beta development, and every release on PyPI is a pre-release, so installation must use --pre (or uv's --prerelease=allow); interfaces, command names, and on-disk formats may change between Betas.
  • Minimum requirements: an Apple Silicon Mac, or a 64-bit Intel/AMD CPU from 2013 or later (see above for older CPUs), or an ARMv8 Linux machine; 8 GB of RAM, 2 GB of disk.
  • In the developer route, the [engine] extension is effectively required, otherwise an error will be reported with the corresponding command the first time a model is needed.
  • OCR for scanned PDFs / images is optional and requires Tesseract or a GGUF vision model; further details are not yet provided.
  • Regarding privacy: files, indexes, embeddings, questions, and answers all stay on your machine, with no telemetry sent and no account required; only when you set an API key for a cloud provider will that cloud be contacted, first to validate the key once, and afterward only your questions are sent to the cloud model you selected.
  • Specific fees, prices, platform licensing, etc. are not provided in the materials and are not yet available.