File size: 2,114 Bytes
c1e200c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
---
license: apache-2.0
language: en
tags:
- agentic-ai
- enterprise
- orchestration
- control-plane
- event-sourcing
- cqrs
pipeline_tag: any-to-any
---

# AIF-Kernel

**Core Enterprise Agent Runtime** β€” 17 bounded control planes, event sourcing, CQRS command bus, and the central nervous system of the Aurelian Intelligence Foundry.

## Architecture

The Kernel implements the `Event Sourcing + CQRS + Command Bus` pattern:

```
Authority β†’ Schema Registry β†’ Command Bus β†’ Event Store β†’ Aggregate Engine β†’ Planner β†’ Capability Router β†’ Executor
```

Every execution produces an immutable receipt.

## Control Planes

| # | Plane | Purpose |
|---|-------|---------|
| 1 | Identity | Agent/user identity management |
| 2 | Capability | Permission registry and enforcement |
| 3 | Policy | Rule engine for governance |
| 4 | Routing | Intelligent model/adapter dispatch |
| 5 | Memory | Semantic, procedural, episodic, organizational |
| 6 | Execution | Task dispatch and monitoring |
| 7 | Evaluation | Quality scoring and regression detection |
| 8 | Economics | Token tracking and cost modeling |
| 9 | Observability | OpenTelemetry traces and metrics |
| 10 | Security | OWASP-compliant threat detection |
| 11 | Reliability | Retry, circuit breaker, bulkhead |
| 12 | Governance | 6-gate approval pipeline |
| 13 | Certification | Agent validation and signing |
| 14 | Marketplace | Agent package lifecycle |
| 15 | Adaptation | Bridge connectors to 16 platform adapters |
| 16 | Safety | Content filtering and alignment |
| 17 | Recovery | Self-healing and automated remediation |

## Key Metrics

- **1,584 tests** β€” full enterprise coverage
- **48/48 conformance** β€” 100% protocol compliance
- **GOLD certified** β€” 83.4/100 quality score
- **10 providers** β€” multi-model routing

## Getting Started

```python
from runtime.enterprise_control_plane import EnterpriseControlPlane

ecp = EnterpriseControlPlane()
ecp.initialize()
ecp.execute(agent_task="Analyze quarterly revenue trends")
```

## Repository

[https://github.com/frostyjay7813/AIF](https://github.com/frostyjay7813/AIF)