How to Give AI Agents Better Tasks and Get Better Results

When working with AI agents, it's easy to fall into a familiar routine: ask the agent to fix a bug, get a solution, and move on to the next task. But I've been thinking more about whether the…

Avatar photoOleksii Strokan2 min read
How to Give AI Agents Better Tasks and Get Better Results

When working with AI agents, it's easy to fall into a familiar routine: ask the agent to fix a bug, get a solution, and move on to the next task.

But I've been thinking more about whether the real limitation is the model itself or the way we define the tasks we give it.

I recently read an article by Felix Rieseberg from Anthropic that suggests an interesting approach: instead of asking AI to simply complete a task, ask it to investigate the underlying problem.

From Quick Fixes to Real Results

For example, instead of saying "fix this bug," you could ask the agent to find the root cause, check for similar issues elsewhere in the codebase, and add a regression test.

Felix highlights three useful principles:

  • Altitude: Focus on the bigger goal, not just the immediate task.
  • Depth: Work with real data, professional tools, and proper verification methods.
  • Range: Bring in approaches from other fields when they help solve the problem.

I particularly agree with the idea of depth. Instead of telling an agent to "act like a senior developer," it's more useful to specify the actual work: review the architecture, reproduce the issue, test possible causes, and verify the fix.

A Practical Skill for AI Agents

Inspired by Felix's ideas, an open-source skill called be-ambitious takes this approach a step further.

It helps reconsider the original request before execution:

  • What's missing from the task definition?
  • What source data and tools are needed?
  • Which methods would produce the most reliable result?
  • How can the outcome be independently verified?

The point isn't to make every task bigger. It's to make the work more thorough where it matters.

What I Took Away

Giving an AI agent a complex task isn't enough. It needs a clear goal, access to the right tools, and measurable criteria for success.

At the same time, scope matters. A deeper investigation shouldn't turn a small fix into an unnecessary rewrite of the entire project.

A good AI task isn't defined by the length of the prompt. It's defined by a clear objective, the right methods, and a way to verify the result.

Let's build together

Have a project or idea in mind?

From high-converting websites, landing pages, and speed optimization to custom plugins, APIs, and AI tools — I handle the engineering end-to-end.

  • Custom WordPress systems
  • Plugins, APIs and integrations
  • AI-powered products
  • Long-term support

Have a project or idea in mind?

    Tell me what you’d like to create and how you imagine it.

    I’ll reply within a few hours.