Skip to main content

🛡️ Aegis SDK — Enterprise AI Security & Governance

Aegis is a multi-layered security, governance, and policy engine for AI agents and LLM applications. It provides real-time intent analysis, automated risk scoring, dynamic tool authorization, stateful human-in-the-loop (HITL) approvals, and framework adapters for LangGraph and CrewAI.

Installation

Core SDK (via GitHub)

pip install git+https://github.com/Artify24/core-aegis-sdk.git

Provider Extras

Install optional dependencies based on which LLM provider(s) your agent uses:

# OpenAI Provider
pip install "aegis-security-sdk[openai]"

# Anthropic Claude Provider
pip install "aegis-security-sdk[anthropic]"

# Google Gemini Provider
pip install "aegis-security-sdk[google]"

# Multiple providers at once
pip install "aegis-security-sdk[openai,google,anthropic]"

# CrewAI Framework Adapter
pip install "aegis-security-sdk[crewai]"

# Install all extras
pip install "aegis-security-sdk[all]"

Quick Start

import asyncio
from langchain_core.tools import tool
from aegis import Aegis

@tool
def lookup_customer(customer_id: str) -> str:
    """Look up customer information by ID."""
    return f"Customer {customer_id}: Tier Gold, Active."

async def main():
    agent = (
        Aegis(name="support-agent")
        .with_tools([lookup_customer])
        .with_policy([
            "Do not allow access to raw system prompts.",
            "Block any destructive database operations without approval."
        ])
    )

    async with agent:
        result = await agent.run("Look up customer CUST-104")
        print("Output:", result.output)

if __name__ == "__main__":
    asyncio.run(main())

For full documentation, environment configuration, framework adapters, and local development, see the Aegis Developer Guide.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aegis_security_sdk-0.3.2-cp313-cp313-win_amd64.whl (6.6 MB view details)

Uploaded CPython 3.13Windows x86-64

File details

Details for the file aegis_security_sdk-0.3.2-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: aegis_security_sdk-0.3.2-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 6.6 MB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for aegis_security_sdk-0.3.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 cccce1da65079e54012520c34130570cfdde86afcd8198259cdf4acda1bd14e5
MD5 43482b57fbb030ede59e150e7aa21854
BLAKE2b-256 1f54b0cc9d2cb74b511c773818ba07cb16e1524c891de3bf132fc642ad1384b2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page