An AI agent is a system that uses a language model to plan and take actions toward a goal, calling tools, reading results and deciding the next step in a loop, rather than just answering a single question.
The difference between a chatbot and an agent is autonomy over multiple steps. Given a goal like "find the bug and fix it", an agent breaks it into steps, uses tools (a shell, a browser, an MCP server) to gather information and make changes, checks the outcome, and repeats until the goal is met or it gets stuck. The model is the reasoning engine; the agent is the loop around it.
Agents range from focused coding assistants that edit your repo and open pull requests, to research agents that crawl dozens of sources and write cited reports, to general workspaces that can run shell commands and browse the web unattended.
The strongest agents pair a capable model with good tools and tight feedback: small, reviewable steps beat one giant leap. Many of the agents here are open source and install in a couple of commands.
The agent is the decision-maker running the loop; MCP servers are the tools it calls. An agent becomes far more capable when you connect the right servers.
Give them scoped permissions and review their changes. Coding agents that work in git let you inspect every diff before it lands.