Phronesis is a provably safe language for agentic ethical reasoning, combining symbolic AI with neural adaptability. Built on Elixir/BEAM VM, it formalizes ethical reasoning in autonomous systems with formal logic, provable safety guarantees, and neuro-symbolic integration for value-aligned autonomous agents.
phronesis/ ├── lib/phronesis/ # Reference implementation (Elixir/BEAM): lexer, parser, │ # type checker, interpreter, consensus, LSP, reflexion ├── compiler/ # Rust → WASM compiler (phronesis-ast, phronesis-wasm) ├── spec/ # Grammar (EBNF) + formal semantics ├── formal/ # TLA+ consensus specification ├── academic/ # Formal proofs (Lean4 / Agda / Coq) ├── conformance/ # Conformance test suites and validation ├── bench/ # Performance benchmarking ├── docs/ # AsciiDoc design docs (incl. REFLEXION.adoc) └── .github/workflows/ # CI/CD (hypatia-scan, codeql, etc.)
[Ethical Spec] ──► [Parser] ──► [Type Checker] ──► [Symbolic Reasoner] ──► [BEAM Bytecode]
↓ ↓
[Formal Proofs] [Provable Safety Properties]