Glossary
AI Agent
ay-EYE AY-jent
An AI system that works toward a goal on its own by planning steps and using tools.
An AI agent is an LLM that doesn’t just answer once. It gets a goal, decides what to do, uses tools, looks at the results and keeps going until the task is done.
How it works
Agents run in a loop:
- Think: decide the next step.
- Act: call a tool, like running code, searching the web or editing a file.
- Observe: read the result and adjust.
Tools are often connected through MCP.
Why it matters
Coding agents like Claude Code can fix bugs, run tests and open pull requests on their own. More power means more risk, so give agents only the permissions they need and review their work.
Related: Prompt Injection.