FOUNDATIONS · 4 MIN READ
What actually makes an AI agent an agent?
Start with the loop: observe, decide, act, and check what happened.
A model inside a loop
An agent receives a goal, observes the available information, chooses an action, and uses the result to decide what to do next. A language model can help choose the action. Your application supplies the tools, permissions, state, and stopping rules.
Imagine a support assistant asked to check an order. It may identify the order number, call a lookup tool, inspect the returned status, and then answer. The action produces new evidence that changes the next step.
Start with a clear boundary
Define what the agent can read, what it can change, and when a person must review the result. A tool description tells the model how a capability works. Server-side code decides whether a requested operation is allowed.
Pick a task you can measure
Choose one task with observable success: returning the correct order status, identifying a missing field, or producing a grounded summary. Collect representative examples and check the result against the source data.
A useful first system has a small tool inventory, a turn limit, explicit error handling, and a result that someone can inspect.