Glossary · AI/ML
AI Agent
Also known as: agent, agentic ai, llm agent
A system where an LLM decides which steps to take, calls tools, looks at the results, and loops until the task is done.
The core loop
- Think: the LLM reads the goal and the history so far.
- Act: it chooses a tool and arguments (search, SQL, an API, an MCP server).
- Observe: the app runs the tool and feeds the result back.
- Repeat until the model returns a final answer or a step limit is hit.
Making agents reliable
- Give tools narrow, well-described inputs and validate every call.
- Cap steps, time, and cost.
- Log each step so you can replay and debug failures.
- Prefer a fixed workflow when the steps are known; use an agent only when they are not.