A

agent-decision-log

Free

Give your AI coding agent a memory for its decisions - log what you chose and why, so the next session starts from 'we already decided X'.

Visit Website
Related by shared tags and keywordsKlaatAIKiro Crewbytebot
ai-toolsagentic-aiagentsaiai-agentsai assistantautomation

Overview

agent-decision-log is a small, dependency-free system for people who work with AI coding assistants or build their own agent loops. It records decisions in decisions.txt, capturing what an agent chose and why so a later session can start from prior decisions rather than re-exploring them. The project describes the problem as repeated bad decisions that are invisible compared with crashes, and it focuses on recall at session start.

Decisions are append-only and have statuses LOCKED, OPEN, or REVISED. A current entry remains current unless a newer entry's SUPERSEDES points at it; corrections are new entries that point back to the earlier decision. The start.py script shows the last session's decisions at boot, and check_decisions.py validates the log and provides commands for deciding, revising, resolving, reviewing, and gating.

The tool can be adopted by copying check_decisions.py into a project or installed with pip. It includes CI and commit-message gates, and it is part of an agent-memory family alongside agent-error-log, agent-log-ai, and agent-diff-gate. The site also documents testing, security guidance, and a dogfood ledger.

Pricing

Free

Detailed plans have not been confirmed in our catalog. Check the official website for current limits and billing terms.

Visit Website

Prices and limits may change. Confirm the currency, billing period, seat minimum and usage caps on the official website.

Use Cases

  • Teams use agent-decision-log to record what an agent chose and why in decisions.txt so the next session starts from prior decisions.
  • Teams use agent-decision-log to start each session with boot-time recall.
  • Teams use agent-decision-log to log decisions at forks in the road.
  • Teams use agent-decision-log to validate the decision log and check its health.
  • Teams use agent-decision-log to gate CI commits by requiring the commit message to name a logged decision.
  • Teams use agent-decision-log to review repeated reversals and propose rule drafts.
  • Teams use agent-decision-log to settle an OPEN decision by appending a LOCKED entry.
  • Teams use agent-decision-log to install it via pip with zero runtime dependencies.

Features

Logs AI coding agent decisions

Records reasons behind choices

Carries decisions across sessions

Works alongside agent-error-log

Runs with zero dependencies

Reviews

No reviews yet. Be the first to share your experience!

FAQ

Why not just use a NOTES.md?

A notes file is unstructured and not parsed, gated, or surfaced at boot; this log is a structured, validated, append-only record that start.py reads and check_decisions.py keeps honest.

Isn't this just ADRs (Architecture Decision Records)?

It applies the same instinct to agent sessions; ADRs lack boot-time recall, a currency rule, and a compounding loop that turns repeated reversals into rules. The format is the easy part, while recall is the product.

Why soft enforcement?

A bug without a log entry is clearly wrong, while a decision without a log entry is usually correct because most choices are trivial. There is no local git hook; the mechanical backstop is the CI commit-message gate on master merges, and the accountability loop is boot-time recall.

Does it work with any agent?

Yes, it works with any agent that can read text and run shell commands. Point it at the repo in AGENTS.md, or paste rules.txt into a system prompt.

I copied the tool to a scratch folder — will it touch my real repo?

No. Default paths resolve relative to the script location (HERE), so a scratch copy logs next to itself. Point at your real log from anywhere with --log path/to/decisions.txt.

Can I log unicode (café, em-dash) on Windows?

Yes. Stdin is reconfigured to UTF-8 like stdout, so piped unicode decision text is stored as-is and never double-encoded.

Rankings & collections