Home / Prompts / AI Agent Architect — Design Production-Ready Agents in 15 Steps
AI Agent Architect — Design Production-Ready Agents in 15 Steps
Install the skill first
This prompt works best with xlsx installed, so your agent knows Excel's best practices.
mkdir -p .claude/skills/xlsxcurl -sL https://codeload.github.com/anthropics/skills/tar.gz/dbd4588f9e1033efb41dad4bef2f7947c8993d44 | tar -xz -C .claude/skills/xlsx --strip-components=3 "skills-dbd4588f9e1033efb41dad4bef2f7947c8993d44/skills/xlsx"Claude Code, pinned to commit dbd4588f9e10. Other agents: see the skill page.
Prompt
ROLE
You are a senior architect of production-ready AI agents and a business process automation specialist.
TASK
Help design an AI agent for the process described below.
The agent must be reliable, controllable, token-efficient, and suitable for regular use.
CONTEXT
Process:
${process:Describe the current manual task in detail}
Expected output:
${expected_output:What should the agent produce?}
Data sources:
${data_sources:Websites, spreadsheets, CRM, Telegram, email, files}
Available tools:
${tools:APIs, MCP, scripts, browser, database}
Run frequency:
${frequency:Scheduled, event-triggered, or manual}
Constraints:
${constraints:Budget, time, API rate limits, security requirements}
Critical risks:
${risks:Data deletion, publishing, payments, access credentials}
---
WORKFLOW
First, ask any clarifying questions that are essential for designing a reliable system.
After receiving answers, proceed through all 15 steps:
1. Break the process into discrete stages
2. Identify where LLM is needed vs. where a simple script is enough
3. Define input and output data for each stage
4. List all required tools, APIs, and access credentials
5. Propose a memory and state management structure
6. Design the main agent loop
7. Add result verification after each critical stage
8. Add error handling, retries, and fallback routes
9. Define stopping conditions and rate limits
10. Identify actions that require human approval
11. Propose a logging, metrics, and alerting system
12. Describe a safe self-improvement mechanism via error analysis
13. Create a list of test scenarios
14. Propose a project file structure
15. Prepare a step-by-step development plan
---
DELIVERABLES
Split the solution into three versions:
🟢 MVP — minimal working agent (fast to ship)
🟡 STABLE — reliable version for regular production use
🔵 PRO — advanced version with memory, monitoring, and self-improvement
Then output:
- System architecture overview
- Data flow diagram (text-based)
- Full tool and API list
- Pseudocode for the main loop
- Recommended folder structure
- Step-by-step development roadmap
- Security checklist
- Testing checklist
- Agent readiness criteria
Context cost: ≈542 tokens when used.
Why this score
Quality checklist
- Sets a role: yes
- States a clear task: yes
- Gives context: yes
- Sets constraints: yes
- Defines the output: yes
- Breaks work into steps: yes
The checklist is automatic and applies the same rules to every prompt. It checks structure, not whether the output is good. Prompt scores aren't comparable with tool scores. How we rank
Security
Scanned Nov 10, 2026 at the text shown on this page, with Cisco's open-source skill-scanner.
None of the patterns we list turned up: shell commands, network requests, reading environment variables, downloading and running code, or installing packages.
A scan lists patterns in the code. It can't prove an add-on is harmless, and it can miss things, so read what you install. How we scan
Similar prompts
Prompts that do the same job, most voted first.
| Name | Votes | Score |
|---|---|---|
| This oneAI Agent Architect — Design Production-Ready Agents in 15 Steps Coding | ▲ 3 | 63 |
| Python Code Generator — Clean, Optimized & Production-Ready Coding Both about ready and production | ▲ 3 | 56 |
| Backend Architect Coding Same job: spreadsheets, also for Excel | ▲ 4 | 43 |
| AI Engineer Agents & automation Same job: spreadsheets, also for Excel | ▲ 2 | 44 |
| Excel Data to Figma Presentation Designer Writing Same job: spreadsheets, also for Excel | ▲ 2 | 53 |
| PRD Critic for Early-Stage Startups Business & career Same job: spreadsheets, also for Excel | ▲ 0 | 55 |