Artificial Intelligence Beyond the chat window: Agentic AI, harnesses, ...

Beyond the chat window: Agentic AI, harnesses, and the tools that make things happen

Beyond the chat window: Agentic AI, harnesses, and the tools that make things happen

Ask a chatbot how to investigate a mismatch in a sales report, and it may give you a beautifully organized checklist.

Now ask it to open the report, consult the invoice ledger, check the arithmetic, identify the mismatch, and prepare an explanation. Also tell it not to change the source records or send anything.

The second request sounds only a little more ambitious. Architecturally, it is a different assignment. Somebody has to retrieve the right records, execute calculations, enforce those restrictions, handle a failed lookup, and decide whether the evidence is sufficient. A paragraph explaining those steps is not the same thing as carrying them out.

That gap is where models, harnesses, tools, and agentic behavior meet.

In the previous entry, I followed the road toward Transformers. Here, I want to follow what happens around a language model once we ask it to help with work rather than simply discuss it. The model remains important. But mistaking it for the complete system is rather like judging an airline by its engines while forgetting the aircraft, the crew, and air traffic control.

Reading hint: one example, several layers. Throughout this post, our illustrative assignment is to reconcile a sales report with an invoice ledger and prepare a note. The examples and diagrams are conceptual, not specifications for a particular product. The papers, textbook, engineering accounts, and protocol documentation cited below serve different purposes, rather than forming a single universal definition of “agentic AI.”

The model is important, but it is not the whole system

A large language model (LLM) is a trained model that processes a supplied context and generates output token by token. Tokens are the units its representation uses, often words or pieces of words. Training produces parameters, usually called weights, that support capabilities such as language understanding, generation, and, depending on the model, reasoning and tool selection. Producing output using those learned parameters is called inference.

Although the model generates its output one token at a time, it can do much more than finish a sentence. It can explain a problem, suggest a solution, or request information from a database. But asking for an action is not the same as carrying it out. Other software must connect to the database or messaging service and perform the requested operation. If the model says “I sent the message,” that sentence alone does not prove a message was actually sent.

The distinction extends beyond an individual application. Artificial intelligence is a field, not a synonym for LLMs. Search, planning, knowledge representation, computer vision, speech processing, and reinforcement learning all belong to its broader landscape. Some systems combine several of these approaches. Others solve useful problems without a language model at all (Russell & Norvig, 2021).

A language model receives context and produces text or a tool request. Separate bands show that the broader AI ecosystem also includes other AI methods and the data, computing infrastructure, applications, and controls needed to deploy systems.
Figure 1. The model is a powerful component, not the entire deployed system or the whole field of AI. Original conceptual diagram. The examples of other AI methods overlap and are not a strict taxonomy.

model versus application. The model supplies learned capabilities. The application decides what context to supply, which capabilities to expose, and what to do with the output. A product presented as a single chat window may contain multiple models, retrieval systems, ordinary software, and human review.

When an answer becomes a course of action

The idea of an agent predates contemporary language models. Russell and Norvig organize their textbook around systems that perceive an environment and act on it. Chapter 2, Intelligent Agents, is a useful antidote to the impression that agents were invented when chatbots acquired tool buttons (Russell & Norvig, 2021).

What is distinctive about much of today’s LLM-based agentic AI is that a language model helps choose what to do next, using observations from previous steps to pursue a goal. In our example, it might inspect the report first, discover that one currency is inconsistent, request the relevant invoices, and only then decide which calculation to run. The useful sequence emerges partly from what it finds.

Compare that with a fixed workflow that always downloads the same two files, runs a predetermined comparison, and fills in a template. Both can use LLMs and tools. Both can be valuable. The distinction is where the next-step decisions live. Anthropic’s Building Effective Agents offers a practical vocabulary: workflows follow predefined code paths, while agents let the model dynamically direct parts of the process and tool usage (Anthropic, 2024).

Real applications often mix the two. A fixed workflow can contain an agentic investigation step, and an agent can call a deterministic calculation. This is not a ladder on which more autonomy is always better. If the task is predictable, the fixed workflow may be cheaper, faster, and easier to verify.

agentic does not mean conscious or unrestricted. Here, “agentic” describes goal-directed, model-guided action with feedback. It does not imply awareness, a particular training method, continuous online learning, multiple cooperating agents, or permission to do anything the model proposes. Terminology varies across research and products.

The harness keeps the work moving

Imagine giving a very capable analyst a task, but no access to the relevant files, no record of earlier work, and no explanation of what requires approval. Then imagine blaming the analyst alone when the assignment goes badly.

An agent harness is the surrounding software that makes a model usable in a continuing task. The term is not a universally standardized architecture. I use it here for the runtime and coordination layer that assembles context, calls the model, processes its responses, dispatches permitted tools, preserves state, and controls when execution continues, pauses, or stops.

For our reconciliation task, the harness might supply the user’s instructions and available tool descriptions, record which invoices were retrieved, refuse attempts to modify source records, and return a lookup error to the model. It can also enforce time and spending budgets, limit retries, and maintain an audit trail. Those controls must be implemented, not merely promised in a prompt.

A software harness coordinates a language model with context and saved state, a run controller, and tool adapters. The controller handles permissions, budgets, and stopping. Tool adapters connect the application to external files, databases, and APIs. The model may be hosted separately.
Figure 2. The harness coordinates the pieces that make action possible. Original logical architecture, not a deployment diagram. The model may run remotely, and stored state may live in a separate service. Security still depends on correctly implemented controls and backend authorization.

There is research behind the importance of this surrounding machinery. SWE-agent studies how the agent-computer interface affects a language-model agent’s ability to navigate code, edit files, and execute tests. Its results support a point that is easy to miss in model comparisons: the interface given to the model is part of the system’s capability (Yang et al., 2024).

Anthropic’s engineering account Effective Harnesses for Long-Running Agents examines another problem: carrying useful work across multiple context windows. It describes structured task records, incremental progress, environment setup, and verification rather than relying on one enormous instruction to finish everything. That is a concrete implementation experience, not proof that the same design is optimal for every domain (Anthropic, 2025).

harness, framework, and inference engine. A framework or SDK is a toolkit developers can use to build an application and its harness. The harness is the running coordination arrangement built with or without that toolkit. An inference engine serves or executes the model. Product boundaries can overlap, but these responsibilities are not identical.

A tool call is a request, not a superpower

A tool exposes an operation the system can invoke. It might read a document, query an authorized database, calculate a total, run a test, or create a draft. Some tools are ordinary deterministic functions. Others call another model or an external service. Calling something a tool says how the agent accesses it, not whether its results are automatically correct.

The model normally receives a description of the operation and its expected inputs. With structured function calling, those inputs are often described by a schema. A schema is a contract for the shape of the data, such as requiring an invoice identifier to be a string. It cannot establish that the identifier belongs to the correct customer or that the caller is authorized.

For example, the model could produce this illustrative request:

{
  "tool": "lookup_invoices",
  "arguments": {
    "report_id": "weekly-042",
    "currency": "USD"
  }
}

This is a teaching format, not a particular vendor’s API. The important event comes next. Application code validates the request, checks authorization and any required approval, and invokes the underlying operation. The result, including an explicit error or denial when appropriate, is then supplied as context for the next model step. Hosted tools may hide some of that plumbing from the application developer, but an execution layer still exists.

A model proposes a tool name and arguments to the harness. The harness validates the request and checks authorization before calling a tool or service. The service returns a result or error to the harness, which passes an observation back to the model. There is no direct execution arrow from the model to the service.
Figure 3. A request to perform an action is not the action itself. Original conceptual sequence, consistent with the separation between tool descriptions, invocation, and results in the MCP specification. A rejected request must not be reported as a successful operation (Model Context Protocol, 2025).

Where does Model Context Protocol (MCP) fit? It standardizes parts of the connection between AI applications and servers exposing tools, resources, and prompts. Its architecture distinguishes the application host, the clients it manages, and servers providing capabilities. It can reduce the need to invent a different connector for every integration. It is not the model, the agent’s decision policy, or a substitute for authorization (Model Context Protocol, 2025; Model Context Protocol, 2025).

a shared connector is not shared trust. Tool calling can work without MCP. An MCP server does not have to be an agent. And connecting a server does not mean it should receive every conversation, every credential, or permission to execute every operation it advertises.

Watch the loop, not just the answer

Return to the mismatched sales report. The model first proposes reading it. The harness checks that this is permitted and returns its contents. The report identifies a set of invoices, so the model requests those records. A lookup reveals an invoice denominated in a different currency. Rather than guessing an exchange rate, the system must obtain an approved rate source, ask for clarification, or report that the reconciliation cannot yet be completed.

If sufficient evidence is available, a calculation tool can recompute the comparison. The model uses the result to draft an explanation, while the harness preserves the restriction against changing records or sending the note. Successful completion means a checked reconciliation and a draft, not simply a fluent claim that everything is fixed.

This alternating pattern of choosing actions and consuming observations is central to ReAct, the research approach introduced by Yao and colleagues. The paper interleaves reasoning traces with actions that obtain information from external sources or interact with an environment (Yao et al., 2023). It is an influential example, not the only architecture capable of agentic behavior.

A goal and constraints feed model selection of the next step. A proposed action passes through harness checks and tool execution. An observation returns to context, where the result is checked before the model chooses again. The model can also propose an answer, ask for help, or stop. The harness can halt execution at any point.
Figure 4. Agency emerges from the relationship between a goal, model-guided choices, execution, and feedback. Original conceptual loop inspired by the agent patterns discussed in ReAct and *Building Effective Agents*. Observations can be wrong or incomplete, so receiving a result is not the same as verifying it (Yao et al., 2023; Anthropic, 2024).

The loop need not generate a long visible plan, expose private internal reasoning, or recruit a team of agents. Concise action records and observable outcomes are more useful for accountability than treating an articulate explanation as a faithful transcript of the model’s internal computation.

“done” is a testable claim. A tool response saying a file was created does not prove that the file contains a correct reconciliation. The evidence needed for completion depends on the task. Checks might include totals, source identifiers, dates, currency units, or human approval. A run can also end because it hit a limit or a blocker, which is not the same as success.

Memory is not the model remembering its day

Long-running work creates an awkward problem. The system needs previous observations, but a model call can only process a bounded amount of context. That context window is working input, not an unlimited archive.

It helps to separate three things. Model weights contain what was learned during training. Working context contains the instructions and selected information supplied for the current inference. Persistent state is information the application saves outside the model, such as retrieved records, progress notes, or a database of past interactions. The harness decides what to bring back into context.

Reading a saved note does not ordinarily update the model’s weights. Nor does summarizing a long session preserve every detail. Compaction can discard a crucial qualification, so the original records and explicit task state may still be needed. That is one reason the long-running harness account emphasizes durable artifacts and verification, not only summarization (Anthropic, 2025).

Retrieval-augmented generation (RAG) supplies another useful piece. It combines generation with retrieved information rather than relying solely on knowledge encoded in model parameters. Lewis and colleagues’ foundational work joins a generator with an external retrieval mechanism for knowledge-intensive tasks (Lewis et al., 2020). In an application, retrieval can bring relevant invoices or policy passages into the current context without retraining the model.

But retrieval is not automatically agency. A fixed retrieve-then-answer pipeline can use RAG without letting the model direct an open-ended task. An agent may instead decide what to retrieve, inspect the result, and search again. And neither design guarantees that the retrieved material is current, complete, or relevant.

access, retention, and learning are different. Seeing information during a request, storing it for later use, and using it to train a model are separate operations. The architecture and the provider’s data policies determine which occur. “The agent remembers” is not a sufficiently precise explanation.

Autonomy needs boundaries, not just better prompts

Connecting a model to tools turns some wrong answers into potential wrong actions. A mistaken summary is one problem. An unauthorized edit to financial records is another.

For our example, the safest useful starting point is read-only access to the required records, an approved calculation environment, and a place to prepare the draft. There is no need to grant permission to modify invoices or send messages. This is least privilege: give the system only the access its authorized task requires. Where consequential actions are permitted, approvals should be tied to the actual operation and enforced outside the model.

The incoming evidence also needs scrutiny. An invoice, web page, or tool response can contain misleading text or instructions aimed at redirecting the agent. This is the problem of prompt injection. Retrieved material should be treated as data from a particular source, not automatically promoted into instructions with the user’s authority. Clear separation, restricted tools, backend authorization, and human review reduce exposure, but no single instruction makes the problem disappear (Model Context Protocol, 2025; Autio et al., 2024).

Ordinary distributed-systems failures matter too. A timeout does not always mean an operation failed before taking effect. Blindly retrying a message-send or payment operation can duplicate it. Where writes are allowed, the harness and backend need appropriate status checks and protections such as idempotency, which makes repeated submissions of the same operation avoid repeated effects.

Budgets, bounded retries, logs, and stopping rules belong in the same design. A system that cannot find sufficient evidence should say so rather than keep spending resources or manufacture a result. NIST’s Generative Artificial Intelligence Profile supplies a broader risk-management framework for evaluating and monitoring generative AI systems throughout their lifecycle. It is not an agent implementation recipe, but it reinforces why trustworthy deployment is a system responsibility (Autio et al., 2024).

autonomy has several dimensions. Choosing the next search query, editing a local draft, changing production data, and spending money are different permissions. A system can be highly flexible in its investigation while remaining tightly restricted in its actions.

Judge the system, not only the model name

Two applications can use the same model and behave very differently. One may expose poorly documented tools, lose the task state, and accept its own claims of success. Another may supply useful context, enforce permissions, preserve progress, and verify outcomes. SWE-agent’s interface experiments and the long-running harness account illustrate why these surrounding choices deserve attention alongside the model itself (Yang et al., 2024; Anthropic, 2025).

Evaluation should therefore follow the whole task. Did the reconciliation identify the real mismatch? Were the sources and calculations correct? Did the system leave protected records untouched and stop before sending anything? How often did it need human intervention, and what did each successful run cost in time and computation? Test failures and permission denials as well as clean demonstrations.

This is not an argument that the model no longer matters. Its ability to understand the task, select useful actions, interpret evidence, and acknowledge uncertainty remains central. A harness cannot reliably manufacture capabilities the model lacks. Equally, a strong model cannot compensate for missing data, unrestricted credentials, or an application that mistakes a tool request for a completed action.

The memorable shift is from a model that produces a response to a governed system that can pursue a goal, observe what happened, and justify stopping. Sometimes that system should be an agent. Sometimes a simpler workflow is the better engineering decision.

The next time an impressive AI demonstration appears, look beyond the chat window. Ask which part is the model, which part is ordinary software, what the tools can actually do, and how the result is checked. That is where a convincing demonstration starts becoming an understandable system.

References

  1. Russell, S., & Norvig, P. (2021). Artificial Intelligence: A Modern Approach (4th ed.). Pearson. https://aima.cs.berkeley.edu/newchap01.pdf
  2. Anthropic. (2024). Building Effective Agents. https://www.anthropic.com/research/building-effective-agents
  3. Yang, J., Jimenez, C. E., Wettig, A., Lieret, K., Yao, S., Narasimhan, K., & Press, O. (2024). SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering. Advances in Neural Information Processing Systems, 37. https://arxiv.org/abs/2405.15793
  4. Anthropic. (2025). Effective Harnesses for Long-Running Agents. https://www.anthropic.com/engineering/effective-harnesses-for-long-running-agents
  5. Model Context Protocol. (2025). Model Context Protocol Specification: Tools. https://modelcontextprotocol.io/specification/2025-11-25/server/tools
  6. Model Context Protocol. (2025). Model Context Protocol Specification: Architecture. https://modelcontextprotocol.io/specification/2025-11-25/architecture
  7. Yao, S., Zhao, J., Yu, D., Du, N., Shafran, I., Narasimhan, K., & Cao, Y. (2023). ReAct: Synergizing Reasoning and Acting in Language Models. International Conference on Learning Representations. https://arxiv.org/abs/2210.03629
  8. Lewis, P., Perez, E., Piktus, A., Petroni, F., Karpukhin, V., Goyal, N., Küttler, H., Lewis, M., Yih, W.-tau, Rocktäschel, T., Riedel, S., & Kiela, D. (2020). Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks. Advances in Neural Information Processing Systems, 33. https://arxiv.org/abs/2005.11401
  9. Autio, C., Schwartz, R., Dunietz, J., Jain, S., Stanley, M., Tabassi, E., Hall, P., & Roberts, K. (2024). Artificial Intelligence Risk Management Framework: Generative Artificial Intelligence Profile (No. NIST AI 600-1; Issue NIST AI 600-1). National Institute of Standards and Technology. https://doi.org/10.6028/NIST.AI.600-1