Overview
Soma is a governance framework that makes AI coding agents trustworthy by providing observably traceable governance. It replaces static, unverified prompt rules (such as .cursorrules and CLAUDE.md) with a closed-loop governance engine that injects constraints just-in-time, verifies generated code, and evolves rules based on evidence. The framework addresses the problem of ungoverned AI coding agents that waste tokens in circular rework loops, hallucinated API calls, and broken assumptions.
The system operates through three main mechanisms: just-in-time context injection, a two-layer verification gate, and a zero-touch evolutionary lifecycle. Soma intercepts agent tool calls via MCP or CLI and injects only the rules, architectural invariants, and known traps that match the specific files the agent is currently reading or editing. Before changes are merged or committed, Soma runs an automated two-layer verification suite consisting of deterministic AST analysis and an optional adversarial rebuttal protocol. Rules in Soma are not permanent assumptions—they must mathematically prove their value through ambient evidence and Wilson-bounded scoring, with unobserved or obsolete rules decaying and expiring on read.
Soma emphasizes security and zero-dependency architecture. The core framework runs purely on Python standard library modules, eliminating supply chain vulnerabilities and dependency conflicts. All rule files, evidence logs, and telemetry remain strictly on the local filesystem, with zero telemetry sent to external cloud backends. The system has a scale-to-zero footprint with no background daemons, cron jobs, or persistent listening threads, consuming 0% CPU and memory when idle. Destructive commands are intercepted by AST-level command inspection, and the MCP server enforces fail-closed session token authorization.
Pricing
Free
Detailed plans have not been confirmed in our catalog. Check the official website for current limits and billing terms.
Visit WebsitePrices and limits may change. Confirm the currency, billing period, seat minimum and usage caps on the official website.
Use Cases
- Teams use Soma to inject relevant constraints and known traps just-in-time when AI agents read or edit specific files.
- Teams use Soma to run deterministic AST analysis on changed files before committing.
- Teams use Soma to perform adversarial verification of code changes through a two-phase debate protocol.
- Teams use Soma to automatically evolve governance rules based on verification outcomes and historical git commits.
- Teams use Soma to promote rules that consistently prevent defects without raising false alarms.
- Teams use Soma to intercept destructive commands and block unauthorized tool access.
- Teams use Soma to set up governance for various AI coding platforms including Gemini, Claude Code, Cursor, and Copilot.
Features
Govern AI agent behavior
Trace governance decisions observably
Select rules based on evidence
Analyze code with AST tools
Manage adaptive rule lifecycles
Reviews
No reviews yet. Be the first to share your experience!