Python framework combining a large model catalog with ingestion, embedding, query, and prompt-with-sources APIs for local or self-hosted LLM apps. Targets Windows, Mac, and Linux laptops and servers.
Overview
llmware is a Python framework for building knowledge-grounded LLM applications, centered on retrieval-augmented generation and multi-step agent workflows. It pairs a broad model catalog—many small specialized and quantized models plus optional cloud providers—with pipeline pieces to parse documents, chunk text, embed content, and query libraries.
Developers install the package via pip and work through high-level concepts such as libraries for organized knowledge, mixed text and semantic queries, and prompts that attach retrieved sources. Inferencing can leverage GGUF, OpenVINO, ONNX Runtime, ONNX Runtime QNN, PyTorch, and platform-specific backends so deployments can favor on-device GPU or NPU hardware.
Document ingestion supports PDFs, Office formats, and related parsing workflows shown in bundled examples. Data store options range from file-based SQLite and Chroma for quick starts to Docker Compose setups for Postgres, Milvus, Mongo, and other vector and text indexes when scaling up.
The framework emphasizes running examples and solutions on a developer machine first, with paths to larger clusters when needed. Virtually all bundled examples can run on device without mandatory external SaaS for core flows.
Key features
- Unified model catalog across backends
- Document parse, chunk, and embed pipeline
- Semantic, text, and hybrid library queries
- Prompts with attached knowledge sources
- SLIM and RAG-oriented small models
- Multiple vector and text database options
- Agent workflows with function calls
- GGUF, OpenVINO, and ONNX inference paths
Use cases
- Private enterprise RAG over document libraries
- On-laptop proof-of-concept LLM apps
- Parsing and querying PDF or Office corpora
- Multi-step agents with specialized SLIM models
- Hybrid retrieval over embedded collections