Learn

GuideAI & agents

AI agents: how a bot turns a goal into actions

An AI agent is software that uses an AI model to choose and carry out steps toward a goal. It can use available tools, inspect what happened, and decide what to do next. Agentic AI is a broader label for systems with this kind of goal-directed behavior. People use the labels differently, so ask what a particular product can actually do. [1]

The useful question is: Which parts of this job can the bot handle, and which decisions remain mine?

Follow one small job

Imagine you run a neighborhood plant swap. Its website has yesterday’s event details. You ask a bot:

Example to adapt

Update the draft event page using the new event note. Check the date, location, and mobile layout. Show me a preview. Leave publication to me.

This example assumes the bot has tools to read the note, edit a draft copy, and open a preview. Those tools are part of the example, not a promise about every bot product.

The bot reads the event note and finds a new date but no start time. It should keep the existing time only if a reliable source confirms it still applies. Otherwise, it should flag the missing detail. A polished page with an invented time would fail the job.

Once the information is complete, the bot edits the draft. It opens a phone-sized preview and discovers that the address runs off the screen. It adjusts the layout, checks again, and gives you the preview with a brief account of what changed.

Notice that the next step depends on the result of the previous step. This feedback is what makes an agent useful for jobs that do not follow a perfectly predictable path. [1]

The bot reads the event note, asks if a required detail is missing, edits the draft, and checks it. Failed checks lead back to editing. Successful checks lead to a preview for the owner.

Swipe sideways to see the whole diagram, or open it full size.

From request to checked draft. An agent can use results to choose its next action. In this example, the owner keeps the publication decision.

Figure explanation: The bot reads the event note and checks for missing required information. If a detail is missing, it asks for that detail and reads the note again when the answer is supplied. When the information is sufficient, it edits the draft page and checks the page. A failed check returns it to editing. A successful check leads to showing the preview and findings. The diagram is a simplified example, not a record of an actual Grok Bot run.

Sources

  1. Anthropic, Building effective agents, published December 19, 2024; checked September 25, 2026. Supports the agent/workflow distinction and feedback loop. The plant-swap scenario and suggested task instructions are original Botski teaching examples.
  2. Anthropic, Writing effective tools for AI agents, published September 11, 2025; checked September 25, 2026. Supports the role of tool descriptions, returned results, and evaluation.

Cookie preferences