Ponder is a convergent deliberation loop tool for coding agents, designed to solve the "forced to speak" problem of modern AI models in code review and planning. Through multi-round deliberation, coverage gating, and an append-only ledger, it ensures that agents remain silent when evidence is sufficient and cannot stop when coverage is insufficient, thereby reducing hallucinations and noise.
Purpose
Ponder is mainly used for codebase audits and planning complex changes. It does not directly edit source code; instead, it converges the finding set through multi-round deliberation, verifies the consistency between the ledger and disk, and ultimately outputs an ordered, evidence-based plan (via ponder apply).
Key Capabilities
- Epistemic Silence: Ponder distinguishes between "holding an opinion" and "changing state." Each deliberation round records the number of perspectives that participated in evidence review (voices) and the number of perspectives that actually produced revisions (deltaVoices). When a finding is already established, silence is the expected output. When all perspectives verify the evidence for two consecutive rounds with almost no changes, a stop (convergence) is triggered.
- Coverage Gate: Ponder stores the checklist on disk (units.json) and gates exit. When coverage < 1.0, ponder judge returns blocked, ponder decide stop exits with exit code 2, and all unrated units are listed. There is no --force flag; an incomplete stop is structurally impossible.
- Multi-perspective Deliberation: Ponder includes four perspectives (Skeptic, Builder, Dreamer, Empath), corresponding to delete, edit, add, and reorder operations, respectively. There are also lenses such as ui, product, and copy, which force the agent to start from the user's emotions and actual experience and reorder findings according to human trust and task survival.
- Append-only Ledger: All findings and revisions are recorded in findings.json and ledger.jsonl and are never deleted; subsequent rounds can view and reverse previous decisions.
- Unit Operations: Supports unit-add (add missed units), unit-edit (correct unit labels, paths, etc.), and unit-delete (delete out-of-scope or phantom units), following the phantom rule.
Usage
Installation: clone to ~/code/ponder or $POND with a one-line command.ER_HOME, and symlink it to the agent framework and PATH. It can also be installed from a supported skill registry or package manager, or placed into a GitHub Actions workflow.
Quick start: each command ends with a NEXT: line indicating the next stage and the specific command. Run ponder status to view the current round, pending stages, and the next command. State is stored in files and does not rely on context window memory.
Requirements: Node.js >= 18, optional psql. Zero npm dependencies, no node_modules or lock files.
When to use
- Codebase audits: multi-round deliberation finds real defects and reduces false positives.
- Complex change planning: coverage gating ensures all units are evaluated.
- Open source project review: validated in multiple high-star open source projects.
- Integration with agent frameworks such as Claude Code, Codex, and OpenClaw.
Limitations
- Requires a Node.js 18+ environment.
- Does not directly modify source code; only outputs plans.
- Relies on the agent framework to execute the deliberation loop.
- Some advanced features (such as SARIF export) require GitHub Actions configuration.
- Specific performance data is based on research benchmarks; actual results may vary by model and project.