This release is a pre-release and may not be stable for production use.
aegis-gateway-pack-content
Model-based content inspection for Aegis:
mask entities no pattern can describe (internal hostnames, project code names)
and label requests (sensitivity, intent) for the label policy to act on. The
model is a setting — GLiNER2 by default, swappable through the
aegis.content_models entry point.
# CPU-only machines: install PyTorch's CPU build first (the default wheel bundles CUDA)
pip install torch --index-url https://download.pytorch.org/whl/cpu
pip install "aegis-gateway-pack-content[model]"
guardrails:
content:
pack: aegis.content
model: fastino/gliner2-base-v1
entities:
internal hostname: hostname or address of an internal server or service
labels:
intent: [normal request, prompt injection or jailbreak attempt]
pipeline:
ingress: [content]
egress: [content]
See Content for what it's good at — measured, not claimed.
Links
- Documentation · Changelog · Source
- Most users want the umbrella package:
pip install aegis-gateway(add[content]for the model).
Part of Aegis, a self-hosted AI gateway. Licensed under AGPL-3.0-or-later.
Release files for aegis-gateway-pack-content 2.0.0a5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| aegis_gateway_pack_content-2.0.0a5.tar.gz | 21.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aegis_gateway_pack_content-2.0.0a5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 42.6 kB
Release files / aegis_gateway_pack_content-2.0.0a5.tar.gz
| Download URL | aegis_gateway_pack_content-2.0.0a5.tar.gz |
|---|---|
| Size | 21.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d6e3dd34d527a2135d82a00beed268fe4d3fa28843552b762d8492735f5f1fed
|
|
BLAKE2b-256 checksum How to use checksums |
3167fd56e4bd3001c2145cb46cabae87beff6c0df1f18d0af50eacb97b8d81dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 27, 2026.
Transparency logRelease files / aegis_gateway_pack_content-2.0.0a5-py3-none-any.whl
| Download URL | aegis_gateway_pack_content-2.0.0a5-py3-none-any.whl |
|---|---|
| Size | 21.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
17dead373ea1d60a889896d92dbc7baab1c7e7ebbb5b4e698755583e58c32b1f
|
|
BLAKE2b-256 checksum How to use checksums |
692dddd217fdac74f1ee90cb3461cae663570074bcd14600a726c32be5d90592
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 27, 2026.
Transparency log