Tools and protocols: how agents act
Agents act in the world through four main mechanisms: function (tool) calling, MCP to plug into tools and data, A2A for agents to talk to other agents, and computer use / browser agents that operate screens like a person.
Everyday analogy
An assistant can phone a department directly (function calling), use the office's standard intranet for every system (MCP), message a colleague's assistant (A2A), or sit at a computer and click through a website themselves (computer use).
Example
A travel agent calls a flight-search function, reads your calendar through MCP, asks a partner's hotel agent for availability through A2A, and fills in a visa form on a website by operating the browser.
Function / tool calling
The model returns a structured request (name + inputs) and your code runs it.
The basic building block of every agent.
MCP & A2A
Standards: MCP connects agents to tools and data; A2A connects agents to other agents.
Build once, reuse across many apps.
Computer use & browser agents
The agent sees the screen and clicks and types like a person.
For websites and apps without an API. Slower and riskier, so keep a human in the loop.
Try it yourself
About 10 minList an agent's tools
- Pick an agent idea from earlier.
- List every tool it needs, and how it would connect: function call, MCP, API or computer use.
- Mark which tools only read and which can change things.
What you should see: Read-only tools are safe; tools that act need limits and approvals.
Use any free AI chatbot (ChatGPT, Claude, Gemini or Copilot). Never paste private or confidential information.