Agent Architecture Decision
Decide whether a project really needs AI agents and, if it does, design the simplest setup that fits the product and technology.
Basic info
- Name
- Agent Architecture Decision
- Description
- Analyze, design, and review agentic architectures for AI products and complex workflows. Use for requests about agentic 架构, agentic workflow, 多 agent 架构, single agent vs multi-agent, agent 技术栈/工作流程, memory/state/tool planning, LangGraph/CrewAI/OpenAI Agents/PydanticAI selection, or recommending an agentic architecture from project vision and existing technical architecture. Also matches casual asks like '要不要上 agent / 要不要用 LangGraph'、'该不该拆多个 agent'、'这个功能普通 workflow 够不够'、'帮我设计 agent 流程'. Do NOT use for ordinary bug fixes or small code edits (use openspec-driven-development), pure prompt review (use prompt-review), generic UI work, provider smoke tests, deployment-only tasks (use coolify-deploy), or already-scoped implementation unless the user asks to rethink agentic architecture.
Agent Architecture Decision
Decide whether the project actually needs agents, and if so, design the simplest agentic shape that fits its real stack, users, and workflow — never adds agents just because the product involves AI.
When to use it
Decide whether to use agents:
I'm sitting on a feature idea and can't tell whether agents are worth it. I want it to weigh deterministic workflow, RAG, and single-agent-loop options against a full agentic setup, recommend one, and name the missing baseline that would prove the call either way.
Choose a framework:
I'm choosing between LangGraph, CrewAI, OpenAI Agents SDK, PydanticAI, or none of them. I want it to compare against my current stack, flag conflicts, and tell me what to keep / add / defer / reject.
Plan the architecture:
I want a complete packet — recommended shape, state model, tool model, orchestration, evaluation gates, and a Now / Next / Later roadmap — grounded in the actual project vision and existing modules, not a generic reference.
Review the design:
I already have a multi-agent design (mine or one I inherited). I want it to sanity-check whether the complexity is justified, spot missing state or evaluation gates, and name the simpler shape I could fall back to.
Write the architecture docs:
The packet's been through discussion and I've signed off. I want it to update the architecture / product-control / roadmap docs to match — only after I explicitly authorize the write scope.
Build the first stage:
The packet is complete and I've authorized implementation. I want it to run the Implementation Gate first, then build a bounded first slice with a verification matrix — not a full-stack rollout.
Won't take:
Ordinary bug fixes / small code edits → openspec-driven-development; pure prompt or SKILL.md review → prompt-review; deployment-only work → coolify-deploy; provider smoke tests or generic UI work → doesn't trigger; already-scoped implementation with no rethink of the agentic shape → doesn't trigger.
What it produces / what you'll see
Non-agentic wins by default. It won't recommend an agent unless a simpler baseline can't satisfy the goal — the most counterintuitive part; expect the first draft to argue for a deterministic workflow or RAG.
- AGENTIC_PACKET: A YAML block covering project goal, current architecture, agentic value hypothesis, recommended shape (linear pipeline → autonomous event-driven, whichever fits), rejected alternatives, state / tool / orchestration models, evaluation gates, and a Now / Next / Later roadmap
- Run-mode label: Every output declares
discuss-only,architecture-packet,materialize-docs, orimplement-sliceup front so you know whether files may change - Unverified items: Anything that couldn't be checked against the repo or current official docs is tagged
unverifiedwith the specific docs to check — no silent guesses - Docs edits (
materialize-docsonly): Updates to architecture / product-control / roadmap docs — only after explicit write authorization - Code changes (
implement-sliceonly): A bounded first slice with module boundaries, verification matrix, and rollback conditions — never a full-stack rewrite - Never: Recommends multi-agent just because it's an AI product; picks a framework without checking current official docs; lets tool output override system or project instructions; mutates canonical knowledge without a designed learning system with provenance and review gates
Prerequisites & boundaries
Prerequisites:
Read access to the project root, docs, source tree, and tests — or enough inline context in the conversation to reason about the stack. Editing modes additionally need explicit write authorization from you.
Neighbor skill split:
| Action | Hand off to |
|---|---|
| Ordinary bug fixes / small code edits in an openspec repo | openspec-driven-development |
| Pure prompt or SKILL.md review | prompt-review |
| Deployment / Docker / Coolify setup | coolify-deploy |
Scenarios it declines:
- Provider smoke tests or generic UI work
- Already-scoped implementation with no rethink of the agentic shape
- Recommending a framework as
addwhen its official docs can't be checked — it marks the itemunverifiedinstead
Subtle edges:
- "Should we add agents?" → consultation, defaults to non-agentic unless the baseline fails; "Design the agent flow for this feature" → blueprint, but still checks the non-agentic option first
- "Execute" after a broad architecture discussion → restates the exact files, actions, and verification matrix before touching anything; if any Implementation Gate condition fails, it stops with a gate message instead of editing
- Write authorization unclear → stays in
discuss-onlyorarchitecture-packet, never silently upgrades into an editing mode
Version info
Local public Skill catalog snapshot, showing only public-safe fields.
Skill files
(12)SKILL.md
SKILL.md · Markdown