Agents
In a chat, the model answers and waits for the next message. An agent gets a task and works through it by itself: it reads files, runs a command, looks at the result, fixes an error and continues until it is done. How such work functions, what an agent can handle and how to assign it a task.
An agent can only do what it has tools for. MCP (Model Context Protocol) is an open standard through which you provide them: access to a database, to an issue tracker, to documentation or to your own API. One server then works in all applications that support MCP. The information is as of October 2026.
Claude Code is a coding agent from Anthropic – it works in the terminal, in editors (VS Code, JetBrains), in the desktop app and on the web. The default settings are fine for first attempts, but for everyday work it pays to adapt it to the project. Four things that make the biggest difference. The description is as of October 2026.
An agent that reads files, runs commands and downloads content from the web is useful – and it can be just as useful to an attacker who manages to steer it. The main risks and a defense that works even when the model makes a mistake.