Agent Complete · AGENTING 01 · What Is an AI Agent?
Agent Complete · Foundations and Practice
AGENTING 01 · What Is an AI Agent?
By 401, you’ll be able to decide whether a task needs an AI agent and identify the specific decision you would delegate to it.
Start at 101 to learn the idea, or jump to the level that fits your task.
101 · Understand
The point
An AI agent is a system that works toward a goal by choosing an action, checking the result, and using that result to decide what to do next. Its instructions and permissions set the boundaries for what it can do.
Goal → Choose and take an action → Check the result → Decide what to do next
Why it matters
You can delegate a goal even when you don’t know every step the task will require. The agent can use what it finds to decide whether to continue, ask a question, or finish.
See it in action with Google Calendar FreeBusy
Imagine a scheduling agent connected to the Google Calendar API. You ask it to find 30 minutes next week when three faculty members are free. Google Calendar supplies the busy time ranges. The agent compares them and finds that the longest shared opening is 20 minutes. It asks, “Would you prefer 20 minutes next week, or should I look for 30 minutes the following week?”
Your output. In one sentence, explain how the calendar result influenced the agent’s next step.
201 · Recognise
The point
Look for the decision the agent makes after it gets a result.
Why it matters
A tool call shows what information the system can access. The next action shows how the system used that information.
See it in action with Google Calendar FreeBusy
Both sample runs start with the same request. The agent calculates shared openings from the busy time ranges that Google Calendar returns.
| Shared availability | Agent’s next action |
|---|---|
| All three are free Tuesday from 11:00 to 11:30. | Proposes Tuesday at 11:00. |
| The longest shared opening is Thursday from 14:00 to 14:20. | Asks whether to shorten the meeting or look at the following week. |
Your output. Identify the decision made in each run. In the second run, which two constraints could the organiser choose to change?
301 · Practise
The point
Test the agent with different results from the same action and check what it chooses to do next.
Why it matters
A run that finds a suitable time shows what happens when the request can be met. A run that finds only 20 minutes shows whether the system respects the original request when a constraint gets in the way.
Practise with simulated Google Calendar results
Walk through the two cases on paper or enter them into a prototype. The inputs represent shared openings already calculated from simulated Google Calendar FreeBusy data.
Find a 30-minute slot next week when all three faculty members are free. Propose a time if one fits. Ask before changing the duration or date range.
| Test input | Expected next action |
|---|---|
| Tuesday 11:00–11:45 is the only shared opening. | Propose a 30-minute slot within that opening. |
| Thursday 14:00–14:20 is the longest shared opening. | Explain that no 30-minute slot fits and ask which constraint may change. |
Your output. Record the next action for each case and compare it with the expected action. If you ran a prototype, mark each case pass or fail and note any difference.
401 · Apply
The point
Identify the decision the system would need to make before deciding whether your task needs an agent.
Why it matters
Some tasks can be handled by a rule you can state in advance. Other tasks involve trade-offs whose importance changes with the situation. Knowing which decision you need helps you choose the right setup.
Apply it to faculty scheduling with Google Calendar
Suppose your department always wants the earliest shared 30-minute opening next week, with a message if none exists. A fixed workflow can apply that rule to Google Calendar availability.
Now suppose the department wants different options depending on the meeting’s purpose and urgency. For an urgent check-in, a shorter slot this week might work. For a workshop planning session, preserving the full 30 minutes might matter more. An agent could use the brief and the calendar results to decide which option to propose. The organiser decides which option to accept.
Your output. Write a short recommendation for a task you handle. State the goal, what the system should do when the first result falls short, and which decision belongs to a person. Recommend a fixed workflow or an agent and give one reason. Use the note in a project or internship review.
References
-
OpenAI · A Practical Guide to Building AI Agents.
Read about what agents are and when to use them for levels 101 and 401.
https://openai.com/business/guides-and-resources/a-practical-guide-to-building-ai-agents/ -
Google Calendar API · FreeBusy query.
See the busy time ranges used to calculate common availability for
the scheduling examples.
https://developers.google.com/workspace/calendar/api/v3/reference/freebusy/query -
LangGraph · Thinking in LangGraph.
Use this when extending the 301 exercise into a prototype that
routes work based on the result of a step.
https://docs.langchain.com/oss/javascript/langgraph/thinking-in-langgraph

📌 Try the 401 challenge
ReplyDeleteYou need a 30-minute meeting, but all three faculty members are free together for only 20 minutes. What should the system do next? Which decision should stay with the organiser?
Now pick one task from your own work. **Would you use a fixed workflow or an AI agent, and why?** Share your answer in the comments using this format:
Task:
>
My choice: Fixed workflow or AI agent
Why:
Decision I’d keep with a person:
If you’re new to agents, start at 101. If you already have a task in mind, jump to 401