aegis-sdk
Client SDK and integration libraries for the AEGIS™ governance platform
aegis-sdk is the primary integration surface for developers building on top of AEGIS™. It provides
TypeScript/JavaScript and Python client libraries that wrap the AEGIS™ platform API, making it straightforward to
integrate governance enforcement into any AI system.
Capability without constraint is not intelligence™
| Package | Language | Registry | Install |
|---|---|---|---|
@aegis-initiative/sdk |
TypeScript / JavaScript | npm | npm install @aegis-initiative/sdk |
aegis-sdk |
Python | PyPI | pip install aegis-sdk |
import { AegisClient } from '@aegis-initiative/sdk';
const aegis = new AegisClient({ baseUrl: 'https://demo.aegis-platform.net' });
const decision = await aegis.propose({
actor: { id: 'agent-001', type: 'ai-agent' },
action: { capability: 'database.query', parameters: { query: '...' } }
});
if (decision.outcome === 'ALLOW') {
// execute
}from aegis_sdk import AegisClient
aegis = AegisClient(base_url="https://demo.aegis-platform.net")
decision = aegis.propose(
actor={"id": "agent-001", "type": "ai-agent"},
action={"capability": "database.query", "parameters": {"query": "..."}}
)
if decision.outcome == "ALLOW":
# executeBoth SDKs return one of four governance outcomes:
| Outcome | Meaning |
|---|---|
ALLOW |
Action approved — proceed with execution |
DENY |
Action rejected — do not execute |
ESCALATE |
Requires elevated review before proceeding |
REQUIRE_CONFIRMATION |
Requires explicit human approval |
aegis-sdk/
├── packages/
│ ├── sdk-ts/ # TypeScript/JavaScript SDK
│ └── sdk-py/ # Python SDK
└── docs/ # SDK reference documentation
Full SDK reference: aegis-docs.com/sdk
| Repo | Relationship |
|---|---|
| aegis-platform | Platform API this SDK wraps |
| aegis-docs | SDK reference docs published here |
| aegis-ops | npm and PyPI publish pipeline |
| aegis-core | Enforcement engine underlying the platform |
Licensed under the Apache License 2.0. See LICENSE for details.
AEGIS™ and "Capability without constraint is not intelligence™" are trademarks of AEGIS Operations LLC. Use of AEGIS™ marks in derivative works must not imply endorsement without explicit written permission.