Skip to content

How agents work

The basics

An agent uses AI to choose steps and tools while working toward a goal. Give one a folder of meeting notes, and it might find the relevant files, read them, draft a task list, and save it for review.

How much it can do depends on the software and permissions around it. An agent with file access works differently from one connected to your inbox, browser, or payment account.

Six things to understand

Part What it means In the meeting-notes example
Instructions The requested job and its boundaries List the decisions and tasks; leave unknown owners blank.
Context The material available for the current response Your request, the notes it read, and tool results.
Tools The operations available to the agent Search files, read notes, and create a draft.
Actions The operations it actually takes Read two files and write tasks.md.
Checks Evidence that the result meets the request Compare tasks, owners, and dates with the notes.
Stop points The moments that require your decision Ask before replacing an existing file or sending the list.

Use these questions when something goes wrong. Did the agent have the source? Did it use the correct tool? Was the requested output clear? Did anyone check the saved result? The answers give you a starting point for a fix.

Read these in order

  • The agent loop

    Follow a task from reading the input to checking the output. Read the guide

  • Context & memory

    Understand what an agent sees and how to carry decisions into another session. Read the guide

  • A vault for your agent

    Keep project notes and reusable instructions in files you control. Read the guide

  • Subagents

    Split a larger job into separate tasks without losing track of the evidence. Read the guide

  • Tools & connections

    Check what an app connection can access and change. Read the guide

  • Keeping it safe

    Set permissions, practice on copies, and review consequential actions. Read the guide

The guides are free to read. You can support Jordy on Ko-fi if you would like to help fund the site.

Next: The agent loop