llm-live-chat
An LLM plugin that provides an interactive chat with support for live message injection from external processes.
Installation
Install this plugin in the same environment as LLM.
llm install llm-live-chat
Usage
live-chat
Start an interactive chat session:
llm live-chat
This works like llm chat but supports live message injection from external processes via SIGUSR1. The session displays its PID and conversation ID on startup so other processes can inject messages into the running conversation.
Options:
-m MODEL— Model to use-s SYSTEM— System prompt-c/--continue— Continue the most recent conversation--cid ID— Continue a specific conversation by ID--show-history— Display previous messages when continuing a conversation-T TOOL— Make a tool available to the model-t TEMPLATE— Use a template-o KEY VALUE— Model options
inject
Inject a message into a conversation's database:
llm inject "Your message here" --cid CONVERSATION_ID
If --cid is given, the message is injected into that conversation and SIGUSR1 is sent to all running llm live-chat processes so they pick it up immediately.
If no --cid is given, a new conversation is created.
Options:
--cid ID— Conversation ID to inject into--prompt TEXT— User message to pair with the injected response (default: "...")-m MODEL— Model name for new conversations-d DATABASE— Path to log database
Development
To set up this plugin locally, first checkout the code. Then create a new virtual environment:
cd llm-live-chat
python3 -m venv venv
source venv/bin/activate
Now install the dependencies and test dependencies:
pip install -e '.[test]'
To run the tests:
pytest
Metadata
Release files for llm-live-chat 0.0.2
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_live_chat-0.0.2.tar.gz | 13.8 kB | With provenance | Details for llm_live_chat-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| llm_live_chat-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for llm_live_chat-0.0.2-py3-none-any.whl |
Total release size: 26.1 kB
Release files / llm_live_chat-0.0.2.tar.gz
| Download URL | llm_live_chat-0.0.2.tar.gz |
|---|---|
| Size | 13.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
64179722d07efc55a11f71ba074a32874afb15c226d734d3bd7db8697a3a16ac
|
|
BLAKE2b-256 checksum How to use checksums |
26708174ab4540e53754801a4a165256ed60ec3e72c52187f7addf3d8b945894
|
| 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 Mar 1, 2026.
Transparency logRelease files / llm_live_chat-0.0.2-py3-none-any.whl
| Download URL | llm_live_chat-0.0.2-py3-none-any.whl |
|---|---|
| Size | 12.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5eeddc240e2fb07d513097d4aa9de1e06c2225c673bda052e5aaee4aa124116a
|
|
BLAKE2b-256 checksum How to use checksums |
57995250aebc2cddcab89e4b16cd66acb02cfbe227d353895e0e0277be6cdefb
|
| 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 Mar 1, 2026.
Transparency logSecurity for llm-live-chat 0.0.2
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
All 2 files in this release have been uploaded with provenance metadata.
Attestation for llm_live_chat-0.0.2.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 Mar 1, 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.