Skip to content
AgentLabs.

RAG Agents for Organisational Knowledge: Design and Deployment

RAG Agents for Organisational Knowledge: Design and Deployment
Workflow diagram From a question to a source you can check
  1. Question Identify what needs to be established.
  2. Access filtering Restrict the search to authorised sources.
  3. Retrieval Find a supporting section and version.
  4. Answer Show a source or hand over for further attention.

A RAG agent inside your organisation: building an AI agent that truly understands you

About a year ago, a knowledge manager at one of the large insurance companies told me something small, almost in passing: “We have hundreds of thousands of documents, minutes, procedures, policies, forms… and in the end everyone asks Ruti.” Ruti, in this case, is the longstanding employee who knows everything by heart. She is their human search engine.

Now imagine, for a moment, that in principle this Ruti could be an AI agent. No cynicism, no marketing pitch: an actual intelligent agent working with your organisational knowledge, connected to documents, systems and even internal emails, if you permit it, and able to answer employees like a person. That is more or less the heart of retrieval augmented generation, or, in this context, a RAG agent.

So what is a RAG agent, and why is everyone talking about it?

Broadly speaking, language models such as GPT can “invent” new answers based on their general knowledge, but they do not independently know what is happening inside your organisation. They were not born with access to Bank Hapoalim's procedures or the specific contracts of a cybersecurity start-up in Herzliya. This is where retrieval augmented generation comes into play.

RAG means that before the model answers, we bring it relevant background material from the organisation's repositories: documents, tables, emails, wikis and CRM systems. It then formulates an answer based on that information. In other words, instead of an AI agent relying only on a general model, we get an AI agent that can retrieve real knowledge from your content in real time.

For a less technical description, a RAG agent is a sort of intelligent new employee who does not physically exist, but is connected to all your folders and digital systems and manages, surprisingly, to give quite decent answers. Sometimes even better answers than most of us, because it does not forget where the document from 2014 is.

Why is an organisational AI agent more than another “boring chatbot”?

Let us put it on the table: chatbots were here before. Most were poor. They answered with fixed templates, did not understand Hebrew properly and, at best, could provide opening hours. An organisational RAG agent is a different story.

1. It actually works with your knowledge

A RAG-based organisational AI agent does not rely on general answers, but on internal documents: information security procedures, management presentations, Q&A material for the service department, legal contracts and even Excel files. It reads them in the technological sense, indexes them, splits them up and stores them as vectors. Then, during a conversation, it simply “remembers” what they say.

2. It updates without an argument with IT

One surprising aspect is that, provided the RAG process is built correctly, the AI agent can update almost automatically. Uploaded a new document to SharePoint? The agent will scan it. Changed a procedure? The system will ingest the new version. There is no need to define new answers manually every time.

3. It learns your language

Organisations speak their own dialect. Internal abbreviations, project codenames, “Yossi from backup”, who is actually a server rather than a person. A good AI agent learns from this. It understands what “DRP” means, what “Operation Spring 23” is, and what people mean by “a request of this kind”. Combining RAG with large language models allows it to interpret context, rather than just raw content.

What does a RAG-based AI agent look like inside?

To avoid staying at an abstract level, it is worth lifting the lid for a moment and looking at the components. Not as complete development instructions, but to gain an insight into what actually needs to happen behind the scenes for this magic to work.

Collection: “Where does your knowledge live?”

In an average Israeli organisation, knowledge is scattered like this: some in SharePoint, some in Google Drive, some in emails, some in the CRM and a little more in Word files scattered across everyone's desktop. A good AI agent starts with a simple question: where is everything?

Technically, this is the stage of connecting connectors to information sources: file servers, an internal wiki, Confluence, Salesforce, ERP systems and even legacy systems accessed through an old API. The goal is to collect as much content as possible and index it.

Processing: split, clean and enrich

A language model does not like 150-page PDFs presented as a single block. They need to be broken into sections, or “chunks”. For example, passages of 300–500 words, with a little overlap between one chunk and the next so that context is not lost.

This is where the art comes in: how should you split them? By headings? Clauses? Pages? Every organisation is slightly different. Legal firms will prefer splitting by clauses and subclauses. Product companies will prefer chapters and sections. A high-quality AI agent is fed by an intelligent chunking process: it is the difference between an overly general answer and one that quotes precisely clause 4.3.2 of the customer service procedure.

Vectorisation: turning a document into numbers

Here we reach the more mathematical side, but we will not get into formulae. The system takes each text chunk and passes it through an embedding model, a model that converts text into a vector, or list of numbers. Why does that matter? Because it makes it possible to search for semantic similarity, rather than just identical words.

If an employee asks the AI agent, “What is our policy on working from home?”, even if the document says “remote working”, the system will understand that this is the same subject. That is the beauty of vector search.

Retrieval: finding the passages that matter now

At the query stage, the agent takes the user's question, converts that into a vector too, and searches the repository for the most similar passages. By meaning, rather than keywords. This is the “R” in RAG: retrieval.

The system will usually retrieve three to ten relevant passages, depending on its settings. You can also apply filters: only current documents, only documents belonging to a particular department, or only those the user is authorised to see.

Generation: assembling an answer in human language

Now comes the part the user sees. The model receives:

  • The user's question.
  • The retrieved knowledge passages.
  • Instructions, or a system prompt, on how to answer: briefly? In detail? In Hebrew? With references?

It combines them into a new answer. This is not copying and pasting, but reformulation adapted to the context. A good AI agent will sometimes also state, “The information is based on procedure X, updated on date Y”, to provide a sense of credibility.

Between vision and reality: what does this look like in a real Israeli organisation?

In Israel, as ever, everything is a little less orderly and less formal than presentations suggest. Some organisations keep part of their knowledge in WhatsApp. Others run core systems dating back to the Windows 2003 era. Yet this is precisely where a RAG agent can bring a fair amount of order.

Organisational culture as a central component

Suppose you are building an AI agent that explains procedures, benefits and processes to new employees. If the organisation's normal culture is “ask everyone on Slack”, the agent needs to be there. If the deep archive sits in an old system in English, but employees speak Hebrew with slang, you need to address the dual-language requirement. One AI agent living in two worlds.

In other words, the project is more than technology. It changes the working culture: from “I ask Dani” to “I ask the agent and, if necessary, Dani”. This is delicate. Some employees will feel threatened, as though somebody is trying to “replace” them. The responsibility of Israeli management, generally direct and informal, is to say clearly: the agent does not replace people; it replaces exhausting searches.

The problems nobody tells you about

It is not all rosy. Several problems recur in RAG agent projects:

Keeping information current

If the system is not configured to refresh frequently, an AI agent will begin answering from old documents. An employee asks about the 2025 policy and receives an answer from 2022. On the surface, everything sounds confident, but this can create real business errors.

Permissions and disclosure of sensitive information

In Israeli systems, particularly public bodies or banks, an agent must not expose unauthorised data. A strict permissions model is needed: the agent sees everything, but answers only about what the user is authorised to see. Or, going further, the agent sees only what the user is authorised to see in the first place, through the indexing mechanisms.

Model “inventions”, or hallucinations

Even with RAG, a language model may invent details: claim that a nonexistent procedure exists, or summarise approximately what is written without complete accuracy. This is why prompts must be designed properly, the agent must be constrained to base its answers on the material provided, and it must sometimes be told, “If there is not enough information, say you do not know.”

Approaching the construction of a RAG agent as a strategy, rather than a coding guide

Instead of beginning immediately by choosing a model or platform, it is worth asking a few softer questions that sound almost philosophical: who is this agent supposed to be in the organisation? Who does it speak to? Whose problems does it solve?

Defining an AI agent's “personality”

Yes, it sounds a little New Age, but a good AI agent needs a personality. Not as a funny robot, but as a guiding approach: is it formal or informal? Does it explain in depth or keep things brief and to the point? Does it write using masculine, feminine or plural forms?

For example, in a large financial organisation, the agent will be serious and formal, with legal caveats. In a young start-up, it can be more direct and use a little slang, while remaining accurate. This personality definition is then translated into the system prompt: the instructions the model receives before every answer.

Identifying two or three critical use cases to begin with

Instead of trying to resolve “every question in the organisation”, focus on:

  • Internal IT support: passwords, system access and guides.
  • Questions about procedures and human resources: annual leave, working from home and company cars.
  • Focused professional questions: product pricing, terms of service and information security procedures.

Once an AI agent proves itself in two or three areas, the organisation begins to trust it. From there, you can expand to the rest of its knowledge.

Integration into the existing workflow

A common mistake is building “another portal”, with another address and another password. Employees do not like jumping between windows. A good AI agent fits into what already exists:

  • A card on the right-hand side of SharePoint.
  • An integration inside Teams or Slack.
  • A widget inside the CRM system.

The user should not need to look for the agent. They should encounter it where they already work.

Frequently asked questions about RAG agents and organisational AI agents

Question: will an AI agent of this kind replace human support staff?

Answer: in most cases, no. It replaces the wearing part of the job: repeated answers, basic explanations and document searches. Support staff, IT staff and HR staff gain time for complex cases and conversations requiring human judgement, empathy or organisational politics.

Question: how long does it take to get the first RAG agent running in an organisation?

Answer: it depends very much on size and complexity. For a small pilot connected to a limited number of information repositories, such as SharePoint and Drive, you can have a working agent within a few weeks. For a broad project, including complex permissions, regulation and substantial information security requirements, it can take several months.

Question: what is the difference between a “regular” AI agent and a RAG agent?

Answer: a “regular” AI agent without RAG uses only the language model's general knowledge. A RAG agent combines the model with the organisation's knowledge repositories. The result is fewer inventions, greater accuracy and the ability to quote internal procedures and rules. For an organisation, there is usually little real justification for an agent without RAG, because its real value lies in its specific knowledge.

Question: can you build a RAG agent in Hebrew, or is it always a patch on English?

Answer: you can, and it is already happening. Admittedly, many models were originally developed for English, but there are quite a few embedding models and Hebrew support ranging from reasonable to very good. Sometimes the choice is to keep the original documents in Hebrew but add a layer of English metadata, or to use a multilingual model. Ultimately, an AI agent in Hebrew is no longer science fiction.

Question: what about information security? Isn't uploading everything to a “model” dangerous?

Answer: this is a critical question. An entire RAG agent can be established inside the organisation's environment, using models installed on premises or in a secure private or virtual cloud. Even when external models are used, options exist today in which data is not retained for training, does not leave your tenancy and is routed in a controlled way. This needs to be planned with IT and the CISO, rather than added as an appendix at the end.

Summary table: what have we actually discussed here?

TopicWhat it means in practiceImplications for the organisation
RAG: retrieval augmented generationCombining searches of organisational knowledge with answer generation using a language modelFewer inventions; more answers based on real documents
Organisational AI agentAn intelligent agent that speaks to employees, answers questions and draws on knowledge repositoriesReduced support workload, consistent knowledge and better onboarding
Collecting information sourcesConnecting to SharePoint, Drive, CRM, databases, wikis and so onRequires knowledge mapping and cooperation from IT and business stakeholders
Processing and chunking documentsSplitting documents into passages, cleaning and enriching metadataDirectly affects retrieval quality and answer accuracy
Vectorisation and semantic searchConverting text into vectors to find content with similar meaning, rather than simply similar wordsEnables answers to natural-language questions even when their wording differs from the document
The agent's personalityDefining tone, style, formality and languageDetermines employees' experience of the agent, how much they trust it and how much they use it
Workflow integrationEmbedding it in Teams, Slack, an organisational portal or CRMAffects adoption: unless it is built into everyday work, people will not really use it
Information security and permissionsAccess controls, restricting content according to user permissions and logsPrevents exposure of sensitive information and enables compliance with local regulations
Implementation in IsraelBilingual working, legacy systems and a direct organisational cultureRequires adaptation to the language, existing legacy systems and local working style
Pilots and experimentationStarting with limited use cases in IT, HR or internal supportAllows value to be tested before broad investment, building trust and improving gradually

The next step: what should you do before taking the plunge?

If you have read this far, the question is probably no longer “whether”, but “how” and “when”. Before rushing to choose a platform or supplier, it is worth pausing and jotting down a few things on paper:

Mapping knowledge and pain points

Where do employees get stuck most often today? Where is the most time burned on “just send me that document”? It could be IT support, human resources or finding information about a customer before a meeting. A good AI agent begins with a real problem, rather than “cool technology”.

Talking to the people who will actually work with it

One simple trick is to sit with two or three end users, a service representative, a salesperson and an HR officer, and ask: if you had an intelligent agent, what would you ask it? What would save you 20 minutes a day? Those answers are worth more than ten pages of specifications.

Considering where the AI agent will “live”

Where will it appear? In Teams? Inside the CRM? On an internal website? The answer will affect both the technology and the user experience. In some organisations, the agent will begin almost incidentally, as a small button in the corner, and grow from there.

A final word: an AI agent is not magic, but it is not another marketing gimmick either

It is easy to be cynical. We have seen waves of technologies: portals, business intelligence, robotic process automation and now AI agents everywhere. Beneath the noise, however, something fairly simple and intuitive is happening: employees want good answers, quickly, in language they can relate to. The information, the answers, is already with you. You just need a bridge.

A RAG agent is an attempt to build that bridge intelligently: more than another “system”, it is a digital professional companion that knows the organisation's knowledge and can talk about it. Is it perfect? Absolutely not. Can it save working hours, reduce frustration and help new employees feel at home? Yes, absolutely.

If you are considering introducing an AI agent into your organisation, perhaps as a small pilot or perhaps as a broader programme, it is worth doing properly: with strategic planning, cultural sensitivity and an understanding that this is a process rather than a magic button.

We would be happy to help with an initial consultation at no cost: to understand together where your RAG agent could provide the greatest value, and how to build it so it feels less like a robot and more like a new teammate who knows everything you already know, and can finally answer as well.

From reading to a pilot

Connect the agent to your knowledge sources

We will map where information is stored, who may access it and how to check an answer against its source.