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.0a4

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.0a4
File Size Uploaded
aegis_gateway_core-2.0.0a4.tar.gz 83.1 kB Details

Built distribution (wheel)

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

Total release size: 166.3 kB

Release files / aegis_gateway_core-2.0.0a4.tar.gz

Download URL aegis_gateway_core-2.0.0a4.tar.gz
Size 83.1 kB
Tags Source
SHA-256 checksum
How to use checksums
94ebeae50599ea4b331c8a8a25ca0c4d676bce494ac6bb380b12b7db8e763034
BLAKE2b-256 checksum
How to use checksums
748cb880b81c88f4ca0b76e81de0617bb5ca82e7df2d416844b10db28fe4fb61
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.0a4-py3-none-any.whl

Download URL aegis_gateway_core-2.0.0a4-py3-none-any.whl
Size 83.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
25534ff5ee92b5b2eb75e33afdfb6aab62849c1f37e185ced85fa04dd0ea8275
BLAKE2b-256 checksum
How to use checksums
8464ee70ce1ab9b8a56fab60e84e3e116560385aaa185022a18b72948e03e4f9
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