What agents do well and what they do badly
Sort tasks by fit. Well-specified, checkable, local changes in common languages suit agents. Vague goals, subtle design judgement, rare tools, and changes with no way to verify suit them poorly.
Five tasks: which go to the agent?
You've just installed an agent, a tool that can read your project's files, edit them and run commands. Your to-do list:
1. Make the app faster
2. Rename `getUsr` to `getUser` everywhere
3. Add a CSV export button to the report page
4. Decide whether to switch databases
5. Fix the build script for your company's in-house tool
Which would you hand over, and which would you keep?
Strong where it has seen it and can check it
An agent is a language model that can also read files, edit them and run commands. It writes code by predicting what typically fits. So it's strongest where it has seen lots of similar code: Python, JavaScript, SQL, popular libraries. Rare tools mean fewer examples and more guessing. It fills a fuzzy goal with guesses too. Your business trade-offs aren't written in your files. And if nothing can show a result is wrong, a bad result just looks right.
The four-question fit check
Before handing over a task, ask:
1. **Specific?** Can you say in a sentence or two what "done" looks like?
2. **Checkable?** Can you confirm it worked: run it, compare output, see it on screen?
3. **Local?** Does it touch one area, not the whole system?
4. **Familiar?** Common language and well-known libraries?
All yes: good fit. No on 1 or 2: fix that first. No on 3 or 4: expect mistakes and check harder.
If the right answer depends on trade-offs only you know, it's a judgement call. You decide. The agent can list options or build your choice.
Sorting the to-do list
- **Rename (2):** one simple edit, repeated, in a common language. It touches several files, but every edit is the same. Check by running the app and searching the project for `getUsr`: none should remain. Good fit.
- **CSV export (3):** good fit if you name the columns. Check by clicking the button and opening the file.
- **Databases (4):** a judgement call. Ask the agent to list trade-offs, then decide yourself.
- **In-house tool (5):** the agent has never seen it. Point it at your docs and check every line.
- **Faster (1):** vague and unmeasured. Rewrite it (next card).
From vague to checkable
With the first prompt, the agent can pick any change and declare success, and you can't tell if it worked. The second prompt names the place, the measure, what must not change, and how to prove the result.
▸ You: make the app faster
⚙ Edit: src/cache.py
◂ Agent: Added caching. The app should now
be significantly faster.
▸ You: The /report page takes about 8 s to
load with data/sample.csv. Find out why
and get it under 2 s. Keep the page's
output identical. Time it before and
after and show me both numbers.
Hand over what you can describe and check
Agents do well on specific, checkable, local changes in common languages. Vague goals, judgement calls, rare tools and anything you can't verify need your own thinking first, or much more checking afterwards.
On Bytewise this lesson comes in small steps with a check at the end, and the app brings it back right before you would forget it.