Add a safety checkpoint that reviews and approves AI agent actions before they execute.
Build an audit trail that records every agent decision and its outcome for accountability.
Automatically reduce an agent's autonomy when its predictions repeatedly diverge from reality.
| pedroshakoor/consequent | 0xhassaan/nn-from-scratch | 3ks/embedoc | |
|---|---|---|---|
| Stars | 0 | 0 | — |
| Language | Python | Python | Python |
| Last pushed | — | — | 2023-06-08 |
| Maintenance | — | — | Dormant |
| Setup difficulty | moderate | moderate | hard |
| Complexity | 4/5 | 4/5 | 1/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Alpha-stage software, requires configuring an evaluator provider before it does anything useful.
Consequent is an open-source accountability layer for AI agents: a system that sits between an agent and the real world and decides whether any given action is allowed to proceed. Instead of executing actions directly, agents submit structured contracts through Consequent. Each contract describes the intended action, what the world should look like afterward, a rollback plan if something goes wrong, a confidence score, and an irreversibility rating. Consequent then runs two evaluation passes, a consequence evaluator that assesses the impact, and a separate adversarial critic pass that looks for flaws in the reasoning, before deciding whether to approve, reject, or escalate to a human. Only approved actions reach the executor. Every decision is recorded in an append-only tamper-evident ledger using hash-chain verification, creating a permanent audit trail. After each action executes, Consequent compares the predicted world state against the actual result. Repeated divergences between what an agent predicted and what actually happened trigger an automatic reduction in that agent's autonomy level. The system is alpha-stage and written in Python. It runs as a FastAPI service, uses SQLite for local persistence, and exposes an async Python SDK. The evaluator interface is provider-neutral, meaning you can plug in any model that supports OpenAI-compatible endpoints, a local model, or a hosted large language model without changing the gate, ledger, or executor logic. Upcoming roadmap items include a production PostgreSQL profile, a human approval UI, first-party executor plugins for shell, browser, and cloud APIs, and a signed ledger export. MIT licensed.
An open-source safety gate that agents must pass through before taking real-world actions, evaluating risk and logging every decision.
Mainly Python. The stack also includes Python, FastAPI, SQLite.
MIT license: free to use, modify, and distribute, including commercially, as long as the copyright notice is kept.
Setup difficulty is rated moderate, with roughly 30min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.