InfraLoka AcademyPathwayAI
PathwayAI

Level 4

AI Agents

A working book on AI agents in 12 chapters and 9 projects: from model, tools and loop to narrow permissions, ledgers that survive, reviewers that push back, prompt-injection defence, cost metering, monitoring and release with human approval.

Who it is for
Builders, analysts and team leads who have finished AI Foundations and want to design, run or oversee agents that use tools. Technical chapters use short code examples; every chapter can still be read without writing code.

36 lessons, about 190 minutes

Start this level

Phase 1: Agent basics

Module 1

Chapter 1: What an agent is

An agent as a model, tools and a loop pursuing one goal; how it differs from a chatbot and a fixed workflow; and how to choose its level of autonomy.

  1. An agent: model, tools and a loop5–6 minFree
  2. When to use an agent, and how freely4–5 minFree

Checkpoint: 6 scenarios

Module 2

Chapter 2: Setting up the workspace

A sandbox where an agent may be wrong, environment variables set explicitly, a checkable instruction file and first permission rules.

  1. A workspace where an agent may be wrong4–5 minFree
  2. Project instructions and first permissions4–5 minFree

Checkpoint: 6 scenarios

Module 3

Chapter 3: The first agent

A first agent that only reads, with turn, budget and output limits from the start, then how to read its trace to tell claims from evidence.

  1. A first agent that only reads4–5 minFree
  2. Reading an agent's trace4–5 minFree

Checkpoint: 6 scenarios

Module 4

Project: a folder summariser agent

Build a read-only agent that summarises one test folder with file citations, then check every citation.

  1. Project: a folder summariser agent with citations5–5 minSign in to open

Checkpoint: 5 scenarios

Module 5

Project: a team instruction file

Build an instruction file, permission rules and a list of steps an agent never runs alone, then test them with five tasks.

  1. Project: a team instruction file and permission rules4–5 minSign in to open

Checkpoint: 5 scenarios

Module 6

Project: an agent task test set

Build a ten-task test set with expected outcomes, then run it before every change to the prompt, tools or model.

  1. Project: a ten-task test set for your agent5–5 minSign in to open

Checkpoint: 5 scenarios

Phase 2: Building agents that work

Module 7

Chapter 4: Tools and MCP

Designing tools an agent uses correctly, results and errors a model can understand, write tools that are safe to repeat, and how to assess third-party MCP servers.

  1. Designing tools an agent uses correctly4–5 minSign in to open
  2. Tool results, errors and repeated calls4–5 minSign in to open
  3. MCP from the inside, and how to choose a server5–5 minSign in to open

Checkpoint: 6 scenarios

Module 8

Chapter 5: Memory and ledgers

Tell one session's context from memory outside it, keep memory notes dated and marked when stale, and use a progress ledger so agent programmes survive broken sessions.

  1. Context is not memory5–5 minSign in to open
  2. A ledger that survives5–6 minSign in to open

Checkpoint: 5 scenarios

Module 9

Chapter 6: Skills

Package repeated work procedures as skills loaded when needed, write descriptions that trigger at the right moment, and test skills with a task set before sharing.

  1. Skills as procedures4–5 minSign in to open
  2. Writing a tested skill4–5 minSign in to open

Checkpoint: 5 scenarios

Module 10

Chapter 7: Agent loops

Set checkable stop conditions, a fixed stop list when the agent gets autonomy, and fix loops driven by tests that prove the change.

  1. Stop conditions4–5 minSign in to open
  2. Fix loops driven by tests4–5 minSign in to open

Checkpoint: 6 scenarios

Module 11

Chapter 8: Many agents and reviewers

Splitting a programme across subagents with their own lanes and checkouts, evidence-based hand-backs, and a separate reviewer tasked with pushing back.

  1. Splitting work across subagents5–5 minSign in to open
  2. Reviewers that push back5–5 minSign in to open

Checkpoint: 6 scenarios

Module 12

Project: a read-only MCP server

Build a small MCP server with two read tools for one notes folder, then test it directly, through an agent, and with a note hiding instructions.

  1. Project: a read-only MCP server4–5 minSign in to open

Checkpoint: 5 scenarios

Module 13

Project: a programme with a ledger

Run five agent tasks with a ledger, stop the session on purpose midway, then prove a new session can resume from the ledger and version history alone.

  1. Project: a programme with a ledger4–5 minSign in to open

Checkpoint: 5 scenarios

Module 14

Project: writer and reviewer

Run one real task with a separate writer agent and reviewer agent, then close every finding with evidence.

  1. Project: writer and reviewer4–5 minSign in to open

Checkpoint: 5 scenarios

Phase 3: Agents in production

Module 15

Chapter 9: Permission gates and secrets

Permissions as narrow as the task, a limited environment, secrets the agent never sees, and a case study of a planned command agent design.

  1. Permissions as narrow as the task5–6 minSign in to open
  2. Secrets out of the agent's reach5–6 minSign in to open
  3. Case study: the planned command agent5–6 minSign in to open

Checkpoint: 6 scenarios

Module 16

Chapter 10: Prompt-injection defence

Indirect injection paths, the three danger conditions, data fences, and layered defences that mostly sit outside the model.

  1. Injection that arrives through data5–5 minSign in to open
  2. Layered fences5–6 minSign in to open

Checkpoint: 5 scenarios

Module 17

Chapter 11: Cost and monitoring

Count one agent task's cost, record every AI call against its trigger through one meter door, and monitor steps and processes that can die silently.

  1. The cost of one agent task5–6 minSign in to open
  2. Per-user credit metering5–6 minSign in to open
  3. Step traces and silent failures5–5 minSign in to open

Checkpoint: 6 scenarios

Module 18

Chapter 12: Releasing an agent

Ship agent features with the flag off, widen in steps, prepare the way back, and let merge, push and release wait for the owner behind a written gate.

  1. A staged release with a flag5–6 minSign in to open
  2. A human gate before release5–5 minSign in to open

Checkpoint: 5 scenarios

Module 19

Project: an agent with gates

Build an agent for one work tool with three registered actions, previews, typed confirmation and a step log.

  1. Project: an agent with gates4–5 minSign in to open

Checkpoint: 5 scenarios

Module 20

Project: injection attack test

Attack your own agent with eight planted injections, judge from execution traces, patch with defence layers, then test again.

  1. Project: attack your own agent5–6 minSign in to open

Checkpoint: 5 scenarios

Module 21

Project: a metered release

Prepare one agent feature for other people: a feature flag, a dry-run meter, a heartbeat, a rollback plan and a release gate the owner approves.

  1. Project: a metered release4–5 minSign in to open

Checkpoint: 5 scenarios

Final assessment

10 scenarios from every module; pass with 8 right. It opens once you have finished every module.

Opens after every module