Skip to main content
Pre-release

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.

Part of Aegis, a self-hosted AI gateway. Licensed under AGPL-3.0-or-later.

Metadata

Release files for aegis-gateway-core 2.0.0a5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aegis-gateway-core 2.0.0a5
File Size Uploaded
aegis_gateway_core-2.0.0a5.tar.gz 83.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aegis-gateway-core 2.0.0a5
File Interpreter ABI Platform
aegis_gateway_core-2.0.0a5-py3-none-any.whl Python 3 none any Details

Total release size: 166.3 kB

Release files / aegis_gateway_core-2.0.0a5.tar.gz

Download URL aegis_gateway_core-2.0.0a5.tar.gz
Size 83.1 kB
Tags Source
SHA-256 checksum
How to use checksums
33e24c40a069e893f9b6b51e0811f3a5f9855158fa351df0b59ca221b521705a
BLAKE2b-256 checksum
How to use checksums
fcad26cb92feb05b90c09a646da4a73dec06dd2120411945e4bb2b5dbe47aba3
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

Release files / aegis_gateway_core-2.0.0a5-py3-none-any.whl

Download URL aegis_gateway_core-2.0.0a5-py3-none-any.whl
Size 83.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3088a726c084b375e01c4662cbab64bab6339c13dae0a52c4b8975a3b5b7946c
BLAKE2b-256 checksum
How to use checksums
159ace170ade50728085ad114f199d28046df9167146c4966499a42ab3d3f676
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
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