AI Fundamentals — How Modern AI Works›AI that takes action · Cheat sheet & self-check
Learning Hub / AI Fundamentals & AI-Assisted Engineering / AI Fundamentals — How Modern AI Works

AI that takes action · wrap-up

Cheat sheet & self-check

Every command from this section on one page.

08 · Tools and function calling

Terms

Tool / functionSomething the application can do on the model's request: search, query, calculate, create a ticket
Tool definitionName, description and input fields the model is shown
Tool callThe model's structured request: which tool, with which inputs
Tool resultWhat the application sends back after running the tool
Structured outputAsking the model to reply in an exact format such as JSON

Permission levels

Read-onlySearch, look up, list: usually safe to run automatically
Reversible writeCreate a draft, add a label: run with logging
Irreversible or externalSend, pay, delete, deploy: ask a human first

09 · Agents

Terms

AgentA model in a loop that chooses and uses tools until a goal is done
Agent loopThink → act (tool call) → observe (result) → repeat
PlanningBreaking a goal into steps, and revising the plan as results arrive
Short-term memoryThe working context of the current task
Long-term memoryNotes saved outside the model and loaded into later tasks
Multi-agentAn orchestrator hands parts of the work to specialised sub-agents
Human in the loopA person approves risky steps or reviews the result

Questions to ask about any agent

GoalWhat exactly is 'done', and how is it checked?
ToolsWhich tools, with which permissions?
LimitsMaximum steps, time and cost
ApprovalsWhich actions need a person?
AuditIs every step logged?

10 · MCP: connecting AI to systems

Parts

HostThe AI application the person uses: a chat app, an IDE, a coding agent
MCP clientThe part of the host that talks to one MCP server
MCP serverA small program that exposes a system (tickets, database, cluster) through MCP
ToolsActions the server offers, e.g. search_tickets, create_issue
ResourcesData the server offers for reading, e.g. a file or a record
PromptsReady-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