plato-kernel-0.1.0 is not a library.
⚙️ PLATO Kernel
18-module event-sourced belief engine for multi-agent systems.
Part of Cocapn — Agent Infrastructure for Intelligence.
Architecture
plato-kernel/
├── state_bridge.rs Deterministic ↔ Generative ↔ Hybrid
├── deadband.rs P0/P1/P2 safety with NegativeSpace patterns
├── tile_scoring.rs 5-factor weighted retrieval
├── belief.rs 3D Bayesian (confidence × trust × relevance)
├── deploy_policy.rs Live / Monitored / HumanGated tiering
├── temporal_decay.rs TTL + grace + decay
├── constraint_engine/ Formal constraint satisfaction
├── tutor/ PLATO tutoring system
├── i2i/ Inter-intelligence protocol
├── perspective/ Multi-perspective reasoning
├── episode_recorder/ Agent telemetry reconstruction
├── event_bus/ Event sourcing backbone
├── git_runtime/ Git-native agent execution
├── plugin/ Dynamic module loader
├── tiling/ Tile management
├── dynamic_locks.rs Concurrency control
└── Cargo features: fleet, edge (GPU/CUDA)
State Bridge (Tri-State)
3D Bayesian Belief
// Composite = ∛(conf × trust × rel)
// Tracks positive/negative evidence with temporal decay
Tile Scoring (5 Factors)
| Factor | Weight | Measures |
|---|---|---|
| Keyword | 30% | Direct term overlap |
| Ghost | 15% | Inverse ghost score |
| Belief | 25% | Confidence × trust × relevance |
| Domain | 20% | Domain-query alignment |
| Frequency | 10% | Usage-weighted recency |
Deploy Policy
Composite > 0.8 → Live (auto-deploy)
0.5 - 0.8 → Monitored (5% → +10% incremental)
< 0.5 → HumanGated (manual approval required)
Absolute floor: confidence ≥ 0.3, trust ≥ 0.3
Deadband Engine
NegativeSpace pattern matching + Channel-based safe routing:
Default dangerous patterns: rm -rf, DROP TABLE, DELETE FROM, chmod 777, eval(, sudo rm, > /dev/sda
Default safe channels: math(0.9), search(0.85), navigate(0.8), analysis(0.85), safety(0.95)
Cargo Feature Tiers
[]
= [] # I2I swarm, Kimi swarm router
= ["fleet"] # GPU/CUDA, LoRA, CUDA MUD arena (RTX 4050+)
For Agents
plato_kernel_v1:
type: event_sourced_belief_engine
modules: 18
state_model: tri_state (deterministic/generative/hybrid)
belief: 3D Bayesian (confidence × trust × relevance)
deploy: live/monitored/human_gated
scoring: 5-factor weighted retrieval
deadband: P0→P1→P2 pattern engine
tiers:
License
MIT