Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

llm-tools-docker

PyPI Changelog Tests License

Run commands in a Docker container via an LLM tool

Installation

Install this plugin in the same environment as LLM.

llm install llm-tools-docker

Usage

To use this with the LLM command-line tool:

llm chat -T DockerAlpine --tools-debug --chain-limit 0

Then in the chat try:

Install Python 3 and use it to draw a cowsay cow

This plugin currently only works with llm chat since the container is not persisted across multiple calls.

Warning

This is a very early alpha. Every time you start a new chat it will create a new Docker container without closing down the previous one.

It will mount the current directory as a volume in the container, so commands that run in Docker will be able to modify or delete files in that directory.

Development

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

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

Now install the dependencies and test dependencies:

llm install -e '.[test]'

To run the tests:

python -m pytest

Release files for llm-tools-docker 0.1a0

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-docker 0.1a0
File Size Uploaded
llm_tools_docker-0.1a0.tar.gz 7.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for llm-tools-docker 0.1a0
File Interpreter ABI Platform
llm_tools_docker-0.1a0-py3-none-any.whl Python 3 none any Details

Total release size: 14.9 kB

Release files / llm_tools_docker-0.1a0.tar.gz

Download URL llm_tools_docker-0.1a0.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
f6daafd2a37ab04a2903b0cf4f564fbb816f87ce9a5bf2f688979e6ed7cb3752
BLAKE2b-256 checksum
How to use checksums
76343e8e7ecf38dd50a40497bf0de2a6bf804782f30fb9c1143409ec640cb105
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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 Jun 14, 2025.

Transparency log

Release files / llm_tools_docker-0.1a0-py3-none-any.whl

Download URL llm_tools_docker-0.1a0-py3-none-any.whl
Size 7.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ab949766d183f2db516f073f52e90ed59dcb3c6b6c2848da881cc351369e01ef
BLAKE2b-256 checksum
How to use checksums
6a3573f2e8d0ef380722d2fdd2b323edd9df70556bd15bc8a36eb7195e4375a3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.9

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 Jun 14, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.1a0 This release

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