Abide

Turns the project rules no linter can check into a per-edit check that makes the coding agent repair its violation in the same turn.

Stars
★ 635
Last updated
1mo ago
FARS reviewed
Dec 01, 2026
License
MIT
Primary language
TypeScript

At a glance

How it runs
CLIAgent plugin / skill
Works with
Platform-specificCodex · Claude Code
Cost
Free software; you pay for model usage
Setup effort
Low · running in minutes
You'll need
Node.jsGitTypeSafe API key or Vercel AI Gateway keyShell / CLINetwork accessLocal filesystem
Typical use
A team whose AGENTS.md says "use Yup, never validate by hand" runs npx @coldtea/abide init claude so a manual guard in an API route is caught and repaired in the same turn.
Not a fit if
  • Teams that cannot send code diffs to a third-party API (TypeSafe)
  • Repos with no AGENTS.md / CLAUDE.md-style instruction file to enforce
  • Anyone who needs deterministic binary pass/fail rather than probability bands
Maintenance
Commits in the last 6 monthslast commit 2026-10-10+0.5 ★/day over 7 days
Source review
68/100 · Some gaps

What does this agent do, and when should you use it?

Abide is an MIT-licensed Node.js CLI that installs hooks into Claude Code, Codex, OpenCode and Pi so an agent's edits are judged against the rules in AGENTS.md and CLAUDE.md — the ones nothing can script. After npx @coldtea/abide init, four hooks run per agent: session start hashes the instruction files and asks the agent to compile them, turn start snapshots the working tree with git, each edit runs the edit-phase rules on that hunk, and end of turn diffs the whole turn for turn-phase rules. Judging is done by Jev, TypeSafe's decision model: one typed question per rule returning a calibrated probability, seeing only the rule and the diff, never the conversation. A score of 0.8 or above sends the agent a message naming the rule, file and instruction line and tells it to repair in the same turn; 0.5–0.8 shows a note to the user only; below 0.5 nothing happens. Rules live in a committed, readable .abide/rubric.json where each rule quotes its source line and runs at edit or turn with an optional glob scope. The key sits in ~/.abide/.env or the repo's .env.local, and every hook path exits 0 under a hard deadline — with no key or no network the edit passes unchecked and the miss is counted in .abide/events.jsonl.

The tool ships as the npm package @coldtea/abide, split into packages/cli (the abide command, the hook script, the OpenCode plugin and the Pi extension), packages/schema (zod schemas for the rubric, hook payloads, verdicts and events) and skills/abide-compile (the procedure an agent follows to compile a rubric). abide init writes hooks into ~/.claude/settings.json, ~/.codex/hooks.json, ~/.config/opencode/plugins/abide.js or ~/.pi/agent/extensions/abide.js, or into the repo itself with --project. At session start it hashes the instruction files and asks the agent to compile changed rules into .abide/rubric.json; at turn start it snapshots the working tree with git; after each edit it sends the hunk plus one rule at a time to Jev and gets a probability back; at end of turn it diffs the whole turn and also checks whatever a shell command wrote. A check against the repo's own 13 rules is 1,000–1,600 input tokens, $0.00004–$0.00007, about 300 ms for Jev and about 1 s including Node startup. Verdicts are banded: at 0.8 and above the agent is told to repair, 0.5–0.8 produces a note for the user only. Around that core sit abide audit [paths], abide check [paths], abide report, abide replay <agent>, abide compile, abide calibrate, abide tune, abide bench and abide uninstall, with --json on report, check, audit, bench and calibrate; .abideignore excludes paths with picomatch globs, and TYPESAFE_AI_BASE_URL redirects the direct call to a self-hosted deployment, proxy or mock.

  1. A team whose AGENTS.md says "use Yup, never validate by hand" runs npx @coldtea/abide init claude so a manual guard in an API route is caught and repaired in the same turn.
  2. A Codex user editing many files in one apply_patch wants every file in the patch judged; accepting the four abide entries once via /hooks is the only extra step.
  3. An engineer joining a repo with a long CLAUDE.md runs abide audit src/ to see which existing files already break the rules before switching enforcement on.
  4. A maintainer whose rules never fire runs abide report to separate fired from dead rules, then abide calibrate to switch off rules scoring 0.4 on everything and abide tune to rewrite them.
  5. An OpenCode user who cannot run hook processes installs the plugin form and gets the same repair request appended to the tool result, plus one follow-up message at turn end.
  6. A data-sensitive team routes checks through a Vercel AI Gateway key that carries zeroDataRetention: true, or points TYPESAFE_AI_BASE_URL at a self-hosted Jev deployment.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • npx @coldtea/abide login # pick a key type, paste it once
  • npx @coldtea/abide init # hooks into every agent on this machine
  • npx @coldtea/abide init claude
  • npx @coldtea/abide init codex
Environment variables
AI_GATEWAY_API_KEY
Config files
~/.abide/.env .env.local .abide/rubric.json

How do you install or deploy this agent?

Prerequisites: Node.js (used through npx), a TypeSafe API key from typesafe.ai or an existing Vercel AI Gateway key, and a git-tracked project that already has an AGENTS.md or CLAUDE.md.

npx @coldtea/abide login    # pick a key type, paste it once
npx @coldtea/abide init     # hooks into every agent on this machine

Install into one agent only:

npx @coldtea/abide init claude
npx @coldtea/abide init codex
npx @coldtea/abide init opencode
npx @coldtea/abide init pi

Install into the repository instead, so teammates get it with the checkout:

npx @coldtea/abide init --project
npx @coldtea/abide init pi --project

Codex needs one extra step: start codex, type /hooks, and accept the four abide entries (Codex asks once for any new hook). The key is written to ~/.abide/.env or to .env.local in the repo, owner-only either way; an existing .env at the repo root also works. To go through Vercel AI Gateway instead, set the AI_GATEWAY_API_KEY environment variable and do not set a TypeSafe key.

How do you use this agent?

Start claude, codex, opencode or pi as usual; the first turn compiles your rules into .abide/rubric.json and reports what it found. Day-to-day commands:

abide audit src/          # judge existing files as if just written, by rule and by file
abide check               # check uncommitted changes the way the hooks would
abide report --json       # your rules, what fired, what never fires
abide replay claude       # judge this repo's past sessions (codex, opencode, pi too)
abide compile             # compile the rubric now instead of at the next session
abide calibrate           # score every rule against your recent git history
abide tune                # rewrite the rules that never fire
abide bench               # measure latency and spend on your machine

Excluding files: put .abideignore at the repository root, one repo-relative picomatch glob per line (glob syntax, not full .gitignore: ! does not re-include, and directory patterns need /**):

# Generated files
**/_generated/**
**/*.generated.ts
next-env.d.ts

Uninstalling:

abide uninstall           # every agent it was installed into
abide uninstall codex     # one agent; add --project for a project-level install

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

FARS trust-control audit

Verified present in source (3/3)
  • data-flow disclosure
  • verifiable attribution

What are this agent's strengths and limitations?

Pros
  • A typed decision model makes checking every edit affordable: about 300 ms and $0.00004–$0.00007 per check, versus a cent-plus and seconds for a prose-generating LLM.
  • One init covers four runtimes (Claude Code, Codex, OpenCode, Pi), with user-level installs and --project installs that travel with the checkout.
  • Verdicts are auditable: every one names a rule in the committed .abide/rubric.json, and each rule quotes the instruction-file line it came from.
  • Operational commands ship with it — audit to survey existing code, replay on past sessions, calibrate against git history, tune for dead rules, bench for local latency and spend.
  • Hooks cannot break a session: every path exits 0 with a hard deadline, and a missing key or network leaves the edit unchecked but logged in .abide/events.jsonl.
  • MIT licensed, with no project-operated server in the path; the key stays local and is never passed as a flag or logged.
Limitations
  • Checking depends on TypeSafe's Jev, so a TypeSafe or Vercel AI Gateway key is mandatory and there is no documented way to substitute another model.
  • Changed lines and the matched rule text leave the machine for TypeSafe; zero data retention is an enterprise-tier account arrangement, not a per-request switch.
  • Scoring is probabilistic: a badly worded rule can score around 0.4 on everything and silently never fire, which needs periodic calibrate and tune maintenance.
  • It only handles rules a linter cannot, and ships no built-in rules — a repo without a parseable instruction file gets no enforcement at all.
  • Codex requires manually accepting four hook entries in /hooks, and the Pi extension is documented as tested only with Pi 0.99.1 on a trusted project.
  • The headline accuracy figures are the author's own replay of 93 sessions and 1,256 edits, with limited independent verification.

How does this agent compare with similar options?

Abide explicitly defers to the tooling you already have for anything scriptable: rules a linter can check are handed back to your linter and CI, and only the unscriptable rules ("never let a raw error reach a user", "don't create premature abstractions") enter the rubric. Beyond linters, the README does not name any direct alternative.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
Abide This agent 68 · Some gaps CLIFree + model costs ★ 635 1mo ago TypeScript Codex · Claude Code
Vicoa 67 · Some gaps Desktop appFree + model costs ★ 557 4d ago Python Codex · Claude Code
Autoprompt Skill 64 · Some gaps CLIFree + model costs ★ 1.3k 1mo ago JavaScript Codex · Claude Code
Cezar — AI Coding Agent Orchestrator 62 · Some gaps CLIFree ★ 1.2k today TypeScript Codex · Claude Code

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Some gaps
68/ 100 5-point scale 3.4 / 5
Trust 18/29
Reliability 8/14
Adaptability 15/18
Convention 13/18
Effectiveness 9/13
Verifiability 5/8
Why each dimension lost points
Trust18 / 29 · 3.1/5

The evidence shows restrained key handling: keys are written only to owner-only ~/.abide/.env or the repo .env.local, never accepted as a flag, and never logged; tests cover exclusion of .env, private keys, and .abide/rubric; the README clearly states that changed lines go to TypeSafe/Jev and describes retention and gateway zeroDataRetention. Thus data_flow_transparency=3 and source_attribution=3. Deductions: hooks are installed machine-wide by default and the agent auto-repairs, which is broad and has no sandbox or per-action confirmation, so least_privilege=2 and user_confirmation=1; secret files are excluded, but changed lines may still contain sensitive code and there is no content redaction, so sensitive_data_handling=2; external network calls and automatic repair are real external effects, mitigated by timeouts, exit 0, and uninstall, but there is no change rollback, so external_effects=2 and rollback=1; dependency security shows only a pinned pnpm version and no lockfile or audit evidence, so dependency_security=1.

Reliability8 / 14 · 2.9/5

README commands and hook behavior largely align with AGENTS.md hard requirements, and tests cover ignore rules, symlink/FIFO handling, and error codes, so self_consistency=2 and failure_messages=2. However, absolute claims such as hooks cannot break a session lack full code-path evidence, and the root package.json is version 0.0.0 with no lockfile or complete runtime dependency list, so dependency availability is only 1. Failure messages include domain errors such as GIT_UNAVAILABLE, but some failures are intentionally silent and only written to events, limiting user visibility and preventing a higher score.

Adaptability15 / 18 · 4.2/5

The README clearly targets developers using Claude Code, Codex, OpenCode, and Pi, and lists edit/turn checks, audit, check, replay, calibrate, and tune scenarios, so audience_and_scenarios=3. SKILL.md and the README clearly separate linter, deferred, unenforceable, and model boundaries, so capability_boundaries=3. Scope globs, .abideignore, edit/turn timing, and 0.8/0.5 bands improve trigger precision, but the default is every edit and fine-grained per-rule enable/disable evidence is limited, so trigger_precision=2. Multi-agent and environment-variable support is good, but only Pi 0.99.1 is explicitly tested and there is no cross-platform matrix, so environment_fit=2.

Convention13 / 18 · 3.6/5

The README is well structured, installation covers four agents and project-level installs, and the license is MIT, so information_architecture=3, install_notes=3, and license=3. Naming is consistent (@coldtea/abide, abide-schema), but the root package is version 0.0.0 with no rename or compatibility policy, so naming_stability=2. There are examples and screenshots but no FAQ, so examples_and_faq=2. Limitations are scattered across README and Pi docs rather than consolidated, so known_limitations=2. There is no CHANGELOG or release notes, so versioning_changelog=1. Author and repository URL are visible, but the publisher is unverified and no maintenance or security contact is provided, so maintenance_responsibility=1.

Effectiveness9 / 13 · 3.5/5

Output ties a violation to a specific rule, source file, line, and repair instruction, and also provides --json, report, and audit, so output_usability=2; the deduction is that the core result is still a probability score, and an agent or user gets limited explanation for judgments such as 0.86. The product targets project rules linters cannot cover, giving clear marginal value, but the 1/13-turn and 300ms benefits come mainly from a self-reported benchmark, so marginal_value=2. Cost estimates and a bench command are concrete, but depend on third-party Jev pricing and unverified measurement, so cost_benefit=2.

Verifiability5 / 8 · 3.1/5

The README provides a benchmark/replay method and per-rule table, and verdicts trace to rubric source.path/line, so claim_traceability=2. Tests and schema provide some cross-source corroboration for ignore logic, error codes, and hook payloads, so cross_source_corroboration=2. However, performance and cost numbers and independent-review conclusions remain author-reported, and marketing phrases such as up to 100x cheaper are mixed with factual statements, so fact_inference_separation=2.

Risks and how to mitigate them
  • Benchmark figures (1 in 13 turns, 300ms, cost) are self-reported; do not treat README numbers as independently verified results.
  • Hooks are installed machine-wide by default, the agent auto-repairs, and changed lines go to TypeSafe; before use in production or sensitive repositories, confirm data classification, retention terms, and human review policy.
  • The root package.json is version 0.0.0 and the packet has no lockfile or CHANGELOG, so dependency reproducibility and release governance evidence are insufficient.
  • The publisher is not verified in the FollowAgents curated enterprise registry; maintenance responsibility and security contact are unclear.
  • This static review did not execute the CLI, hooks, model calls, or tests; the presence of test files does not mean they pass.
Evidence confidence: Low Reviewed Dec 01, 2026 Reviewed revision f68770de8af8
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/abide.svg)](https://followagents.com/en/agents/abide)
<a href="https://followagents.com/en/agents/abide"><img src="https://followagents.com/badge/abide.svg" alt="FARS review"></a>

FAQ

What exactly leaves my machine?
Changed lines plus the matched rule text, sent to TypeSafe under your key — never the conversation. With a Vercel AI Gateway key the request carries zeroDataRetention: true. No Abide-operated server sits in the path.
What happens when the key is missing or the network is down?
The edit goes through unchecked and the miss is written to .abide/events.jsonl, where abide report counts it. Every hook path exits 0 under a hard deadline, so the session is never blocked.
Does it come with rules?
No built-in rules. It compiles your AGENTS.md / CLAUDE.md into .abide/rubric.json at session start or via abide compile, and rules a linter could check are handed to your linter instead.
What does running it cost?
On this repo's 13 rules a check is 1,000–1,600 input tokens, $0.00004–$0.00007 and about 300 ms; a 15-edit turn runs about a tenth of a cent. abide bench measures your own numbers.
Is it machine-wide or per repository?
Both. init writes user-level agent config; --project installs into the repo so teammates get it with the checkout, and abide uninstall removes only abide's own entries.
Was this page helpful?
View on GitHub ↗ Install ↓

Host ecosystems

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts