agent-eng
v0.14.0
Published
Scaffold a structured agentic engineering workflow for AI-assisted development
Maintainers
Readme
agent-eng
Scaffold a structured agentic engineering workflow into any project. Run one command to set up the directory structure, system prompts, templates, and conventions for AI-assisted development with separated roles (Architect, Planner, Executor, Reviewer) and system architecture documentation.
Quick Start
npx agent-eng initThis creates the following structure in your project:
├── CLAUDE.md # Project instructions for AI agents
├── orchestration.yaml # Agent workflow definition (roles, outputs)
├── architecture.yaml # System architecture definition (components, connections)
├── .claude/
│ ├── settings.json # Claude Code project settings (MCP servers)
│ └── agents/ # Auto-wired Claude Code subagents — invoke via Agent tool
│ ├── architect.md
│ ├── system-architect.md
│ ├── planner.md
│ ├── executor.md
│ ├── reviewer.md
│ └── summarizer.md
├── architecture/
│ ├── overview.md # High-level architecture overview
│ └── decisions/
│ ├── _template.md # ADR template
│ └── 0001-how-we-work.md # Seed ADR: the workflow itself
├── specs/
│ └── _template.md # Feature specification template
├── tickets/
│ └── _template.md # Work ticket template
└── conventions/
├── typescript.md # TypeScript coding standards
├── python.md # Python coding standards
└── java.md # Java coding standardsUsage
Initialize with all conventions (default)
agent-eng initPick specific conventions
agent-eng init --conventions typescript,pythonInitialize in a specific directory
agent-eng init --dir ./my-projectOverwrite existing files
agent-eng init --forceThe Workflow
The scaffolded workflow separates AI-assisted engineering into five roles:
| Role | What it does | What it produces |
|------|-------------|-----------------|
| Architect | Analyzes requirements, asks clarifying questions, evaluates alternatives | Architecture Decision Records (ADRs) |
| System Architect | Maps the runtime system: components, connections, protocols, tiers | architecture.yaml |
| Planner | Reads ADRs and specs, decomposes work into focused chunks | Tickets with acceptance criteria |
| Executor | Implements tickets following conventions, proposes plan first | Code and PRs |
| Reviewer | Validates code against acceptance criteria and ADRs | Approval or actionable feedback |
Each role is wired as a Claude Code subagent in .claude/agents/. Invoke them via the Agent tool (subagent_type: "architect", etc.), or just describe the task — Claude will route to the right subagent based on each agent's description frontmatter.
YAML Definitions
orchestration.yaml — Agent Workflow
Defines the agent roles, their outputs, and how they connect. Used to visualize the development workflow.
architecture.yaml — System Architecture
Defines the runtime system components, their tiers (client/service/engine/data), technologies, subcomponents, and connections with protocols. Used to visualize the system architecture.
After Initialization
- Review
CLAUDE.md— Customize the project instructions for your specific project - Pick your conventions — Keep the ones that match your stack, remove the rest
- Start with the Architect — Ask Claude to use the
architectsubagent to create your first ADR - Map the system — Use the
system-architectsubagent to create yourarchitecture.yaml - Plan the work — Use the
plannersubagent to decompose your ADR into tickets - Execute — Use the
executorsubagent to implement a ticket following your conventions - Review — Use the
reviewersubagent to validate the work (tests are written during execution)
License
MIT
