A structured system for managing AI-assisted development workflows. It standardizes how AI agents understand, track, and execute work across projects, improving consistency, collaboration, and productivity.
A framework that:
- Standardizes AI agent context across projects
- Tracks work through Plans and Tasks
- Provides commands for common workflows
- Maintains a single source of truth for project knowledge
- Works across AI platforms (Cursor, GitHub Copilot, Claude, etc.)
- Single Source of Truth:
AGENTS.mdis the primary reference - Modular Design: Detailed context lives in
.agents/subdirectories - Platform-Agnostic: Core structure works with any AI tool
- Structured Tracking: Plans and Tasks with clear status and progress
- Automation-Ready: Commands enable consistent workflows
- Context Loss: AI agents don't remember project details between sessions
- Inconsistency: Different team members/AI tools use different approaches
- Lack of Visibility: No clear view of what's being worked on
- Onboarding Friction: New team members/AI agents need repeated explanations
- Work Fragmentation: No structured way to break down and track initiatives
- ✅ Consistency: Same structure across all projects
- ✅ Efficiency: No need to re-explain project context repeatedly
- ✅ Portability: Works with Cursor, GitHub Copilot, Claude, and other AI tools
- ✅ Maintainability: Single source of truth that's easy to update
- ✅ Collaboration: Team members and AI agents work from the same context
- ✅ Visibility: Clear tracking of plans, tasks, and progress
- ✅ Resumability: Easy to pick up where you left off
project-root/
├── AGENTS.md # 🎯 Single source of truth (REQUIRED)
├── .agents/ # 📁 Structured context and workflows
│ ├── context/
│ │ └── agentic-infra-setup.md # Detailed setup reference
│ ├── commands/ # Workflow command definitions
│ │ ├── create-plan.md
│ │ ├── create-task.md
│ │ ├── update-status.md
│ │ ├── whats-next.md
│ │ └── review-agentic-infra.md
│ └── plans/ # All project plans and tasks
│ ├── _template/ # Templates for plans and tasks
│ │ ├── plan.md
│ │ └── TASK_TEMPLATE.md
│ └── {PLAN_NAME}/ # One directory per plan
│ ├── plan.md # Plan metadata and overview
│ └── {TASK_NAME}.md # Individual task files
├── .cursor/ # Cursor IDE integration (optional)
│ ├── commands/ # Cursor command references
│ └── rules/ # Cursor project rules
│ └── project_context.mdc
├── .github/
│ └── copilot-instructions.md # GitHub Copilot integration (optional)
└── CLAUDE.md # Claude AI integration (optional)
Purpose: Single source of truth for project context
Location: Project root (required)
Contains:
- Project overview and purpose
- Directory structure explanation
- Plans overview and workflow
- Command index
- Guidance for resuming work
- Assistant behavior requirements
Key Principle: Never lists active plans; documents how to use the system
- Definition: Bounded initiatives documented in
plan.md - Location: Under
.agents/plans/{PLAN_NAME}/ - Contains: Intent, requirements, high-level steps, task links, progress log
- Status:
pending,active,paused, orcompleted
- Definition: Executable units inside the same plan folder
- Format: One file per task:
{TASK_NAME}.md - Contains: Purpose, concrete steps, outputs, dependencies, progress notes
- Status:
pending,active,paused, orcompleted
- Reverse-chronological progress notes (newest first)
- Timestamps in format:
YYYY-MM-DD HH:MM TZ - Status propagation: Task statuses summarized in parent plan
Five core commands define workflows:
- Purpose: Scaffold a new plan directory and initialize
plan.md - Inputs:
plan_name,objective,priority(optional) - Behavior: Creates directory structure, populates template, registers plan
- Purpose: Add a task file under an existing plan
- Inputs:
plan_name,task_name,purpose - Behavior: Creates task file, updates parent plan's task list
- Purpose: Change lifecycle status and capture progress notes
- Inputs:
target,new_status,progress_note(optional) - Behavior: Updates status, timestamps, propagates to parent plan
- Purpose: Surface next actionable steps across active plans
- Behavior: Scans plans, identifies active/paused tasks, produces summary report
- Output: Concise report showing next actions per plan
- Purpose: Audit agent infrastructure setup
- Scope: Reviews context files and agent infrastructure scripts
- Output: Structured review report with action items
.cursor/rules/: Project rules that referenceAGENTS.md.cursor/commands/: Command references (not duplicates)- Principle: Reference, don't duplicate
.github/copilot-instructions.md: Repository-level custom instructions- References
AGENTS.mdas primary context source
- Claude-specific context file
- References
AGENTS.mdas primary context source
-
Create a plan:
Run: create-plan Input: plan_name="user-authentication", objective="Implement secure user auth" Result: Creates .agents/plans/user-authentication/plan.md -
Break down into tasks:
Run: create-task Input: plan_name="user-authentication", task_name="setup-database-schema" Result: Creates task file and updates plan.md -
Execute and track:
Work on task → Update progress → Change status as needed -
Resume work:
Run: whats-next Result: Shows all active plans and next actionable tasks
- Run
whats-nextto see active work - Open the indicated plan or task file
- Review latest progress notes (reverse chronological)
- Continue execution, update steps if needed
- Append progress notes with timestamps
- Update status before pausing or completing
AGENTS.md: High-level overview.agents/context/: Detailed references- Platform files: Reference core context, don't duplicate
- Clear status transitions:
pending→active→paused/completed - Automatic timestamp tracking
- Status propagation from tasks to plans
- Reverse-chronological notes (newest first)
- Timestamped entries
- Contextual notes capture insights and blockers
- Commands are executable by AI agents
- Structured data enables programmatic queries
- Templates ensure consistency
whats-nextsurfaces next actions- Clear file organization
- Status summaries in parent plans
- ✅ Clear view of active work
- ✅ Easy to resume after breaks
- ✅ Structured way to break down complex work
- ✅ Consistent approach across projects
- ✅ Consistent context understanding
- ✅ Clear instructions on project structure
- ✅ Ability to track and update work status
- ✅ Reduced need for repeated explanations
- ✅ Visibility into active initiatives
- ✅ Progress tracking through notes
- ✅ Status overview across plans
- ✅ Easy to identify blockers
- ✅ Clear project structure
- ✅ Examples in templates
- ✅ Self-documenting workflows
- ✅ Faster onboarding
- Copy template structure to project
- Create
AGENTS.mdwith project-specific content - Set up
.agents/directory structure - Add platform-specific files (if using Cursor/Copilot/Claude)
- Create first plan for current initiative
- Break down into 3-5 initial tasks
- Start tracking progress
- Refine templates based on team needs
- Use
whats-nextdaily - Create plans for all active initiatives
- Train team on command usage
- Establish conventions for progress notes
- Review infrastructure quarterly
- Refine templates based on usage
- Add domain-specific context files as needed
- Share learnings across projects
✅ Keep AGENTS.md concise; details go in .agents/
✅ Use reverse-chronological ordering for progress notes
✅ Always include timestamps with timezone
✅ Reference core context; don't duplicate
✅ Create tasks when plan steps become complex
✅ Run whats-next when resuming work
❌ Don't merge plans and tasks into single files ❌ Don't duplicate information across platform files ❌ Don't skip progress notes on status changes ❌ Don't create plans without breaking into tasks ❌ Don't forget to update parent plans when tasks change
- ❌ AI agents ask the same questions repeatedly
- ❌ No structured way to track AI-assisted work
- ❌ Different team members use different approaches
- ❌ Context scattered across conversations
- ❌ Hard to resume work after breaks
- ❌ No visibility into what AI agents are working on
- ✅ AI agents reference structured context files
- ✅ Clear Plans → Tasks hierarchy for tracking
- ✅ Consistent approach across team and projects
- ✅ Single source of truth in
AGENTS.md - ✅
whats-nextshows exactly where to resume - ✅ Full visibility through status tracking and progress notes
- Reduced context re-explanation: ~15 min/day per developer
- Faster onboarding: ~50% reduction in ramp-up time
- Better work resumption: ~10 min saved per context switch
- Consistency: Standardized approach reduces errors
- Visibility: Early detection of blockers
- Documentation: Self-documenting workflows
- Works across projects: Template is reusable
- Platform-agnostic: Works with any AI tool
- Team-agnostic: Same structure for all team members
- Copy template structure to your project
- Create
AGENTS.mdwith project overview - Set up
.agents/directory structure - Create your first plan using
create-plan - Break it into tasks using
create-task - Start tracking progress with
update-status - Use
whats-nextto resume work
- Template files:
.agents/plans/_template/ - Setup guide:
.agents/context/agentic-infra-setup.md - Command definitions:
.agents/commands/*.md
This agentic infrastructure provides:
- Structure: Clear organization for AI-assisted development
- Consistency: Same approach across projects and team members
- Visibility: Clear tracking of plans, tasks, and progress
- Efficiency: Reduced context re-explanation and faster onboarding
- Scalability: Reusable template that grows with your needs
It transforms ad-hoc AI assistance into a structured, trackable, and scalable system that benefits both developers and AI agents.
This infrastructure is designed to be portable, maintainable, and adaptable to any project type. Start simple, iterate based on your team's needs, and watch productivity improve as AI agents become true collaborative partners rather than tools that need constant re-education.