Skip to main content

Cage (llm-cage)

Status: placeholder release — reserving the name while the project is designed. Not yet functional.

Cage runs a local-LLM component of your application inside a separate OS process with network access denied by default (loopback allowed, for talking to a local model server), while keeping local hardware acceleration (GPU/Metal/CUDA) intact and giving you a friction-free way to call into it from the rest of your app:

from cage import Cell

cell = Cell()

@cell.expose
def ask_local_llm(prompt: str) -> str:
    import ollama
    return ollama.chat(model="llama3", messages=[{"role": "user", "content": prompt}])["message"]["content"]

answer = ask_local_llm("what's 2+2?")  # runs inside the network-restricted process

Design details are being worked out as a public RFC series before implementation starts. This release exists solely to reserve the package name.

Metadata

Release files for llm-cage 0.0.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-cage 0.0.1
File Size Uploaded Provenance Actions
llm_cage-0.0.1.tar.gz 2.9 kB Without provenance Details for llm_cage-0.0.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for llm-cage 0.0.1
File Interpreter ABI Platform Actions
llm_cage-0.0.1-py3-none-any.whl Python 3 none any Details for llm_cage-0.0.1-py3-none-any.whl

Total release size: 5.9 kB

Release files / llm_cage-0.0.1.tar.gz

Download URL llm_cage-0.0.1.tar.gz
Size 2.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a0a071a1658804ec95eb9d79e002e5de4da0c500820cf88877ba5fc4ffff3beb
BLAKE2b-256 checksum
How to use checksums
90ffc2935c44371c41552c96a55b458dcd8abd86c5021375cfcb53b5d7af4b1a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.8

Release files / llm_cage-0.0.1-py3-none-any.whl

Download URL llm_cage-0.0.1-py3-none-any.whl
Size 3.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4adaf9877d0dd75475dd7ad2c5de23d2f9e9db3030f047d7b16d90ce83a91d1b
BLAKE2b-256 checksum
How to use checksums
faeaa8eef99335cc1a2d98f3bfc4dbf3a9a85a4e01b0a2ae29f28993f199ea38
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.8

Security for llm-cage 0.0.1

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A 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.

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files No provenance

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