A

agent-decision-log

免费

为您的 AI 编码代理提供决策记忆 - 记录您选择的内容及原因,以便下一个会话从 '我们已经决定 X' 开始。

访问官网
根据共同标签和关键词推荐KlaatAIKiro Crewbytebot
ai-toolsagentic-aiagentsaiai-agentsai assistantautomation

工具概览

agent-decision-log 是一个小巧、无依赖的系统,面向使用 AI 编程助手或自建智能体循环的人。它把决策记录在 decisions.txt 中,记下智能体选择了什么以及原因,以便后续会话从既有决策出发,而不必重新探索。该项目把问题描述为:相比崩溃,反复做出的糟糕决策是不可见的,因此它侧重于会话开始时的回忆。

决策只追加,状态为 LOCKED、OPEN 或 REVISED。一条当前条目会一直有效,除非有更新的条目通过 SUPERSEDES 指向它;更正是指向先前决策的新条目。start.py 脚本在启动时显示上一次会话的决策,check_decisions.py 则验证日志,并提供用于决策、修订、解决、审阅和把关的命令。

该工具可以通过把 check_decisions.py 复制进项目来采用,也可以用 pip 安装。它包含 CI 和提交信息把关,并且属于 agent-memory 家族,同族还有 agent-error-log、agent-log-ai 和 agent-diff-gate。网站还记录了测试、安全指引和 dogfood 台账。

定价

免费

目录尚未确认完整价格档位,请到官网查看当前额度、限制及计费方式。

访问官网

价格与限制可能变化,请以官网为准,并确认币种、付款周期、最低席位数和用量上限。

应用场景

  • 团队用 agent-decision-log 把智能体的选择及原因记录在 decisions.txt 中,让下一次会话从既有决策出发。
  • 团队用 agent-decision-log 在每次会话开始时进行启动回忆。
  • 团队用 agent-decision-log 在岔路口记录决策。
  • 团队用 agent-decision-log 验证决策日志并检查其健康状况。
  • 团队用 agent-decision-log 把关 CI 提交,要求提交信息指明一条已记录的决策。
  • 团队用 agent-decision-log 审阅反复出现的推翻情形,并提出规则草案。
  • 团队用 agent-decision-log 通过追加一条 LOCKED 条目来敲定一项 OPEN 决策。
  • 团队用 agent-decision-log 通过 pip 安装,运行时零依赖。

功能特性

记录 AI 编码代理的决策

保存每项选择背后的原因

让后续会话接续已有决策

可与 agent-error-log 配合使用

无需安装额外依赖

用户评论

还没有评论,来分享你的使用体验吧

常见问题

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.

相关榜单与专题