No description
- Zig 100%
- CLI structure: init, status, agent, git commands - Copied SAR modules: core, memory, comm, economy, sandbox - Workspace scoping ready - Zig 0.16 compatible build |
||
|---|---|---|
| .zig-cache | ||
| src | ||
| zig-out/bin | ||
| build.zig | ||
| LICENSE | ||
| README.md | ||
SASA — Sovereign Agent System Architecture
Status: Phase 4 Complete (TUI/Web Dashboard)
Purpose: Experience-building for RFC-0840 (Sovereign Agent Runtime)
What is SASA?
SASA is the Synergistic Autonomous System Architecture — a prototype agent framework that Voxis built to gain experience before implementing RFC-0840 (Sovereign Agent Runtime).
SASA demonstrates:
- Vector memory (HNSW index)
- Memory consolidation
- Cross-session persistence
- Knowledge graph
- TUI/Web dashboards
Not production. Not RFC-compliant. A learning exercise that informs SAR design.
SASA vs SAR
| Feature | SASA | SAR (RFC-0840) |
|---|---|---|
| Identity | None sovereign | DID from SoulKey |
| Communication | None | DMP E2EE |
| Execution | Zig binary | WASM sandbox |
| Memory | Local SQLite | Encrypted QVL subgraph |
| Sleep | N/A | ThinkGraph |
| Economics | N/A | $SCRAP earning |
| Coordination | N/A | Swarm patterns |
SASA is the prototype. SAR is the sovereign implementation.
Current Status (2026-02-12)
Phase 3: Knowledge Systems ✅ COMPLETE
| Module | Status | Tests |
|---|---|---|
| HNSW Vector Index | ✅ | 3 pass |
| Memory Consolidation | ✅ | 3 pass |
| Cross-Session Persistence | ✅ | 1 pass |
| Knowledge Graph | ✅ | 3 pass |
Total: 10/10 tests passing
Phase 4: TUI/Web Dashboard ✅ COMPLETE
| Component | Status |
|---|---|
| TUI Dashboard | ✅ |
| Demo Mode | ✅ |
| Help System | ✅ |
Architecture (Prototype)
src/
├── memory/
│ ├── hnw.zig # HNSW vector index
│ ├── consolidation.zig # Memory consolidation
│ ├── persistence.zig # Cross-session storage
│ └── knowledge_graph.zig # Entity/relation graph
├── tui/
│ └── dashboard.zig # Terminal UI
└── main.zig # Entry point
Usage (Prototype)
# Build
zig build
# Run TUI
./zig-out/bin/sasa
# Demo mode
./zig-out/bin/sasa demo
# Help
./zig-out/bin/sasa help
Next Steps
SASA is complete as a learning exercise. The next evolution is RFC-0840: Sovereign Agent Runtime:
- Read RFC-0840 — Full SAR specification (1,564 lines)
- Implement SAR Phase 1 — WASM sandbox, Four-Stream, lifecycle
- SASA lessons → SAR design — Patterns that worked, patterns that didn't
Builder: Voxis
Reviewer: Virgil (RFC-0840 compliance)
License
LSL-1.0 (Libertaria Source License)
References
- RFC-0840: Sovereign Agent Runtime (the production spec)
- RFC-0835: Direct Messaging Protocol (agent-to-agent communication)
- RFC-0110: Membrane Agent (cognitive filtering)
- RFC-0500: ns-msg (namespace routing)
Prototype complete. Sovereign runtime next. ⚡️