๐Ÿค– Agent Exercise 2: Design Your Agent Workflow

Pick a real workflow from your team, choose a workflow pattern, and design the full agent using the Agent Design Canvas.

โฑ 45 minutes + 30 minutes presentations

Exercise Overview

This is the capstone exercise of the workshop. You'll work in teams to design an AI agent for a real workflow from your own team โ€” using everything you learned on Day 2 (prompt engineering) and Day 3 (agent patterns).

๐ŸŽฏ Deliverable

Each team produces an Agent Design Canvas โ€” a one-page document that describes your agent's role, workflow pattern, skills, guardrails, and expected business impact. You'll present this to the group and get feedback.
StepWhat you doDuration
Step 1Pick your workflow5 min
Step 2Choose a workflow pattern5 min
Step 3Design the agent (fill the canvas)25 min
Step 4Build a prototype skill in Kiro10 min
PresentationsEach team presents (5 min each)30 min

Step 1: Pick Your Workflow

Choose a real workflow from your team that you'd like to automate. Use the homework you identified at the end of Day 2, or pick from these ideas:

WorkflowWhat the agent would doPattern
Invoice processingExtract โ†’ validate โ†’ flag mismatches โ†’ route for approvalChaining
Fraud monitoringAnalyze from 3 angles โ†’ majority vote โ†’ case fileParallelization
Customer complaintsClassify type โ†’ route to correct team โ†’ draft responseRouting
Credit applicationsAssess โ†’ auto-decide if small โ†’ human review if largeOrchestration
Regulatory updatesScan new circular โ†’ assess impact โ†’ notify complianceChaining
Monthly reportingPull data โ†’ generate narrative โ†’ create presentationChaining
KYC verificationParse documents โ†’ extract fields โ†’ check against rulesChaining
Merchant onboardingReview application โ†’ risk check โ†’ compliance check โ†’ approve/rejectOrchestration
โš ๏ธ Best choice: Pick a workflow that your team does at least weekly and that takes at least 30 minutes each time. The bigger the time savings, the stronger your business case.

Step 2: Choose a Workflow Pattern

Match your workflow to one of the four patterns from the Day 3 presentation:

PatternHow it worksBest for
ChainingStep A โ†’ Step B โ†’ Step C (sequential)Linear processes: extract โ†’ validate โ†’ report
ParallelizationRun 3 analyses simultaneously โ†’ combineMulti-perspective reviews: risk + product + compliance
RoutingClassify first โ†’ route to correct workflowIncoming documents/requests with multiple types
OrchestrationComplex flow with decision points + human reviewHigh-stakes processes with approval thresholds
โœ… Decision: Write down your workflow name and chosen pattern before moving to Step 3.

Step 3: Fill the Agent Design Canvas

Use Kiro to help you design the agent. Paste this canvas template and ask Kiro to help you fill it in:

AGENT DESIGN CANVAS โ€” Copy & paste into Kiro
Help me design an AI agent using this canvas template. I'll describe my workflow and you help me fill in each section. # Agent Design Canvas ## Agent Identity - **Name:** [descriptive name for the agent] - **Role:** [Use the persona formula: Title + Experience + Specialty + Characteristic + Behavior] - **Trigger:** [What event starts this agent? e.g., "New file uploaded", "Weekly schedule", "Manual request"] ## Workflow - **Pattern:** [ ] Chaining [ ] Parallelization [ ] Routing [ ] Orchestration - **Steps:** 1. [First action โ€” what skill runs? what does it produce?] 2. [Second action โ€” what does it do with the output of step 1?] 3. [Third action โ€” decision point, human review, or final output?] ## Data - **Inputs:** [What data does the agent need? Files, databases, APIs?] - **Outputs:** [What does it produce? Report, notification, decision?] - **Knowledge base:** [What documents should it reference? Policies, guidelines?] ## Guardrails - **Must NOT:** [List negative constraints โ€” what the agent must never do] - **Escalate when:** [When does a human take over? Thresholds, confidence levels?] - **Data rules:** [Grounding rules โ€” only use provided data? Citation requirements?] ## Kiro Implementation - **Steering file:** [What global rules apply?] - **Skills needed:** [List each SKILL.md file needed for the workflow steps] - **Hook trigger:** [What event triggers the workflow?] - **MCP connections needed:** [What external systems? e.g., database, Slack, email, Google Drive โ€” your tech team sets these up] ## Business Impact - **Current process:** [How is this done today? How long does it take?] - **With agent:** [Expected time savings per week/month] - **Success metric:** [How will you measure if the agent is working?] --- My workflow is: [DESCRIBE YOUR WORKFLOW HERE] The pattern I chose is: [YOUR PATTERN] My team currently spends [TIME] on this each [FREQUENCY].
๐Ÿ’ก Tips for a strong canvas:
  • Be specific about the trigger โ€” "new CSV file in /data" is better than "when needed"
  • Name each skill โ€” each step should map to a SKILL.md file
  • Include escalation rules โ€” when does a human take over?
  • Quantify the business impact โ€” "saves 10 hours/week" is more compelling than "saves time"
  • Use Day 2 techniques โ€” persona for the role, structured output for each skill, negative constraints for guardrails

Step 4: Build a Prototype Skill

Pick the most important step from your workflow and build it as a working SKILL.md in Kiro:

PROMPT โ€” Build the first skill
Based on the Agent Design Canvas we just created, build the SKILL.md file for Step 1 of the workflow. Create it at .kiro/skills/[agent-name]/SKILL.md with: - Proper frontmatter (name, description with trigger keywords) - The full prompt template for this step - A "When to Use" section - A "Guardrails" section with the constraints from the canvas - An "Output Format" section defining the expected structure Then create a simple hook that triggers this skill when the appropriate file event occurs.
โœ… Checkpoint: You should now have:
  • A completed Agent Design Canvas (the full workflow design)
  • A working SKILL.md for the first step of your workflow
  • A hook that triggers it automatically

Presentations

Each team presents their Agent Design Canvas to the group (5 minutes per team):

Cover thisTime
The problem: What workflow are you automating? How long does it take today?1 min
The design: Which pattern? What are the steps? What skills are needed?2 min
The guardrails: What must the agent NOT do? When does a human take over?1 min
The impact: How much time/cost does this save? What's the success metric?1 min
๐Ÿ’ก Feedback questions for the audience:
  • What could go wrong? Are the guardrails sufficient?
  • Should the autonomy level be higher or lower?
  • What data sources would make this more powerful?
  • Could this pattern apply to a similar workflow in your team?

For Your Team: Kiro โ†” Claude Cowork

Everything you built today is portable. Here's how the concepts translate:

ConceptIn Kiro (workshop)In Claude Cowork (your desk)
Skills.kiro/skills/*/SKILL.mdSKILL.md in project folder
Always-on rules.kiro/steering/*.mdCLAUDE.md project instructions
Auto triggersHooks (.kiro/hooks/)Scheduled tasks (built-in)
External toolsMCP serversCowork plugins (Slack, email)

๐ŸŽ‰ What You've Accomplished (3-Day Workshop)

  • Day 1: Understood what AI can do and identified use cases for your team
  • Day 2: Mastered prompt engineering and built reusable templates
  • Day 3: Converted templates into skills and designed an automated agent workflow
  • Deliverables: A prompt template, a SKILL.md file, a steering file, a hook, and an Agent Design Canvas โ€” all ready to share with your team