Start With a Correction
The language model itself has not suddenly grown hands, opened a browser, queried a database, or executed a shell command. At its core it is still performing inference and generating output. The larger AI system can recognize specially structured model output and use it to invoke external capabilities.
Four Pieces — Do Not Blend Them
Model
Processes context and produces tokens or structured outputs according to its learned parameters.
Tool
An external capability: search, calculator, database, code runner, file system, API, device, or other service.
Orchestrator
Software that presents tools to the model, validates requests, executes permitted calls, and returns results.
Agent Loop
A repeated cycle in which results from actions become new context for deciding what to do next.
A Tool Is Not Magic
A tool can be an ordinary program or service.
What makes it an AI tool is not that the tool itself must be intelligent. It is that the AI system can invoke it as part of a model-directed workflow.
How Does the Model Know a Tool Exists?
The surrounding system can provide a description of available tools and their expected arguments as part of the model's usable context or control structure.
The model can then produce output corresponding to a request to use that tool.
The Model Does Not Directly Execute the Function
The exact representation varies by system. The important architecture is the separation: the model proposes or selects the action; other software performs it.
The Result Comes Back
Now the answer can be grounded in deterministic arithmetic rather than relying only on language-model continuation.
The Tool Result Is New Information
This connects directly to the Context page.
The tool has not rewritten the model's weights. It has supplied information for the current inference sequence.
Search Is a Tool
The model's training knowledge and current search results are therefore different sources of information. HAAW should preserve that distinction.
Database Access Is a Tool
Suppose the model needs the current inventory count.
The number 137 came from the database result. The LLM provided language and workflow behavior around it.
Code Execution Is a Tool
A model can generate code without executing it. A code-execution tool changes the architecture:
This creates a powerful feedback loop: generate → execute → observe → correct.
File Access Is a Tool Boundary
An LLM does not automatically have access to every file on a machine.
Access control belongs to the surrounding system, not to wishful thinking about what the model “knows.”
From Tool Use to an Agent Loop
A single tool call is not necessarily an agent. The word agent is used inconsistently, but a common architecture allows repeated model-directed steps toward a goal.
Agent Does Not Mean Autonomous Creature
An agentic system can be software executing a loop under a user-supplied objective, available tools, permissions, stop rules and other constraints.
A Simple Agent Example
Goal: determine why a web service is unavailable.
This should feel familiar to a sysadmin. The interesting change is that the model can help choose which diagnostic operation to perform next based on results from the previous one.
The Model Is Still Generating Between Actions
Even in an agent loop, the LLM's core mechanism has not vanished.
The agent loop is built around model inference.
Planning Can Be Another Model Operation
A system may ask the model to decompose a larger objective:
The plan is generated model output. It can be useful, incomplete, or wrong. Execution results provide opportunities to revise it.
Plans Are Not Obligations
A robust agent should be able to change course when observations contradict its plan.
Tools Create Consequences
Generating a sentence and executing an action are not equivalent.
Read
Search, inspect, retrieve, calculate.
Write
Create or modify a file, database record or configuration.
Communicate
Send a message, submit a form or call an external service.
Control
Start, stop or alter a process, machine or other system.
The more consequential the tool, the more important permissions, validation, isolation, confirmation and auditing become.
Permissions Belong in the Architecture
A capable model should not automatically imply unlimited authority.
Human Approval Can Be a Synchronization Point
Some workflows deliberately stop before a consequential action.
That is a real dependency in the system's event flow: later action cannot proceed until the required authorization arrives.
Tools Can Fail
Unavailable
The service is down or unreachable.
Bad Arguments
The model requests an operation with malformed or inappropriate parameters.
Permission Denied
The requested operation exceeds authorized access.
Bad Result
The external source itself returns incorrect or stale information.
Misread Result
The tool works, but the model interprets the returned evidence incorrectly.
Loop Failure
The agent repeats, wanders, or fails to recognize that its goal is complete.
Stopping Is Part of Agent Design
An agent loop needs a reason to stop.
Without stopping conditions, “keep trying” can become wasted computation or harmful repeated action.
State Between Steps
Multi-step work requires the system to preserve useful state:
Some state may live in the model's context; some can live in external storage or orchestration software. Again, the LLM is not the whole system.
Parallel Agents and Parallel Tools
Independent tasks can sometimes run concurrently or in parallel.
But Craig's earlier rule returns: if the next step needs all three results, the fast branches may wait for the slow one.
An Agent Can Still Hallucinate
Tools do not eliminate the language model's failure modes.
Grounding, verification and careful orchestration remain important.
Agentic Does Not Mean Unbounded
The surrounding boundaries are part of the agent system just as much as the model is.
WITNESS Just Got Busier
A tool-using agent creates a much richer event field than a single inference.
For forensic reconstruction, the relationship among these events can matter as much as their timestamps.
What Would WITNESS Record?
That record begins to answer a far richer question than “what tokens did the LLM generate?”
The Model Did Not Grow Hands
The LLM remains a model performing inference.
Tools provide external capabilities.
An orchestrator connects model output to permitted tool execution and returns results.
An agent loop repeatedly combines model inference, action, observation and updated state toward a goal.
So when we casually say:
HAAW opens that sentence into a chain of distinct software and hardware events.
HAAW Checkpoint
- Tool
- An external capability that can perform an operation or retrieve information for the AI system.
- Tool call
- A structured request for an external capability to perform a specific operation with specified arguments.
- Orchestrator
- Software coordinating model inference, tool availability, validation, execution, permissions and returned results.
- Agent
- A variably used term; here, a system that can repeatedly select actions, observe results and continue toward a goal.
- Agent loop
- Observe state → choose action → execute → observe result → update state → repeat until a stop condition.
- State
- Information preserved across steps, such as goals, observations, results, plans, artifacts and completed work.
- Permission boundary
- A control determining whether a requested external action is authorized.
- Human-in-the-loop
- A design in which specified actions require human review, input or approval before proceeding.
- Tool result
- Information returned by an external operation and made available for subsequent system processing.
- Stop condition
- A rule or event that ends or pauses an agent loop.
- Central lesson
- The LLM does not need to perform every operation itself. A larger system can convert model-directed structured outputs into controlled external actions and return their results for further inference.