How to Give an AI Agent Your Company Knowledge

By writing down the judgment your team uses to decide cases, not by uploading the documents you already have. An agent works well with what the company knows when that knowledge has an owner in the business, is written to settle cases, and is kept current with the cases the agent itself could not handle.

Carlos Andrés Ramírez ·

By writing down the judgment your team uses to decide cases, not by uploading the documents you already have. An agent works well with what the company knows when that knowledge has an owner in the business, is written to settle cases, and is kept current with the cases the agent itself could not handle.

Start with how this work usually begins. A company decides to put an agent on customer service or the internal help desk. The technical team connects the shared drive, the policy manual and the website FAQ. In the demo the agent does well. Three weeks later the service team says it "makes things up" or "doesn't get how we work here", and the conversation turns to comparing models and vendors.

My view is that in most of those cases the model is not the problem. The agent got the company's documents but not its judgment: the unwritten rules a person two years into the job uses to decide what to do with a case that doesn't fit. That judgment isn't in any folder, which is why no technical connection finds it. Giving an agent your company's knowledge is mostly a writing and management job, and it belongs to the business, not to IT.

The answer

How do you give an AI agent the context and knowledge it needs to work well?

With three pieces, built in this order. First, a judgment document written to settle cases: which cases the agent handles, by what rule, and which it hands to a person. Second, an owner in the business who answers for that document the way they answer for any procedure. Third, a maintenance loop that takes the cases the agent couldn't resolve and turns them into new rules every week. Connecting the agent to company systems is necessary, but it comes after, and it is the easy part.

Before building anything, check whether the agent is already showing signs that it lacks judgment rather than data:

  • It handles general questions well and fails on the ones the team considers easy because "everyone knows that's how we do it here".
  • It quotes the current policy and applies the old one, because both live in the same folder.
  • When two documents contradict each other, it picks one without mentioning the other.
  • The team's corrections happen in the day's conversation and end up nowhere the agent can learn from.
  • Nobody could say who signs off on a change to what the agent knows.

Piece 1

What the agent needs isn't in the documents, it's in the exceptions

Picture a returns queue. The manual says returns are accepted within 30 days with a receipt. The team also knows that a customer with three purchases this year gets the return without a receipt, that one product line always goes to quality, and that in December the window runs to mid-January. None of that is written down, and it is exactly what separates a correct answer from one that ends in a complaint.

So the document you need is not another manual. It is a list of decisions: for this kind of case, this rule, up to this limit, and above it, a person. The fastest way to get it is to sit with whoever handles the hard cases and go through the last twenty they escalated or corrected. Two or three sessions surface most of the judgment the agent needs, and almost all of it turns out to be exceptions rather than rules.

An agent knows what the company knows when someone has written down how the team decides, not when someone has connected the folder where it keeps its documents.

BECOME

Piece 2

An agent's context needs an owner in the business, not in IT

What matters here is who can say whether a rule is right. IT can connect systems, manage permissions and measure response times. It cannot know whether a customer with three purchases deserves the exception. When the agent's knowledge sits with IT, every correction becomes a ticket, arrives late and arrives paraphrased, and the frontline team stops correcting because it never sees the effect.

The natural owner is whoever runs the process the agent serves: the head of customer service, the accounts payable lead, the help desk coordinator. Their job isn't to write the whole document but to approve changes and decide which rule wins when two conflict. It is the role they already play for the team's procedures, applied to a new reader who never asks when it is unsure.

Piece 3

Knowledge goes stale, and you keep it fresh with the cases the agent couldn't handle

Policies change, new products launch and customers find cases nobody planned for. An agent running on January's judgment answers in June with confidence and outdated rules. The cheapest source for keeping it current already exists: the cases the agent handed to a person and the answers the team corrected. Each one is a rule that was missing or badly written.

The loop is simple to describe. Once a week the owner reviews escalated and corrected cases and decides which become a new rule, which expose a badly written one, and which are exceptions that should keep going to a person. Then they update the document and retire the old version. That weekly time is the real cost of maintaining an agent's knowledge, and it belongs in the budget from day one rather than being discovered once quality has already slipped.

Where to start

Can you start without an IT project? Yes, with one process and twenty cases

1. Pick a process with a clear owner
One where a single person can say whether an answer is right. If deciding takes three departments, the first job is governance, not context.
2. Write the judgment from the last twenty hard cases
Not from the manual. Escalated and corrected cases show the rules people actually apply, and they usually fit on a few pages.
3. Keep a single current version
Take old and duplicate documents out of the agent's reach. An agent with two versions of a policy doesn't pick the right one, it picks one.
4. Book the weekly review before going live
With a date, an owner and the list of escalated cases as input. Without that slot, the document freezes on launch day.

None of this requires changing model or vendor. Most agent platforms accept instructions and reference documents that a business team can edit. Live connections to systems, such as order status or an account balance, do need IT, and they go better once the judgment is written and you know which data each rule depends on.

Ask the process owner to pull together the last twenty cases their team had to correct or resolve by hand. Read them together and note the rule each person applied. That list is the agent's first context document, and it is probably more useful than everything already connected to it.

Frequently asked questions

How do you give an AI agent your company's knowledge?

By writing down the judgment your team uses to decide cases, not just connecting existing documents. That judgment comes from reviewing, with the people who run the process, the hard cases they escalated or corrected. It then needs an owner in the business and a weekly update based on the cases the agent could not resolve.

Is connecting the company knowledge base to an agent enough?

No. A knowledge base holds the policies but not the exceptions or the unwritten rules the team uses for cases that don't fit, and those are where errors come from. It also tends to hold outdated versions and documents that contradict each other. Connecting it is necessary, but without a judgment document and a single current version the agent answers confidently with the wrong rules.

Who should own the knowledge an AI agent uses?

The person who runs the process the agent serves, not the IT department. They are the one who can say whether a rule is right and settle conflicts between two rules. IT looks after connections, permissions and technical performance. When the content sits with IT, corrections arrive late and the team stops making them.

How do you keep an AI agent's context up to date?

With a weekly review of the cases the agent handed to a person and the answers the team corrected. Each case is classed as a new rule, a badly written rule, or an exception that should keep going to a person, and the document is updated with the old version retired. That weekly time is the real maintenance cost and should be budgeted from the start.

Let's look at what judgment your agent is missing and who should own it

From the idea to the operation

An agent reaches operation once someone defines its limits, its exceptions and who owns the outcome. That gets designed and built.

About the author

Carlos Andrés Ramírez — Transformation Director

Specialist in business transformation and reinvention. Director of Specialised Programmes and lecturer in Artificial Intelligence at UPC's Graduate School.

LinkedIn