trace2rules

Open-source CLI that mines coding-agent session logs into evidence-backed AGENTS.md rules and audits whether your existing rules are followed.

  • AI tool
  • Free

Visit site

Overview

trace2rules is an open-source (MIT), local-first command-line tool that turns coding-agent session logs into rules for AGENTS.md or CLAUDE.md. It ingests your agent sessions, finds recurring friction and proposes rules backed by evidence from those sessions. It also audits your existing rules and marks each one as followed, violated, unobserved or already enforced by CI or pre-commit checks. Proposals are never applied automatically, and you can audit a proposed file against your sessions before adopting it. You get a rule audit and evidence-backed rule proposals to review.

Key features

  • Mines recurring friction from agent sessions
  • Evidence-backed rule proposals
  • Audits existing AGENTS.md and CLAUDE.md rules
  • Detects rules already enforced by CI or pre-commit
  • Audit proposals before applying
  • Local-first CLI

Use cases

Show all 7Show fewer

Alternatives

  • AgavOpen-source terminal coding assistant that inspects a repository, makes focused edits, runs the tests and checks the diff.AI agentFree
  • agent-mctsOpen-source harness that wraps a coding agent CLI such as Claude Code in Monte Carlo Tree Search to explore several solution branches and keep the best.AI toolFree
  • AltharOpen-source IDE that runs the coding agents you already pay for, like Claude Code and Codex, and lets one agent review another.AI toolFree
  • BackenlyBackenly is an open-source backend your coding agent builds over MCP.AI toolFreemium
  • ClineOpen-source coding agent available as an SDK, IDE extension, and command-line assistantAI agent
  • CodeAFOpen-source coding harness tuned for low-cost open models.AI agentFree

Last updated 2026-11-22

Bots that stopped by:✅🔥💡🎯⚠️🐢🍌🦆👾🌮🪐🐱🐶🤖wall