AEGIS AGP-1 Complete Specification Suite & Index

Document: AGP-1/Index (/protocol/)
Version: 1.0 (Normative)
Part of: AEGIS Governance Protocol
Last Updated: March 6, 2026


Executive Summary

The AEGIS Governance Protocol (AGP-1) is the normative wire protocol for deterministic governance of AI-generated actions within the AEGIS Federation Network. This is a comprehensive, multi-document specification suite that defines:

Key Properties:


Document Structure

This specification suite consists of 9 modular documents organized by domain:

Core Protocol (Read in this order)

  1. AEGIS_AGP1_OVERVIEW.md - Protocol overview, principles, and design rationale

    • Purpose and scope
    • Core principles (determinism, default-deny, attribution, auditable)
    • Message categories
    • Integration with RFCs and federation
  2. AEGIS_AGP1_MESSAGES.md - Complete message schemas and field specifications

    • ACTION_PROPOSE schema with 15+ fields
    • DECISION_RESPONSE schema with decision outcomes
    • EXECUTION_REPORT for outcome tracking
    • ESCALATION_REQUEST for human review
    • AUDIT_QUERY for evidence retrieval
    • HEALTH_CHECK for connectivity testing
  3. AEGIS_AGP1_WIRE_FORMAT.md - Transport, serialization, and encoding

    • HTTP/1.1 and HTTP/2 endpoints and methods
    • Protocol Buffers alternative format
    • Request/response envelopes
    • Content encoding (JSON, gzip, protobuf)
    • Header specifications
  4. AEGIS_AGP1_INDEX.md - Protocol flows, diagrams, and state machines

    • Happy path (allow decision)
    • Escalation flow (human review)
    • Comprehensive decision tree
    • Complete state machine with all paths
    • Justification for flow design
  5. AEGIS_AGP1_AUTHENTICATION.md - Authentication and authorization

    • Bearer tokens with JWT claims
    • Mutual TLS (mTLS) certificate validation
    • API key authentication (deprecated)
    • Authorization scopes (propose_action, query_audit, etc.)
    • Request attribution

Decision Logic (Critical for evaluation)

  1. AEGIS_AGP1_POLICY_EVALUATION.md - Capability registry and policy evaluation

    • Integration with RFC-0003 Capability Registry
    • Policy language specification with examples
    • Capability inheritance and composition
    • Conflict resolution (precedence rules)
    • Deterministic evaluation algorithm
  2. AEGIS_AGP1_RISK_SCORING.md - Risk assessment and decision logic

    • 5-factor risk scoring model with weights
    • Historical attempt rate calculations
    • Actor reputation/trust integration
    • Capability sensitivity factors
    • Behavioral anomaly detection
    • Federation signal incorporation
    • Decision thresholds (allow, monitor, escalate, deny)
    • Confidence scoring

Operational Specifications

  1. AEGIS_AGP1_INDEX.md - Error handling and recovery

    • Error response envelope format
    • 15 error codes with HTTP mappings
    • Retryable vs. non-retryable errors
    • Exponential backoff strategies
    • Timeout and deadline handling
  2. AEGIS_AGP1_INDEX.md - Deployment, configuration, and operations

    • Deployment topologies (single-instance, HA, authority nodes)
    • Performance requirements and SLOs
    • Kubernetes and Docker examples
    • Monitoring and observability
    • Troubleshooting guide

Quick Reference: Message Types

MessageDirectionPurposeResponse
ACTION_PROPOSEClient → ServerPropose operational action for governanceDECISION_RESPONSE
DECISION_RESPONSEServer → ClientReturn governance decision (ALLOW/DENY/ESCALATE/REQUIRE_CONFIRMATION)(none - client decides)
EXECUTION_REPORTClient → ServerReport execution outcome (status, duration, resource usage)ACK
ESCALATION_REQUESTServer → ClientRequest human review for high-risk/uncertain actionESCALATION_RESPONSE
AUDIT_QUERYClient → ServerQuery audit trail for compliance/forensicsAUDIT_RESPONSE
HEALTH_CHECKEither → EitherTest protocol health and version negotiationHEALTH_CHECK_RESPONSE

Quick Reference: Decision Outcomes

DecisionMeaningClient Action
ALLOWAction permittedExecute with standard or enhanced constraints
DENYAction forbiddenStop; do not execute
ESCALATERequires human reviewPause; request human approval
REQUIRE_CONFIRMATIONRequires explicit user consentRe-submit with confirmation flag

Integration with RFC Documents

This protocol specification is tightly integrated with:


Performance Targets

Latency SLOs (p99)

OperationTargetNotes
Schema validation< 5msMessage structure check
Capability resolution< 10msRegistry lookup
Policy evaluation (simple)< 50msSingle-rule match
Policy evaluation (complex)< 500ms20+ rules with risk computation
Risk score computation< 100ms5-factor calculation + federation lookup
Overall decision< 200msFull path with caching

Throughput Targets


Security Model

Authentication: Every message MUST include credentials

Authorization: Actor MUST have appropriate scope for operation

Audit: Every decision is tamper-evident and fully attributed


Conformance

Server Conformance

A server implementation MUST:

Client Conformance

A client implementation MUST:


Version History

VersionDateChangesStatus
1.02026-03-05Initial normative releaseCurrent

Future Versions (Planned)


AEGIS Core Specifications

Federation Specifications

Supporting Documents


How to Use This Specification

For Implementers (Building AGP-1 Servers)

  1. Start with AEGIS_AGP1_OVERVIEW.md to understand principles
  2. Review AEGIS_AGP1_MESSAGES.md for exact schemas
  3. Implement message parsing and validation per AEGIS_AGP1_WIRE_FORMAT.md
  4. Integrate policy evaluation per AEGIS_AGP1_POLICY_EVALUATION.md
  5. Implement risk scoring per AEGIS_AGP1_RISK_SCORING.md
  6. Add error handling per AEGIS_AGP1_INDEX.md
  7. Deploy per AEGIS_AGP1_INDEX.md

For Client Developers (Calling AGP-1 Runtimes)

  1. Review AEGIS_AGP1_OVERVIEW.md for protocol overview
  2. Learn message structure from AEGIS_AGP1_MESSAGES.md
  3. Implement authentication per AEGIS_AGP1_AUTHENTICATION.md
  4. Handle all decision outcomes from AEGIS_AGP1_INDEX.md
  5. Implement error handling from AEGIS_AGP1_INDEX.md

For Policy Authors

  1. Review policy evaluation in AEGIS_AGP1_POLICY_EVALUATION.md
  2. Study policy language syntax and examples
  3. Understand capability resolution and inheritance
  4. Review conflict resolution rules for ordering policies

For Risk Analysts

  1. Review risk scoring in AEGIS_AGP1_RISK_SCORING.md
  2. Understand 5-factor risk model and weights
  3. Review risk-based decision thresholds
  4. Analyze confidence score calculations

Document Maintenance

Last Updated: March 5, 2026
Maintained By: AEGIS Initiative
Review Cycle: Quarterly (every 3 months)
Next Review: June 5, 2026


License & Attribution

All AEGIS governance specifications are published under the AEGIS Governance framework. See LICENSE for details.


References

Footnotes

  1. F. B. Schneider, “Enforceable Security Policies,” ACM Transactions on Information and System Security (TISSEC), vol. 3, no. 1, pp. 30–50, Feb. 2000, doi: 10.1145/353323.353382. See REFERENCES.md. 2 3

  2. J. P. Anderson, “Computer Security Technology Planning Study,” Deputy for Command and Management Systems, HQ Electronic Systems Division (AFSC), Hanscom Field, Bedford, MA, Tech. Rep. ESD-TR-73-51, Vol. II, Oct. 1972. See REFERENCES.md.