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 Distribution

aegis_security_sdk-0.1.0.tar.gz (63.3 kB view details)

Uploaded Source

Built Distribution

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

aegis_security_sdk-0.1.0-py3-none-any.whl (88.8 kB view details)

Uploaded Python 3

File details

Details for the file aegis_security_sdk-0.1.0.tar.gz.

File metadata

  • Download URL: aegis_security_sdk-0.1.0.tar.gz
  • Upload date:
  • Size: 63.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.13.3

File hashes

Hashes for aegis_security_sdk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8ce3b92395d8fbd0181c717dc89e90106ee43d5f911f6c09df38972f7aeb36c6
MD5 e9ae2a3cd3dbb0b2296a821ec90a4258
BLAKE2b-256 a9d32c72ce3ccd77acbc74ef958c3ab7cbf544654b9803b15014b99ab32ab0b9

See more details on using hashes here.

File details

Details for the file aegis_security_sdk-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for aegis_security_sdk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d06e57d57986127dbbbc4caf348d4caaff4bb48edf0602a90a4dbe7ec56e4c56
MD5 470c73b09739d30b63abca8d6017fb39
BLAKE2b-256 8c50c1189ff4747d4a1a25d10e32a476ceb5538082876217fadd24147388a320

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