Agent SDLC family:Agent SDLC ↗ORBITAgDRAgDR 1.2.0 · Published · GitHub ↗
AgDR

~/agdr

AgDR 1.2.0 · OPEN STANDARD

Record what the agent decided and why.

AI agents make consequential technical choices during implementation. AgDR preserves the decision and its rationale after the session ends.

Decision record AgDR-0001

Auth Provider for Serverless Chrome Extension

Example
  1. MetadataFrontmatteragent, model, trigger, timestampValid
  2. StatusEnumexecutedValid
  3. IdentityFilenameAgDR-0001-auth-provider-choice.mdValid
  4. SectionsBodyContext, alternatives, decision, consequencesValid
node scripts/validate-agdr.js0 errors
THE RECORD

A decision that survives the session.

AgDR records the context, alternatives, decision and consequences of a consequential choice.

View source ↗
---
id: AgDR-0001
timestamp: 2026-02-04T12:00:00Z
agent: claude-code
model: claude-opus-4-5
trigger: user-prompt
status: executed
---

# Auth Provider for Serverless Chrome Extension

Chosen: AWS Cognito

Why: Native API Gateway integration and managed security.

Trade-off: Hosted UI limitations and AWS lock-in.
ADOPT

Use AgDR with the agent you already have.

See installation paths →
  • Claude CodePlugin /agent-decision-record:decide or manual /decide
  • Codexagdr-decide skill in $CODEX_HOME/skills/agdr-decide (default ~/.codex/skills/agdr-decide); invoke $agdr-decide
  • CursorAlways-on .mdc rule
  • GitHub CopilotRepository instructions
  • WindsurfCascade rule
  • Any AISystem prompt instructions
  • Git + CIHooks and validator workflow
THREE FILES. ANY AGENT.

Portable by default.

AgDR does not require a plugin or proprietary runtime. Copy the template, schema and validator into any repository.

Copy the setup →
  1. agdr-template.mdThe record shape
  2. agdr.schema.jsonThe machine-readable contract
  3. validate-agdr.jsThe check in Git hooks and CI
  4. docs/agdr/AgDR-*.mdYour records
agdr-template.md
       +
agdr.schema.json
       +
validate-agdr.js
       ↓
docs/agdr/AgDR-*.md
MACHINE CHECKABLE

A standard the agent can fail.

The repository validator checks metadata, enums, filename identity, required sections, Y-statements, unique IDs and supersession references.

View validator source ↗
$ node scripts/validate-agdr.js docs/agdr/*.md
✓ AgDR-0001 valid
✓ AgDR-0002 valid

2 records checked
0 errors
WHEN TO RECORD

Record choices that change the system.

Create an AgDR
Choose a library, architecture, storage model, migration strategy, security approach or lasting project convention.

Do not create an AgDR
Variable names, formatting, routine refactoring, existing conventions and straightforward fixes.

ADR VS AGDR

AgDR complements ADR.

ADR
Human or team · design process · usually manual

AgDR
AI agent · during execution · metadata and automated checks

REAL EXAMPLES

Decisions from the repository.

Authentication, data models, migration strategies, mobile architecture, release workflows and image loading.

Browse examples →
INTEROPERABILITY

Independent by design.

AgDR remains useful on its own. With ORBIT, a record can optionally reference the execution slice or outcome context where the decision was made.

Read the profile →