AI Agents
AI EngineerAI AgentsPrompt EngineeringAn AI agent is a program that uses a large language model as its decision-making engine, then goes beyond generating text: it takes actions. Instead of answering a single prompt and stopping, an agent receives a goal, decides what to do, calls tools (APIs, databases, browsers, code interpreters), looks at the results, and keeps going until the goal is met or it decides to stop. The LLM supplies the judgment; your code supplies the hands.
This shift matters because most real software problems are not one-shot question answering. Booking travel, triaging support tickets, refactoring a codebase, or reconciling invoices all require multiple steps, external state, and error recovery. Plain prompting can’t touch your systems; an agent can. In 2026, tool use (also called function calling) is a first-class feature of every major model API, so building agents is now a core skill for working developers, not a research niche.
In practice, you will build an agent as a loop: send the model a system prompt describing its role and a list of tool schemas, let it respond with either a final answer or a tool call, execute that call in your code, append the result to the conversation, and repeat. You’ll define tools as plain functions with JSON schemas, cap iterations to prevent runaways, and log every step. The rest of this module breaks down each stage of that loop and the architectures built on top of it.
Resources
0/10 completed- AI Agents and Their TypesArticle
- AI Agents and Their TypesArticle
- What are AI Agents?Video
- Tool use overview - AnthropicOfficial docs