← All sessionsHomeSearch
C7 EST | 14 Day AI Sprint·Day 10 | Office Hours + Principles for Building Agents ( Workflow + Agent )·5:04:00

Day 10: Principles for Building Agents — Three Levels of AI, the 7-Question Workflow-vs-Agent Test, Goldilocks Scope, Agent Prompting, and Tool Design

Jitesh Guest mentor - 6+ years on Zapier/Make, runs an AI automation agency with heavy n8n client work (Zoho partner); teaches agent principles and shows four production client systems · Harshad Office-hours mentor - demos a 6-7 workflow lead-gen/outreach master system; Claude Desktop custom connectors via config file · Samriddhi Office-hours co-host - sales-agency perspective (manufacturing, coaching clients) · Uthappa Host - opens/closes, workbook briefing, program roadmap and graduation logistics

The short version

  1. Three levels: an LLM drafts but cannot act ('MCPs don't think' - and LLMs cannot reach your calendar); an AI-powered WORKFLOW gives the model tools but a human fixes every step - 'however complex you make it, it is still not an agent'; an AGENT gets a goal and reasons its own path (ReAct: the sculptor handed tools and a photo).
  2. Decide with seven yes/no questions - ambiguous task? destination known but not path? high value? errors RECOVERABLE? tools definable? clear steps? would a workflow be too rigid? Four or more yes -> agent. Payroll, vendor payments, bank transactions stay workflows: 'don't use a nuclear bomb to kill a cockroach.' Screenshot the framework into Gemini with your use case for a recommendation and confidence score.
  3. Goldilocks: narrow scope, minimum information, focused toolset, specific objective - 'don't overwork your agents.' Same rule for context and for tool-call budgets. Specialized agents plus a manager (Jerry) beat one agent that does everything.
  4. Agent prompting is delegation, chat prompting is micromanagement: Objective, Tools (with when-to-use), Approach, Constraints (search caps), Success criteria ('when you find 3+ validated insights, stop'). Failure modes: the endless searcher, the answer-finder with no stop rule, 'be thorough but quick.'
  5. Tools: clear names ('web_search' not 'tool_a'), complete parameters and error handling, ONE purpose each - 'don't give it 4 search engines.' Test with 3-5 realistic cases (Pareto), iterate on what you observe; production agents need evals. 'Your agent is your product even if you are the only user.'
  6. The 90% rule: humans do the first 5% (goal, constraints, context, success, access), the agent does 90%, humans review. Four client systems shown: bank-transaction matcher (zero AI, by design), WhatsApp PO -> Zoho sales order (AI workflow, 30 min -> 1 min), WhatsApp hospitality agent (true agent: availability, Razorpay link, CRM update), and the live data-analyst agent picking pie vs line chart unprompted.

The concepts

01

Three levels: LLM, AI-powered workflow, agent

Ask ChatGPT to add a calendar reminder and it politely cannot. Give the same model a calendar tool and a fixed script and you have a workflow. Give it the goal and let it figure out the steps - that is the only thing that counts as an agent.

Level 1, the LLM: great at drafting, no access to anything external. Level 2, the AI-powered workflow: the LLM has tools (calendar search) but a human pre-defines every step and decision - the Day 8 Reel pipeline is exactly this, 'a fixed path' with AI at some steps. Level 3, the agent: built on a ReAct-style reason-then-act loop; the human supplies a goal ('build a statue that looks like this') and the model plans, selects tools and executes. Analogies stack up - Mario vs an RPG, railway vs taxi, donut machine vs chef, sculptor, gardener with a toolkit. The trap he names: adding AI to more and more steps does not promote a workflow to an agent.

Why it matters

Most 'agent' marketing describes level 2; knowing the difference decides cost, testing burden and risk.

Three levels of AI (Day 10): who decides the steps? LEVEL 1 LLM drafts text; no tools cannot touch your calendar LEVEL 2 AI WORKFLOW tools + a HUMAN-fixed path the Reel pipeline; spam checker LEVEL 3 AGENT goal in; ReAct loop picks the path Jerry; the hospitality WhatsApp agent "However complex you make it, it is still not an agent" - adding AI to more steps changes nothing; autonomy does Decide with 7 questions (>=4 yes -> agent); payroll, payments, banking stay Level 2 regardless Goldilocks: minimum info, focused tools, one clear objective - specialists under a manager, not one agent for everything
Jitesh's ladder on Day 10: who decides the steps at each level, and the test that separates a complex workflow from an agent.
Go deeper

In one line: L1 LLM (no tools) -> L2 AI workflow (tools, human-fixed path) -> L3 agent (goal in, ReAct loop chooses the path); complexity does not change the level, autonomy does.

L1 fails any action needing external systems (l3186059 0:20)

L2: tools present, human decides every step and tool call (l3186059 0:22)

L3: goal only; ReAct reason-then-act loop (l3186059 0:25)

Day 8's Reel pipeline classified as L2 (l3186059 0:24)

'However complex you make it, it is still not an agent' (l3186059 0:23)

▶ Watch this taught:

02

The 7-question test, and where autonomy is forbidden

'Would you allow an agent to handle your vendor payments?' The room says no. That no is the whole framework.

Seven questions: Is the task complex or ambiguous? Do you know the destination but not the path? Does the value justify the resources? Are errors recoverable rather than catastrophic? Are the tools definable? Is there a clear step-by-step process? Would a workflow be too rigid? Four or more yes -> build an agent. Catastrophic-error domains - payroll, vendor payments, bank transactions - stay deterministic. The framework is meant to be screenshotted and pasted into an LLM (Gemini for reasoning) with the use case, returning a recommendation and confidence score.

Live scoring: 'voice AI agents for offices' -> agent (all yes); 'social media scheduling and posting' -> workflow. Rapid quiz: form validation = workflow; competitor pricing research = agent; customer-intent routing = AI-powered workflow; weekly calendar planning = agent; image resize/upload = workflow; debugging 500 errors = agent. 'You cannot wake up one day and say, I'm gonna build an agent.'

Why it matters

Turns the most-asked question of the sprint into a checklist Paul can run on any client request in two minutes.

Go deeper

In one line: Seven yes/no questions on ambiguity, unknown path, value, recoverable errors, definable tools, step clarity, rigidity; >=4 yes -> agent; irreversible-error domains -> workflow regardless.

Seven questions; four or more yes suggests an agent (l3186059 0:42, 1:56)

Catastrophic/irreversible errors (payroll, payments, banking) -> never full autonomy (l3186059 0:45)

Screenshot the framework + use case into Gemini for a recommendation with confidence (l3186059 0:43)

Voice receptionist -> agent; social scheduling -> workflow (l3186059 0:46-0:50)

Six-scenario quiz separates workflow / AI workflow / agent (l3186059 0:52-0:55)

▶ Watch this taught:

Check yourself

Answer from memory first — the recall attempt is what makes it stick. Then reveal.

A client wants an agent to reconcile bank transactions to invoices. Agent or workflow?

Workflow. Errors are financial and hard to reverse - Jitesh's own client system does this with zero AI decisions, ~2,000 transactions per run.

03

Goldilocks scope: minimum info, focused tools, one clear objective - and a manager for the rest

Overload an employee and they break down. Overload an agent and it gets confused, expensive and unreliable - in that order.

More tools raise the chance of confusion; more information raises token cost; more complex tasks lower reliability. The fix: the minimum information needed, a focused toolset, clear specific objectives - 'don't overwork your agents.' The same principle governs context ('too much context, agent will get confused. Too little, it might go off track') and tool-call budgets. Scale by specialization: one narrow agent per repeatable task (research, visualization, writing) coordinated by a manager agent - the Jerry pattern with its email, calendar and manager agents. Simple agents 'can solve big problems' and are easier to test, maintain and scale.

Why it matters

It is the design principle behind Day 7's architecture and behind Day 4's 'narrow toolset' advice, stated as a rule.

Go deeper

In one line: Narrow scope + minimal context + focused tools per agent; compose specialized agents under a manager rather than widening one agent.

More tools -> confusion; more info -> cost; more complexity -> unreliability (l3186059 0:19)

Minimum info + focused toolset + clear objective (l3186059 0:19)

Goldilocks context - not too much, not too little (l3186059 1:58)

Specialized agents + manager agent (Jerry callback) (l3186059 1:04-1:11)

Simplicity eases testing, maintenance, scaling (l3186059 1:11)

▶ Watch this taught:

04

Agent prompting = delegation: Objective, Tools, Approach, Constraints, Success

how-to

'Here's what success looks like, figure it out.' If your prompt cannot end that way, you wrote a chat prompt.

Chat prompting (role, context, task, format) prescribes the path - 'micromanagement.' Agent prompting is 'delegation' built on five pillars: the objective; the tools with explicit when-to-use guidance; a suggested approach; constraints (what to avoid, budgets - cap web searches); measurable success criteria that tell the agent when to STOP. Built live in Gemini by screenshotting the framework slide plus a plain description ('an AI data analyst with these tools', 300-word cap) for v1, then adding the 'components of an effective agent' slide (role, tools, input, behaviour, guardrails, success, error handling) for a ~500-word v2 with tool-selection guidance and stopping rules.

Failure modes to design against: the endless searcher ('keep searching until you find the highest quality source' loops forever - cap at 5-7); the answer-finder with no 'when you find it, stop'; unbudgeted expensive tools (5 calls for simple, 10-15 for complex); conflicting instructions ('be thorough, but also be quick'); vague success; 'what seems obvious to you may not be obvious for the agent.'

Do it in this order
Why it matters

Complements Day 6's voice-prompt template: that was a scripted flow; this is how you brief something you want to think.

Go deeper

In one line: Agent prompt = Objective + Tools (with usage rules) + Approach + Constraints (budgets) + Success/stop criteria; avoid endless-search, no-stop, conflicting instructions.

Chat = micromanagement; agent = delegation (l3186059 1:26)

Five pillars: objective, tools, approach, constraints, success (l3186059 1:27, 2:00)

Screenshot-driven drafting in Gemini: v1 300 words -> v2 ~500 words (l3186059 1:28-1:35)

Success must be measurable with a stop rule (l3186059 1:37)

Endless searcher -> cap searches 5-7; budget expensive tools 5 / 10-15 (l3186059 1:40-1:41)

'Thorough but quick' is unresolvable (l3186059 1:44)

▶ Watch this taught:

05

Tool design (clarity, completeness, uniqueness) and Pareto testing

Four search engines and the agent freezes choosing. One search engine and a sentence about when to use it, and it moves.

Clarity: action-oriented names ('web_search' not 'tool_a'), clear descriptions, unambiguous examples. Completeness: full parameters, comprehensive responses, error and edge-case handling. Uniqueness: one tool per job, no overlap - 'don't have a tool to do everything.' Chaining must be stated in the prompt (customer-lookup output feeds dispatch). Recap: naming, count, scope, documentation. Testing: 'don't break your head' on every edge case - 3-5 realistic tasks covering ~80% of scenarios, run manually, observe, iterate on real feedback. Personal agents can live on manual review; once an agent enters a business process (support), formal evals, metrics and monitoring apply.

Why it matters

The Evals sprint in this KB is what 'formal evals' means; this is the lightweight practice that precedes it.

Go deeper

In one line: Tools: clear name, complete spec, single purpose, explicit chaining; test with 3-5 realistic cases, iterate; add evals when production.

Clarity, completeness, uniqueness of purpose (l3186059 1:48-1:50)

'Don't give it 4 search engines... give it 1 and explain when' (l3186059 1:50)

State tool chaining explicitly in the prompt (l3186059 1:54)

3-5 realistic test cases ~ 80% coverage; iterate (l3186059 1:56-1:57)

Production agents need evals, metrics, monitoring (l3186059 0:40)

'Your agent is your product even if you are the only user' (l3186059 0:40)

▶ Watch this taught:

06

The 90% rule, and four client systems that show where AI belongs

The bank-reconciliation system has no AI in it at all - and that is the most professional decision in the whole session.

The 90% rule: humans do the first ~5% (goal, constraints, context, success criteria, tool access, guardrails), the agent does the middle ~90% (tool use, research, multi-step work), humans review before shipping - Bolt building an app from a brief is the example. Then four real systems. (B) Bank transactions -> customer payments: pure workflow, ~2,000 transactions per run, filter debits, match customers, post payments, report - zero AI because errors are financial. (C) WhatsApp purchase orders -> Zoho sales orders: AI-powered workflow - acknowledge, branch on PDF vs text, AI parses 100+ line items, create the order, stock logic; ~30 minutes to ~1 minute. (D) WhatsApp hospitality agent: a true agent - check room availability and prices, generate a Razorpay payment link, update the CRM, message back, choosing tools by conversation state. (A) The live data-analyst agent: given get_data plus pie/line/bar QuickChart tools and the v2 prompt, 'split of MRR by product' produced a pie chart and 'revenue trending over time' a line chart, unprompted.

Why it matters

Together they are the answer key to the 7-question test - and a portfolio shape Paul can mirror for clients.

Go deeper

In one line: Human 5% setup -> agent 90% execution -> human review; choose level by error cost: reconciliation = workflow, PO parsing = AI workflow, conversational sales = agent.

5% human setup, 90% agent, human review (l3186059 0:37-0:38)

Bank matcher: zero AI, ~2,000 transactions/run, financial risk (l3186059 2:14-2:16)

WhatsApp PO -> Zoho: AI parses line items; 30 min -> 1 min (l3186059 2:16-2:18)

Hospitality WhatsApp agent: availability, Razorpay link, CRM update tools (l3186059 2:18-2:19)

Data-analyst agent selected pie vs line chart from the prompt alone (l3186059 2:08-2:13)

▶ Watch this taught:

07

Office Hour 6 distilled: LLM thinks / MCP is capability, waitlist-first, custom connectors, OpenRouter

'Too many ideas, not enough time' got the best answer of the week: build a landing page with a waitlist before you build anything.

LLM vs MCP: the model thinks, the MCP is a capability it can call. Research outreach at scale: arXiv MCP + Apify scraping + an email workflow. Confidential clients: Pinecone or Google Vertex AI depending on ecosystem; local n8n with Ollama swapped for the OpenAI node for privacy; Ollama + LangChain for local RAG. Shiny-object syndrome: build one thing fully; validate with a waitlist landing page first; find ideas in your own leverage and network, not trends - lead generation is the universally sellable small-business automation. Harshad demos a 6-7 workflow master system: scrape prospects, verified-email filter, LinkedIn/company enrichment, hyper-personalized email, 3-step follow-up, 50 emails per inbox with rotation, reply detection halts the sequence - the $15-20k JSON is not shared. Claude Desktop custom connectors on Windows/free plan: enable developer mode and edit claude_desktop_config.json. Compare models by provider pricing pages or OpenRouter's unified key (GPT-5.2 at $1.75/M, 5.2 Pro at $21/M cited). Sighted: skills.sh (Vercel-linked skills aggregator), Mem0 / super memory for cross-session memory, Remotion for code-based video. Remote access to client PCs: integrate by API/JSON, never TeamViewer-style control. Closing: the course teaches 'the way to think,' not tools.

Why it matters

The waitlist-first and one-key-per-client rulings are standing agency policy in Paul's world; the rest saves re-asking.

Go deeper

In one line: LLM reasons, MCP acts; validate with waitlists; per-client privacy via local models or Pinecone/Vertex; Claude custom connectors via config JSON; OpenRouter to compare cost.

LLM thinks; MCP is a capability (l3319323 0:01-0:02)

arXiv MCP + Apify + email workflow for 3,000-scientist outreach (l3319323 0:03-0:04)

Pinecone vs Vertex AI by client; local Ollama node for privacy (l3319323 0:09-0:10, 0:25-0:26)

Waitlist landing page before building; ideas from your own leverage (l3319323 0:10-0:12, 0:19-0:21)

Lead-gen master system: enrichment, personalization, 3 follow-ups, 50/inbox rotation, reply detection (l3319323 0:21-0:24)

Claude Desktop custom connectors: developer mode + claude_desktop_config.json (l3319323 0:32-0:35)

OpenRouter for one key and price comparison; GPT-5.2 $1.75/M vs Pro $21/M (l3319323 0:45-0:48)

skills.sh, Mem0, Remotion sighted (l3319323 0:13, 0:29-0:31)

▶ Watch this taught:

Every concept, three clicks deep

The same concepts as a quick reference: the closed row is the glance, open is the study card, and every timestamp jumps into the recording.

01Three levels: LLM, AI-powered workflow, agentL1 LLM (no tools) -> L2 AI workflow (tools, human-fixed path) -> L3 agent (goal in, ReAct loop chooses the…

L1 LLM (no tools) -> L2 AI workflow (tools, human-fixed path) -> L3 agent (goal in, ReAct loop chooses the path); complexity does not change the level, autonomy does.

L1 fails any action needing external systems (l3186059 0:20)

L2: tools present, human decides every step and tool call (l3186059 0:22)

L3: goal only; ReAct reason-then-act loop (l3186059 0:25)

Day 8's Reel pipeline classified as L2 (l3186059 0:24)

'However complex you make it, it is still not an agent' (l3186059 0:23)

02The 7-question test, and where autonomy is forbiddenSeven yes/no questions on ambiguity, unknown path, value, recoverable errors, definable tools, step clarity…

Seven yes/no questions on ambiguity, unknown path, value, recoverable errors, definable tools, step clarity, rigidity; >=4 yes -> agent; irreversible-error domains -> workflow regardless.

Seven questions; four or more yes suggests an agent (l3186059 0:42, 1:56)

Catastrophic/irreversible errors (payroll, payments, banking) -> never full autonomy (l3186059 0:45)

Screenshot the framework + use case into Gemini for a recommendation with confidence (l3186059 0:43)

Voice receptionist -> agent; social scheduling -> workflow (l3186059 0:46-0:50)

Six-scenario quiz separates workflow / AI workflow / agent (l3186059 0:52-0:55)

03Goldilocks scope: minimum info, focused tools, one clear objective - and a manager for the restNarrow scope + minimal context + focused tools per agent;

Narrow scope + minimal context + focused tools per agent; compose specialized agents under a manager rather than widening one agent.

More tools -> confusion; more info -> cost; more complexity -> unreliability (l3186059 0:19)

Minimum info + focused toolset + clear objective (l3186059 0:19)

Goldilocks context - not too much, not too little (l3186059 1:58)

Specialized agents + manager agent (Jerry callback) (l3186059 1:04-1:11)

Simplicity eases testing, maintenance, scaling (l3186059 1:11)

04Agent prompting = delegation: Objective, Tools, Approach, Constraints, SuccessAgent prompt = Objective + Tools (with usage rules) + Approach + Constraints (budgets) + Success/stop crite…

Agent prompt = Objective + Tools (with usage rules) + Approach + Constraints (budgets) + Success/stop criteria; avoid endless-search, no-stop, conflicting instructions.

Chat = micromanagement; agent = delegation (l3186059 1:26)

Five pillars: objective, tools, approach, constraints, success (l3186059 1:27, 2:00)

Screenshot-driven drafting in Gemini: v1 300 words -> v2 ~500 words (l3186059 1:28-1:35)

Success must be measurable with a stop rule (l3186059 1:37)

Endless searcher -> cap searches 5-7; budget expensive tools 5 / 10-15 (l3186059 1:40-1:41)

'Thorough but quick' is unresolvable (l3186059 1:44)

05Tool design (clarity, completeness, uniqueness) and Pareto testingTools: clear name, complete spec, single purpose, explicit chaining;

Tools: clear name, complete spec, single purpose, explicit chaining; test with 3-5 realistic cases, iterate; add evals when production.

Clarity, completeness, uniqueness of purpose (l3186059 1:48-1:50)

'Don't give it 4 search engines... give it 1 and explain when' (l3186059 1:50)

State tool chaining explicitly in the prompt (l3186059 1:54)

3-5 realistic test cases ~ 80% coverage; iterate (l3186059 1:56-1:57)

Production agents need evals, metrics, monitoring (l3186059 0:40)

'Your agent is your product even if you are the only user' (l3186059 0:40)

06The 90% rule, and four client systems that show where AI belongsHuman 5% setup -> agent 90% execution -> human review;

Human 5% setup -> agent 90% execution -> human review; choose level by error cost: reconciliation = workflow, PO parsing = AI workflow, conversational sales = agent.

5% human setup, 90% agent, human review (l3186059 0:37-0:38)

Bank matcher: zero AI, ~2,000 transactions/run, financial risk (l3186059 2:14-2:16)

WhatsApp PO -> Zoho: AI parses line items; 30 min -> 1 min (l3186059 2:16-2:18)

Hospitality WhatsApp agent: availability, Razorpay link, CRM update tools (l3186059 2:18-2:19)

Data-analyst agent selected pie vs line chart from the prompt alone (l3186059 2:08-2:13)

07Office Hour 6 distilled: LLM thinks / MCP is capability, waitlist-first, custom connectors, OpenRouterLLM reasons, MCP acts;

LLM reasons, MCP acts; validate with waitlists; per-client privacy via local models or Pinecone/Vertex; Claude custom connectors via config JSON; OpenRouter to compare cost.

LLM thinks; MCP is a capability (l3319323 0:01-0:02)

arXiv MCP + Apify + email workflow for 3,000-scientist outreach (l3319323 0:03-0:04)

Pinecone vs Vertex AI by client; local Ollama node for privacy (l3319323 0:09-0:10, 0:25-0:26)

Waitlist landing page before building; ideas from your own leverage (l3319323 0:10-0:12, 0:19-0:21)

Lead-gen master system: enrichment, personalization, 3 follow-ups, 50/inbox rotation, reply detection (l3319323 0:21-0:24)

Claude Desktop custom connectors: developer mode + claude_desktop_config.json (l3319323 0:32-0:35)

OpenRouter for one key and price comparison; GPT-5.2 $1.75/M vs Pro $21/M (l3319323 0:45-0:48)

skills.sh, Mem0, Remotion sighted (l3319323 0:13, 0:29-0:31)

Tools referenced

ToolCoverageMomentContext
n8ndemonstratedData-analyst agent with QuickChart tools; client systems
QuickChartdemonstratedFree pie/line/bar chart tools, no key
Google GeminidemonstratedScreenshot-driven agent prompt drafting
ZohoexplainedSales orders from WhatsApp POs (client system)
RazorpayexplainedPayment-link tool in the hospitality agent
ApifyexplainedScientist outreach, Instagram scraping
OllamaexplainedLocal model swap for privacy; + LangChain for RAG
OpenRouterexplainedUnified key and pricing comparison
Claude DesktopexplainedCustom connectors via developer mode + config JSON
BoltmentionedCoding-agent example for the 90% rule
PineconementionedConfidential-client vector store
Google Vertex AImentionedEnterprise RAG for Google-ecosystem clients
LangChainmentionedLocal RAG pairing with Ollama
skills.shmentionedNew skills aggregator
Mem0mentionedCross-session memory layer
RemotionmentionedCode-based video generation
SupabasementionedBackend for a business analytics tool

Action items

    Resources mentioned

    Resources
    • docDay 10 workbook - decide, blueprint, prompt
    • docOffice Hour 6 question log (~45 items)

    Extraction notes

    This page was built from an auto-generated transcript, which garbles product and people's names. Those were corrected silently in everything above and logged here for transparency. The warnings flag claims that were true on the recording day but change fast.

    Transcript corrections applied

    The transcript saysThe trainer actually means
    NA 10 / and it in / editing workflown8n
    ArtZybearXiv
    SuperBaseSupabase
    cloudClaude
    Contact 7Context7
    Vortex AIVertex AI
    Rapify nodeApify node
    OpenDowterOpenRouter
    Happy retailRetell AI
    Plod desktop configclaude_desktop_config.json
    LyzerLyzr (Day 11 platform)
    Lovable (90% rule example)Bolt - self-corrected by Jitesh

    True on recording day — verify before relying