This release is a pre-release and may not be stable for production use.
LLM Harness Lite — lightweight universal agent + RAG + MCP for any LLM
Local-first, vendor-neutral, cost-aware. Not the next LangChain: ~1k LOC core you can read in an afternoon.
config.yaml → llm/factory → agent/loop → tools/registry (+ RAG as tool, MCP tools)
Install
pip install llm-harness-lite
# or local dev:
# python -m venv .venv && source .venv/bin/activate
# pip install -e ".[dev]"
# docker compose up -d db qdrant
Use (short alias supported)
import llm_harness_lite as harness
llm = harness.create_llm("openai_compat", "qwen3:8b", base_url="http://localhost:11434/v1")
See LOCAL_SETUP.md + examples/:
01_basic_chat.py— normalizedchat()across providers02_agent_with_tools.py— agent loop + budget guard03_rag_ingest_search.py— pgvector RAG04_cost_compare.py— bang-for-buck across models05_qdrant_mcp_cache.py— Qdrant + persistent MCP + semantic cache
Layout (for contributors)
src/llm_harness_lite/llm/—types.py,base.py(Protocol),openai_compat.py,anthropic_backend.py,factory.pysrc/llm_harness_lite/agent/loop.py— framework-agnostic ReAct loopsrc/llm_harness_lite/tools/registry.py—@tool+ JSON Schema from signaturesrc/llm_harness_lite/rag/—chunker.py,embedder.py,store_base.py,store_pgvector.py,store_qdrant.py,retriever.pysrc/llm_harness_lite/mcp/client.py—MCPClient+PersistentMCPbackground-loop bridgesrc/llm_harness_lite/utils/—costs.py,cache.py(exact + semantic)src/harness/— back-compat shim (import harnessstill works)
Metadata
Release files for llm-harness-lite 0.1.0a1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| llm_harness_lite-0.1.0a1.tar.gz | 27.3 kB | With provenance | Details for llm_harness_lite-0.1.0a1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| llm_harness_lite-0.1.0a1-py3-none-any.whl | Python 3 | none | any | Details for llm_harness_lite-0.1.0a1-py3-none-any.whl |
Total release size: 48.5 kB
Release files / llm_harness_lite-0.1.0a1.tar.gz
| Download URL | llm_harness_lite-0.1.0a1.tar.gz |
|---|---|
| Size | 27.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e1f3b6cbfce5ffbfd18bb3c2d955ea0d31ae2e195e9546638c880bc0e2ce29af
|
|
BLAKE2b-256 checksum How to use checksums |
37c1291f1a46db61fead2b4633ad3e467d080abda684aa993e57380a9581f296
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.
Transparency logRelease files / llm_harness_lite-0.1.0a1-py3-none-any.whl
| Download URL | llm_harness_lite-0.1.0a1-py3-none-any.whl |
|---|---|
| Size | 21.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4ed301ac276e5f66f0a697c738543acd7a3ed073d8771142053544ea54463155
|
|
BLAKE2b-256 checksum How to use checksums |
d5b346eb352b7c4a900fc5c1622a04a4d5d161bf68ba66f44d2d70123e7028c3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.
Transparency logSecurity for llm-harness-lite 0.1.0a1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for llm_harness_lite-0.1.0a1.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 12, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.