Skip to main content

llm-tools-rag

A tool plugin for LLM that allows you to search over your embedding collections.

PyPI Changelog Tests License

Installation

Install this plugin in the same environment as LLM:

llm install llm-tools-rag

Usage

Use -T RAG to enable the RAG tools. You can specify a non-default database with -T RAG("other_db.db").

llm -m claude-4-sonnet -T RAGTools "what are the available plugin hooks in llm?"

Development

To set up this plugin locally, first checkout the code. Then create a new virtual environment:

cd llm-tools-rag
python -m venv venv
source venv/bin/activate

Install the dependencies and test dependencies:

pip install -e '.[test]'

To run the tests:

pytest

Dependencies

  • llm: The LLM CLI tool this plugin extends
  • sqlite-utils: For querying LLM's sqlite databases

Metadata

Release files for llm-tools-rag 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for llm-tools-rag 0.1.1
File Size Uploaded
llm_tools_rag-0.1.1.tar.gz 3.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for llm-tools-rag 0.1.1
File Interpreter ABI Platform
llm_tools_rag-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 6.2 kB

Release files / llm_tools_rag-0.1.1.tar.gz

Download URL llm_tools_rag-0.1.1.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
470e034a95cfbdfa21ff1e6dc3bf85e699f711da89667c3bea9e93d181195cae
BLAKE2b-256 checksum
How to use checksums
9d11717ddf37109de33ebeeb6be0aa855a0a45c2d476d0b0d6c80187877ba050
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Oct 22, 2025.

Transparency log

Release files / llm_tools_rag-0.1.1-py3-none-any.whl

Download URL llm_tools_rag-0.1.1-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e931702552d94c9698e64ec258b62c83b7ad47ba73b7487ed3efbef7378091cf
BLAKE2b-256 checksum
How to use checksums
4cc8d801991598c729eecf6a9f35d895836ed97d665185e3666f8c0e1f5e83a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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 Oct 22, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page