whereismyai
RIL
RIL is an open policy language and local engine for governing AI agents with formal verification and runtime checks.
RIL is an open policy language, formal verifier, and tamper-evident control plane designed for AI agents. Users write a single .ril file to specify finite-state machines, runtime contracts, budget rules, algebraic invariants, and tests. The local engine checks policies in milliseconds, generates typed Rust and TypeScript guards, and ships signed compliance bundles for standards like SOC 2. It integrates with Python and TypeScript environments, including OpenAI, Anthropic, LangGraph, and Vercel AI SDKs. The native engine is free to use under a proprietary license, while specs, SDKs, and enterprise packs are open source under Apache 2.0.
RIL at a glance
- Best for: Software engineer
- Runs on: Web, macOS, Windows, Linux, API, CLI
- Pricing: Free of charge under the Retvest Free Binary License for native engines and Apache-2.0 for SDKs and specs.
- Released: November 2026
- Category: AI agent tool
- Website: github.com/retvest/ril
Key features
- Write finite-state machines and bounded runtime contracts
- Model-check reachable states, deadlocks, and invariants in six milliseconds
- Prevent pull request policy weakening with diff commands
- Generate typed Rust and TypeScript guards
- Migrate from AWS Cedar, CODEOWNERS, or MCP in one command
- Produce Ed25519-signed compliance audit packs
- Layer organization baselines with strict extension rules
Use it for
- Govern AI agent tools in Python and TypeScript
- Verify state machines and runtime contracts before deployment
- Prevent unauthorized file or data access in pull requests
- Generate compliance audit packs for regulatory standards
Alternatives to RIL
- Melra — Governs AI agent tool calls with local policies, approval gates, and verified receipts.
- iFixAi — Audits agent behavior independently without building manual eval harnesses.
- OpenAPPA — Tracks data flows algebraically to prevent prompt injection without breaking agents.
- Rystic — Test agents safely against local simulators without rate limits or real accounts.
- Arthur — Enforces policies and monitors enterprise AI agents on a single control plane.
- HaltState MCP — Enforces backend action policies automatically without human approval queues.
- AG-UI — Standardizes agent-user interactions and generative UI for applications.
- AgentTrust — Enforces zero-trust policy rules and maintains an immutable cryptographic audit ledger.
- GAL — It runs with a built-in kernel-enforced sandbox requiring no Docker or remote containers.
- Agentloop — Provides a clean agent loop with provider-agnostic LLM access, hooks, and safety budgets.
- Golem — Provides type-safe agent abstractions and zero-dependency Go implementation.
- MyAgent — It features built-in permission controls, long-term memory, and skill self-evolution.
All RIL alternatives