What happens when the same artificial intelligence language model is placed in four different software environments? In one case, it becomes a coding assistant; in another, a system capable of distributing work among several AI agents. In a third, it becomes a personal assistant that learns from experience, while in a fourth, it becomes a digital assistant capable of operating around the clock and responding independently to events.
On November 30, 2026, artificial intelligence specialist Maarten Grootendorst, co-author of books on large language models and AI agents, published a detailed visual guide to the architecture of four open-source systems: Pi, OpenCode, Hermes and OpenClaw.
After examining the source code of these projects, Grootendorst produced more than 30 illustrations explaining how modern agents use tools, manage memory, distribute tasks, retain the results of their work and interact with the digital world.
Author: NAnews Editorial Team.
You do not need to be a software developer to understand the significance of this material. The study helps explain changes already taking place in the practical application of artificial intelligence, directly affecting entrepreneurs, professionals and everyday users, including those in Israel.

Why a Language Model and an AI Agent Are Not the Same Thing
When someone opens ChatGPT, Claude or Gemini, they are interacting with more than just a language model. Behind the familiar interface lies a software infrastructure that determines the capabilities of each product.
A large language model (LLM) receives information, processes it and generates a response. It can analyze documents, produce written content, write software code, translate, compare information and suggest solutions.
Without additional tools, however, the model cannot independently open a particular website, retrieve information from a corporate database, check emails, modify a document or run a program.
This requires a specialized software framework known to developers as an Agent Harness — the infrastructure that turns a model’s responses into real-world actions.
It determines which tools are available to the AI, what information it receives, where it stores results, which operations it can perform independently and when it must seek human approval.
Imagine two employees with identical educational backgrounds and professional abilities. One is given only a telephone, while the other receives a computer, access to working documents, corporate systems, archives and all the necessary tools.
Their abilities remain unchanged, but the results of their work will differ considerably.
The same principle applies to artificial intelligence. Choosing the right language model is important, but accomplishing a particular task also depends on the capabilities of the software infrastructure surrounding it.
How an AI Agent Carries Out an Assignment
A traditional chatbot primarily responds to a user’s request. An agentic system can receive more complex assignments that require several consecutive actions.
The systems examined by Grootendorst share an architectural principle known as ReAct (Reason and Act), first proposed in 2022. Its underlying idea is to alternate between reasoning, taking action and evaluating the information obtained.
Imagine the owner of a real estate agency in Haifa asking an AI agent to research current rental listings for three-room apartments, calculate average prices, compare neighborhoods and prepare recommendations for clients.
To complete such an assignment, the agent needs to:
- Identify suitable sources of information.
- Collect current property listings.
- Remove duplicate and outdated listings.
- Verify that the properties meet the specified criteria.
- Perform the necessary calculations.
- Compare the results with previous studies, where available.
- Prepare a final report.
If the information collected is insufficient, the agent can resume its search. If the calculations reveal unusual values, it can investigate the relevant listings further.
The user specifies the desired outcome rather than necessarily describing every intermediate step.
This approach is particularly useful when work involves numerous smaller operations that must be performed in a specific sequence.
Naturally, the agent must have the appropriate tools, access to information sources and predefined criteria for determining when the task has been completed. A user’s instruction alone does not provide these capabilities.
The Main Components of an AI Agent
Depending on its purpose, an agentic system may include several core components.
Language Model (LLM) — analyzes incoming information, determines subsequent actions and generates results.
Tools — enable interaction with external systems, including web search, files, email, spreadsheets, databases, software code and other resources.
Memory — allows information to be retained between assignments, previous decisions to be revisited and accumulated experience to be taken into account.
Planning — helps organize complex assignments, break them down into stages and determine the sequence of operations.
Interfaces — enable interaction with users through a browser, application, command line or messaging platform.
Permissions and Restrictions — establish the boundaries of an agent’s autonomy, determining what information it can read, which documents it can modify and which actions require user approval.
Some tasks require only a minimal combination of these components. Others demand sophisticated infrastructure, distributed workloads and persistent state management.
The four projects examined in the study demonstrate different approaches to building such systems.
Pi — A Minimalist Assistant Controlled by the User
The developers of Pi have opted for a relatively compact, extensible core.
The system is designed primarily for software developers. In the version examined by Grootendorst, the agent operates through a command-line interface, with basic capabilities that include reading, creating and editing files, as well as executing operating system commands.
One particularly interesting feature of Pi is its tree-based session history. Users can return to an earlier stage of a conversation and pursue an alternative solution while preserving the original branch.
For example, a developer might ask an AI agent to fix a website error. The agent proposes changing part of the software code, but the results prove unsatisfactory. Rather than continuing along an unsuccessful path, the developer can return to an earlier stage and explore a different solution.
However, conversation history and backups of the actual software code are two separate things. Returning to an earlier conversation branch does not guarantee that changes already made to files will automatically be reversed.
Pi also allows users to adjust their instructions while an assignment is being carried out.
This architecture is well suited to those who want to define the capabilities of their AI system, maintain control over its operations and add their own tools when necessary.
OpenCode — When a Single Task Requires More Than One Agent
OpenCode takes a more sophisticated approach.
Here, the agent operates within a server-based infrastructure. Session history is stored in a database, allowing users to interact with the system through different interfaces.
Of particular interest is its use of subagents — separate agents to which the primary agent delegates specific parts of an overall assignment.
Suppose a company wants to research the websites of twenty competitors. One agent could analyze prices, another could examine the services offered, a third could search for contact information, and a fourth could verify the collected findings.
The primary agent does not necessarily need to receive all the intermediate information accumulated by each individual agent. Their final reports may be sufficient for it to continue working.
This helps limit the amount of information that a single language model needs to process simultaneously.
Another important principle behind OpenCode is the separation of planning from execution. In planning mode, the ability to modify files is restricted, while execution mode provides the agent with the necessary permissions.
For businesses, this is a familiar model: an employee first proposes a course of action and then proceeds with the work once the plan has been approved.
The presence of multiple agents does not automatically guarantee accurate results. Rules governing task delegation, verification and quality control are still necessary.
Hermes — Artificial Intelligence That Learns from Work Experience
Developed by Nous Research, Hermes Agent is designed not only for software development but also to function as a personal assistant.
One of its most interesting areas of development concerns memory management and the creation of a library of practical skills.
Imagine an entrepreneur who asks an AI agent to examine suppliers’ commercial proposals every week. On the first occasion, the entrepreneur must explain the required report format, company verification procedures, comparison criteria and source requirements.
Ideally, these instructions should not need to be repeated every time the assignment is given.
Hermes separates information about the user from information about the working environment. User preferences can be stored in a USER.md file, while technical details of projects and accumulated experience can be retained in MEMORY.md.
A separate library contains Skills — instructions describing how to perform particular types of work.
Unlike a simple record of a fact, a skill represents a sequence of actions that can be reused.
For example, while researching suppliers, an agent may establish that the most reliable company verification procedure involves visiting the company’s official website, checking registration details, confirming contact information and only then preparing a business profile.
If this procedure is saved as a skill, the agent can use the existing instructions the next time it receives a similar assignment.
Hermes incorporates mechanisms for reviewing completed tasks, allowing new skills to be created and existing ones to be refined. The system also supports distributing work among multiple agents.
It is important to understand that this does not mean the language model independently retrains itself. Its underlying parameters do not necessarily change. Instead, the infrastructure surrounding the model improves as instructions, memory and working procedures are expanded.
From the user’s perspective, the result may resemble a digital assistant gradually accumulating professional experience.
OpenClaw — An Agent That Can Work While Its User Is Busy Elsewhere
OpenClaw represents the most extensive architecture among the projects examined by Grootendorst.
The system is designed for ongoing interaction with users through multiple communication channels. The version examined in the study supported more than 30 such channels.
One of OpenClaw’s key features is its ability to activate an agent periodically without receiving a new message from the user.
This mechanism is known as Heartbeat.
Imagine a business owner asking an agent to monitor incoming emails, check the status of several orders and provide notifications about events requiring attention.
When appropriately configured, the system can review the working environment at regular intervals.
If nothing has changed, no additional notification is necessary. If an important message arrives or an established deadline is missed, the agent can contact the user.
Unlike conventional scheduled automation, this approach allows artificial intelligence to analyze the situation and select its next action within predefined rules.
At the same time, round-the-clock operation does not mean that requests must be continuously sent to the language model. The software infrastructure can activate the model only when necessary.
Operating such a system requires a running application or server, access to the relevant services and properly configured permissions.
Why Artificial Intelligence Has Been Given a Form of “Sleep”
Perhaps one of OpenClaw’s most unusual features is a mechanism called Scheduled Dreaming — a scheduled memory-processing procedure that its developers metaphorically compare to dreaming.
The problem it addresses is entirely practical.
When a personal assistant operates over weeks or months, it accumulates enormous amounts of information: conversation histories, task results, temporary files, user feedback, corrections and intermediate decisions.
Storing all this information in the same way is inefficient. Some details will be useful in the future, others will become outdated, and still others will simply duplicate information that is already known.
OpenClaw’s memory architecture includes periodic processing of accumulated material through stages known as Light, Deep and REM, named after the phases of human sleep.
The system analyzes its records, selects information that may have long-term value and updates the contents of its persistent memory.
For example, during a working day, an entrepreneur might discuss several projects with an agent, revise reporting requirements, establish a new procedure for communicating with customers and correct an error in an existing workflow.
Through memory processing, useful information can be separated from the temporary details of those conversations.
The names of the sleep phases are metaphorical. Artificial intelligence does not fall asleep, experience dreams or acquire consciousness. This is a software-based process for organizing information.
Nevertheless, the ability to retain important information without becoming overwhelmed by accumulated data is essential for any digital assistant designed for long-term operation.
Four Architectures — Four Approaches to the Same Technology
| System | Key Feature | Best-Suited Applications |
|---|---|---|
| Pi | Minimalism, extensibility and session history management | Software development and specialized tools |
| OpenCode | Server-based architecture, subagents and separation of planning from execution | Complex technical projects |
| Hermes | Long-term memory and the development of reusable skills | Personal and corporate assistants |
| OpenClaw | Periodic activation, communication channels and memory consolidation | Long-running and recurring workflows |
This comparison does not imply that one system is necessarily superior to the others.
A company looking for a closely controlled software development assistant may have no need for a round-the-clock digital assistant with dozens of communication channels.
A business handling customer inquiries, by contrast, may place greater importance on integration with messaging platforms, email and corporate databases.
All four projects are also under active development. Grootendorst specifically identified the versions of the source code used in his comparison, meaning that individual technical characteristics may change as new updates are released.
Why Artificial Intelligence Cannot Remember Everything
Even the most advanced language models have a limited context window — the amount of information they can process within a single interaction.
Over extended periods of use, the accumulated history of an agent’s work can become excessively large. Providing the model with every previous conversation, document and operational result increases processing costs, while important information may become buried among less relevant details.
Agentic systems therefore employ different approaches to memory management.
In one approach, previous conversations are condensed into meaningful summaries. In another, the full history is stored in a database, with relevant information retrieved when needed. A third approach maintains separate records for instructions, technical information and user preferences.
When a new assignment begins, the agent receives only the portion of its accumulated archive that is likely to be relevant to the current task.
These technologies make it possible to build systems designed for long-term operation, but they do not guarantee flawless memory. Important details can be lost when conversation histories are condensed, while inaccurate or outdated information may sometimes enter persistent memory.
Corporate AI memory should therefore remain accessible for human review and correction.
How AI Agents Could Transform Israeli Businesses
For Israel, the development of agentic technologies is of interest far beyond startups and the high-tech sector.
The ability to automate multi-stage workflows is particularly relevant to small businesses that may struggle to maintain separate departments for analytics, marketing, customer service and technical support.
A small real estate agency, moving company, travel agency, online retailer or independent professional could use artificial intelligence to handle tasks that previously required substantial amounts of working time.
The value lies not only in generating written content but also in connecting several previously separate operations into a single workflow.
Real Estate
An agent can collect publicly available market information, organize property listings, compare apartment prices across cities and neighborhoods, and prepare property selections tailored to clients’ requirements.
With access to a company’s internal systems, it can also draft responses to inquiries, remind employees about scheduled meetings and update working reports.
However, verifying a property’s legal status, the terms of a transaction and the accuracy of available information remains essential.
Moving Services and Logistics
For transportation and moving companies, agentic systems can process incoming requests, clarify the scope of services required, organize route information, prepare preliminary estimates and refer complex inquiries to employees.
If a customer needs to move from an apartment in Ashdod to Petah Tikva, a digital assistant can ask about the number of rooms, furniture, floor levels, elevator availability and any additional services required.
The final price must be calculated using the company’s actual rates and terms rather than assumptions generated by a language model.
Retail and Customer Service
For online retailers, one potential application is handling routine inquiries, including checking product availability, confirming order status and providing information about delivery and returns.
The system can analyze the nature of a customer’s question and determine whether an automated response is sufficient or whether an employee needs to become involved.
Integration with the retailer’s actual business data offers a particularly important advantage. Without such access, AI can explain general policies but cannot reliably tell a customer where a particular order is located.
Marketing and Analytics
AI agents can conduct regular market research, verify publicly available information about potential business partners, analyze competitors’ websites, draft advertising materials and prepare reports.
Entrepreneurs can assign the system not merely a one-time information search but a recurring research process governed by predefined quality criteria.
This is particularly relevant to businesses operating across several local markets simultaneously.
Multilingual Israel — A Natural Environment for Digital Assistants
Another factor increases the potential value of agentic systems for Israeli businesses: the country’s linguistic diversity.
Customers may communicate in Hebrew, Arabic, Russian, English, Ukrainian, French and other languages.
Even a small company operating exclusively within Israel frequently needs to communicate with customers in multiple languages.
A conventional translation tool helps translate individual messages. An agentic system could potentially manage the entire customer service process: identify the language of an inquiry, retrieve relevant information from a corporate database, prepare a response and retain a record of the interaction.
With appropriate configuration, it can take into account company-specific terminology, communication preferences for different customer groups and established procedures for preparing commercial proposals.
However, translations of important legal, financial and medical documents still require professional review.
What a Working Day With AI Agents Could Look Like
Imagine a small Israeli company that has introduced several specialized digital assistants.
In the morning, the manager receives a report on incoming inquiries, outstanding orders and tasks requiring attention.
Throughout the day, one agent organizes customer requests, another conducts market research, a third prepares commercial proposals, and a fourth monitors the technical condition of the company’s website.
If an unusual inquiry arrives, the system refers it to an employee.
If a supplier changes its prices, the relevant information is included in a report. If an important business email needs to be sent, the agent prepares a draft and requests approval.
At the end of the working day, results are saved alongside a record of completed operations and information needed to continue the work.
This is a hypothetical example rather than a description of a ready-made universal product. Establishing such a workflow would require integration with corporate systems, the development of instructions and the configuration of appropriate control mechanisms.
Nevertheless, individual architectural components needed to support this kind of work already exist.
Greater Autonomy Means Greater Security Requirements
Giving artificial intelligence access to real-world tools also introduces new risks.
An error made by a conventional chatbot may result in an inaccurate answer. An error made by an agent with access to corporate systems could potentially lead to an incorrect email being sent, a document being modified, information being deleted or financial losses.
Another concern involves malicious instructions embedded in emails, documents and web pages.
A human employee can distinguish the contents of an incoming email from their own professional authority. An agentic system must be specifically protected against attempts to turn external information into instructions for performing unauthorized actions.
When implementing AI agents, businesses therefore need to restrict access to confidential information, assign separate permissions for different tasks, maintain activity logs, create backups and require approval for critical operations.
For example, an agent researching the real estate market does not need access to the company’s bank account. A system preparing advertising materials does not need permission to delete corporate documents.
Israeli companies handling customers’ personal data, financial information and medical records should pay particular attention to the implications of connecting external AI services.
The autonomy of a digital assistant should be determined not only by its technical capabilities but also by whether specific permissions are genuinely necessary to complete the assigned task.
Will AI Agents Replace Employees?
These systems can automate a substantial share of repetitive intellectual work. However, running a business also involves accountability, professional expertise, negotiations, decision-making under uncertainty and an understanding of circumstances that cannot always be fully described in advance.
The most realistic scenario may therefore involve redistributing tasks between people and software systems rather than replacing entire professions.
A real estate professional could spend less time processing property listings and more time working directly with clients.
The owner of a moving company could automate the preliminary assessment of customer requests while retaining control over pricing and service delivery.
A news organization could use agents to monitor sources, organize information and prepare translations, while leaving editorial decisions, fact-checking and responsibility for publication in human hands.
The effectiveness of these systems must ultimately be evaluated in practice, taking into account the quality of their results, the frequency of errors, operating costs and the amount of time actually saved.
The Next Stage in the Evolution of Artificial Intelligence
In recent years, discussions about artificial intelligence have largely focused on comparing language models: which one reasons better, answers questions more accurately, writes code more efficiently and processes large amounts of information more effectively.
Maarten Grootendorst’s study offers a different perspective.
For practical applications, the tools available to artificial intelligence, the organization of its memory, its ability to collaborate with other agents, the procedures governing its assignments and the restrictions imposed by humans are becoming equally important.
For entrepreneurs, this means that choosing an AI solution will increasingly involve looking beyond the name of the underlying language model and considering the entire architecture of the digital assistant.
As NAnews — Israel News notes, these technologies are particularly relevant to small and medium-sized businesses, where a single person often handles management, marketing, customer communication and analytics simultaneously.
The ability to delegate some of these processes to artificial intelligence could transform the way businesses organize their everyday operations.
The essential condition, however, remains human control. A digital assistant must act in the owner’s interests, operate within the permissions it has been granted and remain under the supervision of the person responsible for the final outcome.
Artificial intelligence is gradually becoming a tool not only for obtaining information but also for organizing work. And it is the software infrastructure surrounding the language model that ultimately determines which real-world tasks can be entrusted to it.