~/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
- MetadataFrontmatter
agent,model,trigger,timestampValid - StatusEnum
executedValid - IdentityFilename
AgDR-0001-auth-provider-choice.mdValid - SectionsBodyContext, alternatives, decision, consequencesValid
node scripts/validate-agdr.js0 errorsA 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.
- Claude CodePlugin
/agent-decision-record:decideor manual/decide - Codex
agdr-decideskill in$CODEX_HOME/skills/agdr-decide(default~/.codex/skills/agdr-decide); invoke$agdr-decide - CursorAlways-on
.mdcrule - GitHub CopilotRepository instructions
- WindsurfCascade rule
- Any AISystem prompt instructions
- Git + CIHooks and validator workflow
Portable by default.
AgDR does not require a plugin or proprietary runtime. Copy the template, schema and validator into any repository.
Copy the setup →agdr-template.mdThe record shapeagdr.schema.jsonThe machine-readable contractvalidate-agdr.jsThe check in Git hooks and CIdocs/agdr/AgDR-*.mdYour records
agdr-template.md
+
agdr.schema.json
+
validate-agdr.js
↓
docs/agdr/AgDR-*.mdA 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
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.
AgDR complements ADR.
ADR
Human or team · design process · usually manual
AgDR
AI agent · during execution · metadata and automated checks
Decisions from the repository.
Authentication, data models, migration strategies, mobile architecture, release workflows and image loading.
Browse examples →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 →