cd /news/ai-agents/how-i-d-pick-the-first-task-to-hand-… · home › topics › ai-agents › article
[ARTICLE · art-166786] src=dev.to ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

How I'd Pick the First Task to Hand to an AI Agent (With a 20-Line Scoring Script)

A developer published a 20-line Python scoring script for choosing the first task to hand to an AI agent, scoring candidate tasks 1-5 on frequency, time cost, clarity of rules and safety, with a hard rule that any task scoring 1 or 2 on safety is deferred regardless of its total. The framework, illustrated with tasks like sorting email and sending refunds, is packaged into a beginner-oriented ebook for small business owners that includes seven starter agents and a seven-day launch plan. The author cites McKinsey's November 2025 State of AI survey finding that 62% of organizations were experimenting with AI agents while only 23% had scaled them.

by read2 min views6 publishedNov 10, 2026

AI agents are the big topic this month, but most people I talk to outside tech haven't tried one yet. The most common mistake I see is picking the tool first and the task second.

As a developer, I'd reverse that. Here's the small framework I use to choose a first task, plus a script you can run.

A chatbot answers when you ask, and then you do the work. An agent takes a goal, plans the steps, uses tools (email, calendar, a spreadsheet, a store), does the task, and reports back.

That difference matters because it changes the risk. An agent can act, so a bad choice of task costs more than a bad chatbot answer.

McKinsey's State of AI survey (Nov 2025) reported that 62% of organizations were experimenting with AI agents, but only 23% had scaled them. Lots of pilots, few things in daily use. A small team that picks one narrow job and makes it reliable can get ahead of that.

List everything you repeat each week. Score each task from 1 to 5 on four things:

Add the four scores. A high total means a good candidate. One rule overrides the total: if safety is 1 or 2, wait, however high it scores elsewhere.

tasks = [
    {"name": "Sort and label incoming email",   "frequency": 5, "time_cost": 4, "clear_rules": 4, "safety": 5},
    {"name": "Answer repeat customer questions", "frequency": 5, "time_cost": 4, "clear_rules": 4, "safety": 3},
    {"name": "Send refunds",                     "frequency": 3, "time_cost": 3, "clear_rules": 4, "safety": 1},
    {"name": "Write monthly newsletter draft",   "frequency": 2, "time_cost": 4, "clear_rules": 3, "safety": 4},
]

MIN_SCORE = 16
MIN_SAFETY = 3

for t in tasks:
    t["score"] = t["frequency"] + t["time_cost"] + t["clear_rules"] + t["safety"]
    t["ready"] = t["score"] >= MIN_SCORE and t["safety"] >= MIN_SAFETY

for t in sorted(tasks, key=lambda x: x["score"], reverse=True):
    flag = "START HERE" if t["ready"] else "wait"
    print(f'{t["score"]:>2}  {flag:<10}  {t["name"]}')

Output:

18  START HERE  Sort and label incoming email
16  START HERE  Answer repeat customer questions
13  wait        Write monthly newsletter draft
11  wait        Send refunds

Refunds never make the list because of the safety rule, even though the task is frequent. That's the point.

monthly value = (hours saved per week × 4.3 × value of an hour) − tool cost

Record your baseline before you start. Without it you can't tell whether the agent helped.

I'm a developer who works with AI, and I put this into a short beginner-friendly guide for non-technical small business owners: 7 starter agents, a 7-day launch plan, prompt templates, and a launch checklist. It's my first ebook, so I'd really like honest feedback.

The AI Agent Playbook for Small Business

What's the first task you'd hand to an agent? Tell me in the comments and I'll tell you how I'd score it.

── more in #ai-agents 4 stories · sorted by recency
── more on @mckinsey 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/how-i-d-pick-the-fir…] indexed:0 read:2min 2026-11-10 · —