Course contents · Chapter 1
AI LiteracyChapter 1 of 42 min reading + practice

Follow the action loop

An agent workflow combines observations, decisions and actions toward a goal.

An agent workflow combines observations, decisions and actions toward a goal.

Tool results become new observations. Write down what changes outside the conversation, because that is where errors can have consequences.

The bigger picture

A tool-using assistant can request actions beyond generating text. That makes input validation, permissions and observable results part of the system. A model's proposed action is a request to check, not proof that the action is authorised or correct.

  1. Receive goal
  2. Propose action
  3. Validate authority
  4. Execute and verify
A working model for this course. Use it to locate where a decision or failure occurs.

Concepts to keep close

Tool call
A structured request for an application to perform a defined operation.
Least privilege
Granting only the access needed for an authorised task.
Idempotency
Designing an operation so a retry does not unintentionally duplicate its effect.

Reasoning through the problem

List each observation and proposed action.

Match actions to real tool capabilities.

Distinguish a draft from an executed change.

Use the idea carefully

Separate planning from execution. Validate arguments and authorisation at the tool boundary, keep untrusted content from redefining permissions and require appropriate approval for consequential actions. Log outcomes and handle partial failure. Test retries and timeouts, including cases where an action succeeded but its response was lost.

Further reading & course resources

Original documentation and teaching references for further investigation.