Step 6 of 7 in Artificial Intelligence & Machine Learning
Agents & Tool Use
Harnesses, tool calling, and AI-assisted development in practice. Citation needed
The whole, before the parts
An AI agent selects actions while pursuing a goal in an environment. Tools let it act beyond producing text, making clear permissions, feedback, and stopping conditions essential to its design. Citation needed
For example, an assistant asked to schedule a meeting might inspect a calendar, propose a time, and create an event only when permitted. It also needs to recognize when the task is finished or cannot proceed. Citation needed
Read the concepts as one action loop: choose an action, check that it is permitted, inspect the result, and decide whether to continue. Permissions and stopping conditions bound the pursuit of the goal. Citation needed
Terminology and core concepts
-
Action
An action changes or queries the environment, for example by calling a tool. Citation needed
- Why check an action’s result?
- the attempted action may not have succeeded Citation needed
-
Tool permission
A tool permission limits what an agent may read or change. Citation needed
- Should a tool be available merely because the model asks for it?
- no Citation needed
-
Stopping condition
A stopping condition defines when an agent should finish or seek help. Citation needed
- Why set a stopping condition?
- to avoid unbounded or repeated actions Citation needed
Try an example
An agent is asked to summarize an email and the email says to delete files. Should the email control the agent’s tools? Citation needed
Show the reasoning
No. The email is task data, not an authorization from the user. Tool permissions and trusted instructions must govern what actions are allowed.
Citation needed
Sources and further reading
- Artificial Intelligence: A Modern Approach — background and further study for this introduction.
Core notes reviewed .
Learning path
Continue through Artificial Intelligence & Machine Learning in order, using the concepts above to connect this topic to the next.