Hello,
I would like to notify the community here about Sponsio and Dogwood. Both of which use Temporal Logic to enforce deterministic policies or contracts on agentic workflows. There are other applications like Policy as Code as in OPA.
For a background check The Curry–Howard Correspondence between Temporal Logic and Functional Reactive Programming and very recently the wonderful work Tempo: Reconstructing Synchronous Reactive Programming with OCaml 5 Effects.
I believe OCaml is the best fit language for programming deterministic guardrails for Agentic AI. It is quick like Python but offers a native Temporal Logic expression in Type Theory. It may not be perfect like Lean but quick deployment matters in production.
Discussion.
- Do you see potential in OCaml for deterministic guardrails for Agentic AI?
- Do you have any concerns?
- Do you see any limitations?