AI that takes action · wrap-up
Cheat sheet & self-check
Every command from this section on one page.
Terms
Tool / function | Something the application can do on the model's request: search, query, calculate, create a ticket |
Tool definition | Name, description and input fields the model is shown |
Tool call | The model's structured request: which tool, with which inputs |
Tool result | What the application sends back after running the tool |
Structured output | Asking the model to reply in an exact format such as JSON |
Permission levels
Read-only | Search, look up, list: usually safe to run automatically |
Reversible write | Create a draft, add a label: run with logging |
Irreversible or external | Send, pay, delete, deploy: ask a human first |
Terms
Agent | A model in a loop that chooses and uses tools until a goal is done |
Agent loop | Think → act (tool call) → observe (result) → repeat |
Planning | Breaking a goal into steps, and revising the plan as results arrive |
Short-term memory | The working context of the current task |
Long-term memory | Notes saved outside the model and loaded into later tasks |
Multi-agent | An orchestrator hands parts of the work to specialised sub-agents |
Human in the loop | A person approves risky steps or reviews the result |
Questions to ask about any agent
Goal | What exactly is 'done', and how is it checked? |
Tools | Which tools, with which permissions? |
Limits | Maximum steps, time and cost |
Approvals | Which actions need a person? |
Audit | Is every step logged? |
Parts
Host | The AI application the person uses: a chat app, an IDE, a coding agent |
MCP client | The part of the host that talks to one MCP server |
MCP server | A small program that exposes a system (tickets, database, cluster) through MCP |
Tools | Actions the server offers, e.g. search_tickets, create_issue |
Resources | Data the server offers for reading, e.g. a file or a record |
Prompts | Ready-made prompt templates the server offers |
Before connecting a server
Who wrote it? | Install only from sources you trust, pinned to a version |
What can it do? | List its tools; prefer read-only |
Whose credentials? | Scoped, least-privilege, ideally per user |
What needs approval? | Writes and anything outward-facing |