The prompt trap
Every AI agent demo starts the same way: someone types a prompt. "Research these 10 competitors." "Review this PR." "Process this spreadsheet." The agent does great work. The demo gets applause.
Then nothing happens. Because nobody remembers to type the prompt next Monday. Or the Monday after that. The competitive analysis was brilliant — it ran once. The PR reviewer was fast and thorough — on the one PR someone remembered to trigger it. The spreadsheet processor was perfect — when the PM manually uploaded the file.
This is the prompt trap. The value of an AI agent is proportional to how often it runs, and a prompt-driven agent runs only when a human remembers to prompt it. That's not an employee. That's a very expensive tool that someone has to pick up each time.
The fix is obvious, once you see it: make the agent react to events, not prompts.
Prompt-driven agent
- Runs when someone remembers to type a prompt
- Value is sporadic — brilliant when used, invisible when not
- Depends on one person's habits and memory
- No consistency, no schedule, no guarantee
- "We should really run that agent again"
Event-driven agent
- Runs automatically when events occur
- Value compounds daily — consistent, reliable, always-on
- Depends on infrastructure, not individual memory
- Every deploy tested. Every morning briefed. Every invoice processed.
- "The agent already handled it"
The four ways work arrives
Human employees receive work through four channels. AI employees should receive work through the same four channels.
1. Reactive: something happened (webhooks)
A customer files a support ticket. A PR gets opened. A payment fails. A deploy completes. A file gets uploaded to S3. These are events — things that happen in the outside world that require a response. The agent receives a webhook, spins up a sandbox, does the work, and posts the result.
| Event | Agent response | Result delivered to |
|---|---|---|
| Slack message in #ask-agent | Research the question, compile an answer | Slack reply |
| GitHub PR opened | Clone, test, review, screenshot UI | PR comment |
| Stripe payment failed | Investigate customer account, check billing portal | Slack #billing-alerts |
| New file in S3 bucket | Download, process, upload result | S3 output bucket |
| PagerDuty alert fires | Check logs, investigate root cause, draft incident summary | Incident channel |
| Customer signup (via API) | Provision their environment, send welcome email | Internal CRM + customer email |
2. Scheduled: it's time (cron)
Some work happens on a rhythm. Every morning at 6am, every Monday, every 28th of the month, every quarter-end. These are scheduled tasks — the agent has a calendar and follows it.
| Schedule | Agent task | From this guide |
|---|---|---|
| Daily, 6am | Competitive intelligence sweep — 30 competitor websites | Guide #7 |
| Every Monday, 7am | Vendor portal AP run — 20 portals, invoice extraction | Guide #5 |
| Every deploy | QA test suite — 4 user flows in parallel browsers | Guide #6 |
| Monthly, 28th | Revenue reconciliation across 3 data sources | Guide #9 |
| Every Friday, 5pm | Weekly summary — aggregate agent activity, post to leadership | — |
3. Deadline-aware: it's almost time (calendar)
The most sophisticated trigger is deadline awareness. The agent knows that Q1 compliance is due March 31st. Three days before, it starts preparing the data. One day before, it runs the final checks. On the deadline day, it files the report. It manages its own workload based on upcoming dates.
This is the behavior that makes AI agents feel like employees rather than tools. An employee with a calendar doesn't need to be told "prepare for the board meeting." They see it on Thursday and start pulling metrics on Wednesday. Calendar-driven agents work the same way.
4. Queue-based: work is waiting (SQS / EventBridge)
For high-volume event processing — thousands of file uploads, customer signups, or data records — events flow through a queue (SQS, RabbitMQ, Kafka). A consumer pulls messages from the queue and dispatches agent tasks. This pattern handles backpressure naturally: if events arrive faster than agents can process them, the queue buffers until capacity is available.
A day in the life of an AI workforce
Here's what an event-driven AI workforce looks like for a 50-person SaaS company. Seven agents, running autonomously, costing $24.50/month total.
6:00 AM — Competitive intel agent wakes up. Creates 30 browser containers. Screenshots competitor homepages and pricing pages. Compares against yesterday. Posts to Slack: "Linear raised Starter pricing from $8 to $10/user. Notion changed their homepage headline." Cost: $0.05.
7:15 AM — AP agent runs its weekly Monday cycle (it's Thursday, so it's quiet today). No action. Cost: $0.
9:42 AM — An engineer opens a PR. GitHub webhook fires. PR review agent creates a sandbox, clones the branch, runs the test suite, screenshots the UI changes, posts a comment: "Tests passed. One potential null-pointer issue in users.ts:87. Visual changes on /settings page — sidebar widget moved." Cost: $0.05.
10:15 AM — Same PR is pushed to staging. Deploy webhook fires. QA agent launches 4 browser containers. Tests signup, login, billing, and mobile flows. Posts to Slack: "All 4 flows passed." Cost: $0.15.
11:30 AM — Someone asks in #ask-agent: "What's the latest pricing for Notion's team plan?" Slack webhook fires. Research agent creates a browser container, visits notion.so/pricing, extracts the answer, replies in the thread: "$10/user/month billed annually, $12/user/month billed monthly. AI add-on is $8/user." Cost: $0.03.
2:45 PM — A Stripe payment fails for customer acme-corp. Stripe webhook fires. Payment investigation agent checks the customer's billing history, finds the card expired, posts to #billing-alerts with the customer name, amount, and suggested action. Cost: $0.02.
4:00 PM — Calendar agent checks tomorrow's deadlines. Board meeting is tomorrow. Triggers the board-metrics agent, which pulls KPIs from the data warehouse, generates charts, and posts them to #leadership. Cost: $0.10.
Total cost for the day: $0.40. Seven agents, six events handled, zero prompts typed by a human.
The economics of event-driven AI
The cost model is fundamentally different from prompt-driven agents. A prompt-driven agent costs money when a human decides to use it. An event-driven agent costs money when events occur — which is continuous, predictable, and budgetable.
| Agent | Trigger | Runs/month | Cost/run | Monthly |
|---|---|---|---|---|
| Competitive intel | Daily cron | 30 | $0.05 | $1.50 |
| PR reviewer | GitHub webhook | ~100 | $0.05 | $5.00 |
| QA on deploy | Deploy webhook | ~100 | $0.15 | $15.00 |
| AP vendor portals | Weekly cron | 4 | $0.50 | $2.00 |
| Slack research | Slack webhook | ~20 | $0.03 | $0.60 |
| Payment failure | Stripe webhook | ~10 | $0.02 | $0.20 |
| Monthly reconciliation | Monthly cron | 1 | $0.20 | $0.20 |
| Total AI workforce | $24.50 | |||
$24.50/month for seven autonomous AI employees. Each one does work that previously required a human to either do manually or remember to trigger. The competitive intel agent alone replaces $2,000+/month of analyst time. The QA agent replaces $8,000+/month of QA engineer time. The AP agent replaces $4,000+/month of accounts payable staff time.
The organizational shift: from "I use AI" to "I manage AI"
Prompt-driven agents make the human a user. Event-driven agents make the human a manager.
When agents are prompt-driven, the question is: "What should I ask the AI to do right now?" The human is in the loop for every task. They're operating the tool.
When agents are event-driven, the question shifts: "Are my AI employees doing their jobs well?" The human reviews results, adjusts task descriptions, monitors success rates, and handles exceptions. They're managing a workforce.
This is the mental model shift that separates companies that "use AI" from companies that "have AI employees." The former get value sporadically, when someone remembers to type a prompt. The latter get value continuously, automatically, every day, on every event.
The best AI employees combine all three work patterns: they have a calendar of recurring responsibilities, they react to events as they arrive, and they accept ad-hoc assignments from their human manager. Just like a good human employee.
How much supervision do event-driven agents need?
Less than you think, but more than zero. The right answer is a graduated supervision model:
- Alerts on failure. If an agent fails (sandbox creation error, test timeout, extraction returned empty), post to #agent-failures in Slack. Someone looks at it within 24 hours.
- Summaries on success. A one-line Slack message per completed task: "Competitive intel: 62 pages checked, 2 changes detected." "PR review: tests passed, 1 issue flagged." This creates an ambient awareness of what the agents are doing without requiring active monitoring.
- Live watching only when debugging. You can open the browser container's access URL and watch the agent navigate a website in real time. This is for debugging specific failures, not routine monitoring.
- Weekly performance review. Once a week, review the agent activity log. How many tasks ran? How many succeeded? What was the total cost? Are any agents consistently failing? This is the AI equivalent of a 1:1 with your employee.
Getting started: your first event-driven agent
Pick the agent from this guide series that resonated most with your team. Then wire it to its trigger.
- If you picked the competitive intel agent → set a cron job at 6am that runs the monitoring script daily.
- If you picked the PR reviewer → add a GitHub webhook that points at your dispatcher on
pull_requestevents. - If you picked the QA agent → add a post-deploy step to your CI pipeline that triggers the QA run.
- If you picked the AP clerk → set a Monday 7am cron.
- If you picked the data pipeline → set a monthly cron on the 1st, or trigger from an S3 upload event.
Start with one agent, one trigger. Watch it run for a week. Verify the results. Then add the second agent. Then the third. Within a month, you have an AI workforce that handles recurring tasks without human intervention.
The first agent takes an afternoon to set up. Each subsequent agent takes 30 minutes, because the pattern is identical: event → sandbox → work → result → cleanup.
What's next
Your agents work while you sleep
Webhooks. Cron. Queues. Calendars. Seven agents, $24.50/month, zero prompts. The human never types a prompt.
Get Started Free