This release is a pre-release and may not be stable for production use.
aegis-gateway-core
The Aegis kernel: typed aegis.yaml configuration, secret:// resolution,
entry-point plugin discovery, the LangGraph pipeline (ingress → execute →
egress), the four-verdict guardrail contract, and contract test kits for
plugin authors.
pip install aegis-gateway-core # add [rag] for Chroma/pgvector retrieval
Depend on this package when you write a plugin. The public API for pack
factories is aegis_core.packs; guardrails implement
async scan(state) -> Verdict.
from aegis_core.pipeline.state import RunState
from aegis_core.pipeline.verdict import Verdict
class NoTicketsGuard:
name = "no_tickets"
streaming = "none"
async def scan(self, state: RunState) -> Verdict:
if "INC-" in state.messages[-1].content:
return Verdict.block("internal ticket ids must not leave the company")
return Verdict.allow()
See Write a plugin and Testing.
Links
- Documentation · Changelog · Source
- Most users want the umbrella package:
pip install aegis-gateway.
Part of Aegis, a self-hosted AI gateway. Licensed under AGPL-3.0-or-later.
Metadata
Release files for aegis-gateway-core 2.0.0a6
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 |
|---|---|---|---|---|
| aegis_gateway_core-2.0.0a6.tar.gz | 86.1 kB | With provenance | Details for aegis_gateway_core-2.0.0a6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aegis_gateway_core-2.0.0a6-py3-none-any.whl | Python 3 | none | any | Details for aegis_gateway_core-2.0.0a6-py3-none-any.whl |
Total release size: 171.4 kB
Release files / aegis_gateway_core-2.0.0a6.tar.gz
| Download URL | aegis_gateway_core-2.0.0a6.tar.gz |
|---|---|
| Size | 86.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8f879341293e40ffe25171210e044fee29edef84eae10e9362b170dbdf014384
|
|
BLAKE2b-256 checksum How to use checksums |
0cb5e4af47da5112362f0151a75215f65533bd0420dac66d2bd12cc1b677db55
|
| 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_core-2.0.0a6-py3-none-any.whl
| Download URL | aegis_gateway_core-2.0.0a6-py3-none-any.whl |
|---|---|
| Size | 85.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4951706f3737257089b54372aa01538e774121362b6af9e99e53e394c8cbdbc4
|
|
BLAKE2b-256 checksum How to use checksums |
7086b021bff2b41e8e12917b0bf88e2793c4431b3df90661a86be9326f0e73a7
|
| 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 logSecurity for aegis-gateway-core 2.0.0a6
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 aegis_gateway_core-2.0.0a6.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 Sep 27, 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.