Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Org Domain Public

AEGIS™ SDK

aegis-sdk
Client SDK and integration libraries for the AEGIS™ governance platform

npm PyPI


Overview

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™


Packages

Package Language Registry Install
@aegis-initiative/sdk TypeScript / JavaScript npm npm install @aegis-initiative/sdk
aegis-sdk Python PyPI pip install aegis-sdk

Quick Start

TypeScript

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
}

Python

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":
    # execute

Governance Outcomes

Both 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

Repository Structure

aegis-sdk/
├── packages/
│   ├── sdk-ts/        # TypeScript/JavaScript SDK
│   └── sdk-py/        # Python SDK
└── docs/              # SDK reference documentation

Documentation

Full SDK reference: aegis-docs.com/sdk


Related Repositories

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

License & Trademark

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.

About

Official client libraries for the AEGIS governance APIs and AGP-1 runtime. TypeScript on npm, Python on PyPI.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages