DevAgent coordinates a roster of specialized workflows that carry product ideas from mission alignment through research, specs, planning, and execution. The repo stores shared context, workflow briefs, and feature hubs so every hand-off stays traceable.
DevAgent separates portable tools (core) from project-specific artifacts (workspace):
.devagent/core/- PORTABLE workflow kit with instruction sheets and templates. Copy to any project for 5-minute setup. See core/README.md for setup guide..devagent/workspace/- PROJECT-SPECIFIC mission, features, research, and decisions that evolve with your product.
This separation means you can reuse the workflow system across projects while keeping each product's context isolated.
- The update-product-mission workflow curates product direction inside
.devagent/workspace/product/while referencing long-term guardrails in.devagent/workspace/memory/overview.mdandconstitution.md. - The research and create-spec workflows work out of
.devagent/workspace/features/{status}/YYYY-MM-DD_feature-slug/to keep discovery packets and specs co-located (where {status} is active, planned, or completed). - The plan-tasks and create-task-prompt workflows convert approved specs into backlogs and task prompts under
.devagent/workspace/features/{status}/YYYY-MM-DD_feature-slug/tasks/; all execution tracking happens via git commits and PR descriptions. - The run-codegen-background-agent workflow transforms tasks into optimized prompts and creates workflow runs via the Codegen API for asynchronous execution.
- The parent
README.mdacts as the quick orientation surface; individual workflow briefs in.devagent/core/workflows/capture detailed workflows and filing rules.
.devagent/core/workflows/- Instruction sheets for each workflow (research.md,create-spec.md,plan-tasks.md,create-task-prompt.md,update-product-mission.md,run-codegen-background-agent.md, etc.)..devagent/core/templates/- Reusable document templates for research packets, specs, task plans, and feature hubs..devagent/core/AGENTS.md- Quick reference roster showing when to invoke each workflow..devagent/core/README.md- Setup guide for initializing DevAgent in new projects.
.devagent/workspace/product/- Mission, roadmap, guiding questions, and other top-of-funnel product context..devagent/workspace/memory/- Long-lived principles (constitution.md), decision journal, tech stack, and extended overview (overview.md)..devagent/workspace/features/- Feature hubs organized by status (active, planned, completed); copy.devagent/core/templates/feature-hub-template/into the appropriate status directory with a dated slug (e.g.active/2025-09-30_feature-slug) to start a new initiative and file research/spec artifacts with ISO dates..devagent/workspace/features/{status}/YYYY-MM-DD_feature-slug/tasks/- Task packets and planning updates stored alongside the spec and research hub..devagent/workspace/research/- Cross-cutting research that spans multiple features.
- New to DevAgent? See .devagent/core/README.md for 5-minute setup instructions.
- Review relevant workflow brief(s) in
.devagent/core/workflows/before kicking off work. - For a new feature, copy
.devagent/core/templates/feature-hub-template/into.devagent/workspace/features/active/with a dated slug (e.g.$(date +%F)_feature-slug) and follow the embedded research/spec guidance. - Keep artifacts date-prefixed and cross-link specs, tasks, and execution notes so downstream workflows have the full story.
- When mission or guardrails change, update
.devagent/workspace/product/and.devagent/workspace/memory/first, then notify affected feature hubs. - For background workflow execution, install Codegen CLI (
uv tool install codegen), authenticate (codegen login --token $CODEGEN_API_TOKEN), and usedevagent deploy-codegen-agentto create optimized workflow runs.
Projects using DevAgent can update their core workflow files and agents from the latest main branch:
.devagent/core/scripts/update-core.shThis script:
- Performs a Git sparse checkout to fetch only the
.devagent/core/directory - Creates a timestamped backup of your existing core before updating
- Replaces the local core with the latest version from the repository
- Provides clear feedback on the update process and backup location
Run this periodically to get the latest workflow improvements, agent updates, and bug fixes.
.devagent/core/README.md– Setup guide for initializing DevAgent in new projects (< 5 minutes)..devagent/core/AGENTS.md– Workflow roster showing when to invoke each workflow..devagent/workspace/memory/overview.md– Explains the memory layering model and shared working agreements..devagent/core/templates/– Reusable shells for research packets, specs, task plans, and more.- Workflow instructions in
.devagent/core/workflows/explain when to invokedevagent update-product-mission,devagent research,devagent create-spec,devagent plan-tasks,devagent create-task-prompt, anddevagent run-codegen-background-agent.