This release is a pre-release and may not be stable for production use.
llm-tools-docker
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
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| llm_tools_docker-0.1a0.tar.gz | 7.3 kB | With provenance | Details for llm_tools_docker-0.1a0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| llm_tools_docker-0.1a0-py3-none-any.whl | Python 3 | none | any | Details for llm_tools_docker-0.1a0-py3-none-any.whl |
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 logRelease 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 logSecurity for llm-tools-docker 0.1a0
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_tools_docker-0.1a0.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 Jun 14, 2025.
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.