Week 1 · Lesson 2 of 6

The Agentic AI Operating Model

0% Complete

What Makes an AI System an Agent

A large language model is the reasoning engine inside an agent, but the model by itself is not the entire agent. A model can understand language, generate text, make decisions, and reason about a problem. Its practical usefulness remains limited, however, if it cannot interact with files, tools, software, browsers, code, APIs, memory, or an external environment.

A basic chatbot mainly follows a message-response pattern. The user asks a question and the model returns an answer. An agent works differently. The user gives it a goal. The agent observes its current environment, decides what needs to happen next, uses one or more tools, evaluates the result, and repeats the process until the goal has been completed.

The distinction is architectural. An agent normally combines several elements:

  • A language model that acts as the reasoning engine.
  • A high-level goal that gives the system a direction.
  • Instructions that define operating rules and preferences.
  • Tools that allow the system to read, write, search, calculate, execute, click, or communicate.
  • Memory that allows useful information to persist.
  • A workspace containing files and project context.
  • A reasoning loop that connects observations to decisions and actions.
  • A definition of done that tells the system when to stop.

A useful analogy is to compare the model to an intelligent human who has no surrounding infrastructure. Intelligence alone is valuable, but its reach is restricted without shelter, transportation, communication, tools, stored knowledge, and social coordination. In the same way, an AI model becomes substantially more capable when an operating architecture is built around it.

This is why the most important question is not simply, "Which model is smartest?" It is also, "What architecture allows this model to apply its intelligence effectively?"

The Core Agent Loop: Observe, Think, and Act

The core process behind an AI agent is a repeating loop with three stages: observe, think, and act.

OBSERVE

In the observation stage, the agent reads the context available to it. This may include:

  • The user's current request.
  • Earlier messages in the same conversation.
  • Persistent instruction files.
  • Project files and active documents.
  • Results from previous tool calls.
  • Research gathered from the internet.
  • Code output, command-line output, or error messages.
  • Images, audio, camera information, or video-derived information.
  • Memory files containing preferences or earlier lessons.
  • Tool descriptions explaining what actions are available.

The observation step answers several questions: What is the user trying to achieve? What information is already available? What has already been attempted? What happened after the previous action? What constraints are currently active? What tools can be used?

THINK

In the thinking stage, the agent reasons about the next step. It considers the goal, the current state, the available evidence, and the remaining work. It may create a short plan, select a tool, decide whether more research is needed, identify a missing requirement, or determine that the task is complete.

Agentic coding environments often expose a planning or reasoning view. This visibility is useful because it improves interpretability, accountability, and steerability. A user who can inspect the agent's direction can interrupt a poor plan, supply missing context, pause execution, or redirect the system before it spends more time and tokens on the wrong path.

ACT

In the action stage, the agent executes the next step. Depending on its tools, it may:

  • Search the web.
  • Read or edit a file.
  • Write or run code.
  • Execute a command-line instruction.
  • Call an API.
  • Open a browser.
  • Click a button or fill a form.
  • Generate a report.
  • Ask another model or subagent to perform work.

The result of the action is returned to the observation stage. The agent now has additional context: what it tried, what happened, and what new information became available. It reasons again and selects the next action.

The loop can be represented as:

Observe current state -> Think about the next best step -> Act using a tool -> Observe the result -> Think again -> Act again.

This cycle may repeat only a few times for a simple task or many times for a complex project. The important point is that the agent does not merely produce one response. It continues to build context and take actions.

Why Context Grows During Agent Work

Every loop adds information. The initial context may contain only the user's request and the system instructions. After the first tool call, the context also contains the tool result. After the next action, it contains another result. If the agent encounters an error, the error becomes part of the context. If it researches a topic, the research becomes part of the context. If it edits a file, the change and the surrounding discussion may also become part of the context.

This growth is useful because it allows the agent to learn from the task while it is performing the task. It can remember what failed, compare new evidence with the original goal, and revise its plan.

The same growth also creates a management problem. A larger context consumes more tokens, costs more, and can reduce output quality. Context management is therefore not separate from agent design. It is one of the core operating disciplines and is examined in detail in Lesson 5.

The Definition of Done

An agent needs an explicit reason to stop looping. That reason is the definition of done.

The definition of done is the set of requirements the agent must satisfy before it can conclude that the task is complete. It may include:

  • A required number of items.
  • A required output structure.
  • Technical specifications.
  • Quality checks.
  • Validation tests.
  • Formatting requirements.
  • Constraints that must remain satisfied.
  • Failure conditions that must not be present.

Consider a research request. "Research creatine supplementation in men" gives the agent a topic, but it does not define completion. The system may stop after two sources, ten sources, or a general summary. A stronger request states that the agent should continue until it has compiled at least ten empirical sources and then return a structured evidence report. The agent can now evaluate its progress after every loop: Has it found ten qualifying sources? Has it organized the evidence? Has it produced the required report?

The definition of done changes a vague intention into an executable standard. Without it, the agent must guess when enough work has been performed. With it, the system has a measurable completion route.

Weak prompts commonly fail because they omit this standard. Requests such as "build Netflix 2.0," "make me a million dollars," or "make no mistakes" do not explain the acceptable scope, the constraints, the output, the available resources, the quality threshold, or the conditions that would count as failure. The model may still produce something, but it is being forced to invent critical requirements.

Mastering agents therefore requires a management mindset. The user is responsible for defining the goal and the boundaries of success. The agent is responsible for carrying out the iterative work within those boundaries.

Parallelization as a Core Agent Advantage

A single AI agent may be less accurate or less capable than an experienced human for a particular task. It may also perform worse on a one-shot attempt. Its major advantage is speed and reproducibility. Multiple instances can be launched at the same time, each trying a different path or working on a different target.

This changes the economics of problem solving. One agent can process one website. Ten agents can process ten websites in parallel. One agent can propose one group of ideas. Ten agents can explore ten variations. One agent can implement a solution while another independently reviews it.

Parallelization can compensate for imperfect one-shot accuracy. Instead of assuming that one response must be correct, the system can generate several attempts, compare them, select recurring conclusions, identify outliers, and use a fresh reviewer to catch errors.

The most advanced patterns in this module are variations on this principle. Agents can divide execution work, search a larger solution space, debate one another, operate separate browsers, or inspect one another's outputs.

Agent Environments and Their Common Operating Pattern

The agent environments discussed in this module include Codex, Claude Code, and Google's Anti-gravity environment. Their interfaces differ, but their operating pattern is similar.

A typical environment contains:

  • A conversation area where the user provides goals and feedback.
  • A workspace or folder containing project files.
  • A reasoning or planning area.
  • Tool-call indicators showing what the agent is doing.
  • A way to queue or steer messages while work is in progress.
  • The ability to open or preview the generated output.

A simple website-building example illustrates the pattern. The user opens a project folder and asks the agent to create a minimal portfolio site. The agent inspects the workspace, creates the required files, writes the code, and reports completion. The user can then ask it to open the site. The message can be queued while the build is still running, allowing the agent to consume the next instruction after completing the current step.

The products may use different visual conventions, but the user is still managing the same underlying loop: provide a goal, allow the agent to plan and act, inspect the result, and steer or revise as needed.

The practical lesson is to focus less on small interface differences and more on the transferable skills of defining work, designing instructions, selecting tools, managing context, and validating results.

Model Characteristics and Practical Selection

The three model families are described as broadly similar in overall intelligence, with smaller advantages in specific areas. These differences matter most at the frontier, where a few percentage points in quality can affect the outcome. For ordinary tasks, any one of the major systems may be sufficient.

CLAUDE AND CLAUDE CODE

Claude is presented as having highly interpretable reasoning. The user can inspect what the model is doing, understand its decisions, and steer it during execution. This makes it useful for orchestration and agentic workflows where supervision matters.

Its main advantages in this framework are:

  • Clearer, more interpretable reasoning.
  • Strong suitability for managing other agents.
  • Easier mid-task steering, pausing, and correction.
  • Relatively consistent behavior.

Its trade-offs are:

  • It may operate more slowly unless a faster mode is used.
  • Faster operation can consume substantially more credits.
  • It is treated as weaker than Gemini for front-end design.

The management analogy is that Claude behaves more like a partner working through the process with the user. Its reasoning can be inspected as the work develops.

GEMINI AND ANTI-GRAVITY

Gemini is presented as particularly strong in front-end design and multimodal work. In the website examples, it produced a more visually elaborate front end. It also has endpoints that can understand video, which becomes essential for the video-to-action workflow in Lesson 3.

Its main advantages in this framework are:

  • Strong front-end and interface design.
  • Superior multimodal abilities, especially for video understanding.
  • Fast output options.

Its trade-offs are:

  • Less interpretable reasoning.
  • More variable output quality from one run to another.
  • Less visibility into its internal decision path than Claude.

The execution analogy is that Gemini can behave more like a missile: define the target and let it run. This can be effective, but it offers less interpretability during the journey.

GPT AND CODEX

GPT/Codex is presented as particularly strong in back-end programming, mathematics, and test-driven development. It is well suited to tasks where the definition of done is explicit and the model can work autonomously until tests or technical conditions are satisfied.

Its main advantages in this framework are:

  • Strong back-end programming.
  • Strong mathematical performance.
  • Effective test-driven development.
  • Good autonomous execution against a clear specification.
  • A large surrounding ecosystem of applications and documentation.

Its trade-offs are described as being less interpretable for orchestration than Claude and less specialized for front-end design than Gemini.

The important caution is not to treat these comparisons as absolute. The differences are described as small relative to the overall capability of the models, and each generation can change the ranking. A user does not need a complex multi-model system for every task. It is acceptable to select one environment and become highly effective with it.

A Practical Operating Method for a Single Agent

A reliable single-agent workflow follows this sequence:

Step 1: State the high-level outcome. Explain what should exist when the task is complete.

Step 2: Provide the relevant context. Identify the workspace, files, examples, tools, preferences, and existing material the agent should use.

Step 3: Define done. Specify measurable requirements, output format, tests, constraints, and failure conditions.

Step 4: Allow the agent to plan. Review the plan or reasoning view when the task is important or complex.

Step 5: Let the agent act. The agent may read, write, search, execute, or operate tools.

Step 6: Inspect the result rather than assuming completion. Check the output against the original definition of done.

Step 7: Correct both the output and the operating system. Fix the immediate result, and store durable lessons so the same error is less likely to recur.

This final step leads directly to Lesson 2. An agent becomes substantially more useful when corrections, preferences, and validated workflows persist beyond the current conversation.

Lesson 1 Summary

An AI agent is a system, not merely a model. The language model provides reasoning, but tools, memory, files, instructions, planning, and completion criteria make that reasoning operational.

The agent repeatedly observes its context, thinks about the next step, acts through a tool, and observes the result. The loop continues until the definition of done has been satisfied.

The main advantages of agentic systems are autonomy, tool use, accumulated context, and parallelization. Different platforms expose these capabilities through different interfaces, but the underlying operating model is transferable.

The user who masters Agentic AI does not merely write clever prompts. The user defines goals, manages context, creates completion standards, supervises plans, and designs an architecture in which the model can act effectively.

Back to top