Sanctioned pathway · Compatible with SAP API Policy 4.2026a, §2.2.2 Read the whitepaper →
AegisAI
Architecture

One architecture. 31 backends. Every auditor.

Nine deterministic stages. Each backend's own IAM as the sole authorisation arbiter (ADR 0002). No LLMs in the decision path (ADR 0001). Same architecture for SAP, Snowflake, Databricks, BigQuery, Salesforce, Workday, MongoDB — one pipeline, 31 backends.

The pipeline

Nine deterministic stages. Any one of them can deny.

Same identity, same intent, same context, same data — same response every time. Each stage is independently observable and bounded.

1

Rate limit

Per-user / per-tenant Redis fixed-window

2

Ceiling

Body / URL / wall-time caps at ASGI

3

Authenticate

JWT HS/RS/ES/PS + JWKS rotation

4

Propagate identity

Trusted RFC · SAML Bearer · OBO · WIF

5

Adaptive trust

Frequency · scope expansion · coordination

6

Policy

Deterministic deny-by-default AST

7

Plan

SafeQuery with :named placeholders

8

Execute

Under propagated identity

9

Mask + audit

Schema firewall · HMAC chain append

Design invariants

Four invariants that compile to every line of code.

These are not aspirations. They are written down, ADR-tracked, and enforced by tests.

Deterministic by design

No LLMs in gateway/, policy_engine/, query_planner/, response_firewall/, or the audit chain. Every deny decision is reproducible from inputs. ADR 0001.

Each backend's IAM is the sole arbiter

AegisAI propagates identity and relays the verdict. SAP AUTHORITY-CHECK, Snowflake Unity Catalog, Salesforce sharing rules, Databricks notebook ACLs — each backend decides for itself. AegisAI never substitutes. ADR 0002.

Fail-closed by default

Redis down → trust system denies. Postgres (audit) down → 503. JWKS down → 401. Default secrets in PRODUCTION → refuse to start.

Documented APIs only

SAP documented BAPIs. Snowflake / Databricks REST. Salesforce / Workday OAuth. MongoDB Atlas. No reserved-namespace endpoints, no scraping, no undocumented surfaces. SAP 4.2026a §2.2.2 compliance is structural — same posture applies to every backend.

Deployment topology

Three ways to deploy. Customer keeps the data plane.

AegisAI sees every query and response so it can mask. That access pattern is unacceptable as SaaS, so we don't offer it.

Pilot

Vendor-hosted sandbox with fixture data. For 2-4 week proofs of concept and architecture demos. Sandbox data only.

Self-hosted Helm

Customer runs AegisAI in their own k8s. Non-root, read-only-rootfs container. Audit CronJob bundled. No outbound dependency on AegisAI infrastructure.

BYOC managed

AegisAI deployed and operated in the customer's cloud account. They own the data plane, we operate the control plane. Premium tier.

Identity propagation

One JWT becomes four backend identities.

The end-user's token at the gateway becomes the right principal at every backend — without service-account substitution.

SAP — Trusted RFC + STRUSTSSO2 + SNC level 8/9

The user's JWT subject becomes an SNC-protected RFC connection authenticated as the end user. SAP's AUTHORITY-CHECK evaluates against that user's profile at execute time. No SAP_ALL service account.

AWS — STS AssumeRole chain

STS AssumeRoleWithSAML or AssumeRoleWithWebIdentity establishes an assumed role bearing the end user's federated identity. RDS Data API sees the right principal ARN for row-level security.

Azure — AAD on-behalf-of flow

AAD OBO produces a delegated token whose oid claim is the end user. Synapse RBAC sees the user; not the service principal.

GCP — Workload Identity Federation

WIF produces a short-lived token bound to the user's external identity. BigQuery dataset ACL and project IAM evaluate against that principal.

Ready when you are

Put the sanctioned pathway in front of your AI.

30-minute architecture call. We walk through your data sources, your auth model, and what a 4.2026a-compatible AI integration looks like for your stack.