Catalog PyPI
PACKAGE EXPLORERView in registry

aegis-gateway-core

PyPI

Aegis kernel: typed config, plugin registry, guardrail pipeline and contract test kits.

ai-gatewayauditgovernanceguardrailsllmopenaipii
Versions collected1
Direct dependencies15From release 2.0.0a6
Last observed20 Oct, 20:16 UTC

README

Version 2.0.0a6 documentation

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.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
2.0.0a627 Sept 202615

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
e-choness/aegis

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 20:16 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:ccf9b5b5bb95a901bd132021bdccb0571d59d73f70f8795f23a03e05c0d1b639