How to Train an AI Agent With Your Company's Knowledge

· DoubleX

Quick answer

You don't retrain a model to teach an AI agent about your company. You give it written instructions, upload documents and notes to a knowledge base, and attach reusable skills. In DoubleX IA OS, instructions, the Brain, and skills shape how the agent answers and works.

Most teams that ask how to "train" an AI agent really want one thing: answers and work that reflect how their company operates, with their prices, policies, and tone. That does not require machine learning. It requires giving the agent the right written context and organizing it well.

Is training an agent the same as training a model?#

No. Training a model means changing its internal weights with huge datasets, which is a research project. Training an agent, in everyday business language, means giving it instructions, documents, and reusable procedures that it reads every time it works.

There are three levers:

LeverWhat it isBest for
InstructionsA written brief for one agent: role, tone, rules, what to avoidBehavior and style
BrainThe company knowledge base of notes, processes, and documentsFacts the agent should look up
SkillsReusable instruction sets you attach to any agentProcedures shared across agents

Because nothing is baked into the model, you can change an answer by editing a note. Your content also is not used to train models. For the deeper distinction, read what training an AI means versus using your company data.

What are instructions and how do you write them in your own words?#

Instructions are the standing brief an agent follows in every task. Write them the way you would brief a new hire on day one: plain sentences, no special syntax.

A useful set of instructions covers:

  • Role: who the agent works for and what it is responsible for.
  • Audience and tone: who it writes to and how formal it should be.
  • Rules: what it must always do, such as citing the source note, and what it must never do, such as promising discounts.
  • Escalation: when to stop and ask a person.

In DoubleX IA OS you describe what you need in your own words and the system builds the agent for you, so you can start from that draft and refine it. If you are creating your first agent, see how to create your first AI agent without coding.

What documents should you put in the Brain (PDF, Word, Excel, text)?#

Upload the documents your team would otherwise answer questions from. The Brain accepts PDF, Word, Excel, and plain text, and agents consult it to answer with your company's information.

Good candidates:

  • Policies and procedures: returns, refunds, onboarding steps, approval rules.
  • Product and service material: catalogs, specs, FAQs, service descriptions.
  • Pricing and terms: price lists in Excel, contract templates in Word.
  • Past examples: approved proposals or reply emails that show your standard.
  • Internal how-tos: the process notes that live in someone's head today.

Leave out outdated versions, drafts nobody approved, and anything the agent does not need. Contradicting documents lead to contradicting answers.

Organize the Brain like a small wiki: one topic per note, grouped in folders, with links between related notes. Notes live in folders and connect through links, which helps agents find the right context and keeps your team's content easy to maintain.

A simple structure:

  1. Create folders by area, such as Sales, Support, Finance, and HR.
  2. Write one note per process or question, with a clear title like "Refund policy".
  3. Link related notes, for example from "Refund policy" to "Escalation to finance".
  4. Put the date or owner in each note so you know who keeps it current.

To see how this fits with process knowledge, read how to teach an AI agent about your company's processes. Technical details are in the Brain documentation.

When should you use a reusable skill?#

Use a skill when the same procedure should apply to more than one agent, or when it is a how-to rather than a fact. A skill is a reusable set of instructions (SKILL.md format) that you can attach to any agent, such as "how we write proposals" or "how we close the month".

A quick rule of thumb:

  • Fact that you look up: put it in the Brain.
  • Behavior of one agent: put it in its instructions.
  • Procedure shared by several agents: make it a skill.

See the Skills documentation for how they are managed.

How do you test and adjust the answers?#

Test with real questions from your team, check what the agent used, and fix the source. Every request becomes a task in Tasks with full history: the request, each tool the agent used, and the result.

Here is a simple loop in DoubleX IA OS:

  1. Create the agent, or run the diagnostic to get a ready-made team with your company's instructions.
  2. Add instructions, upload documents to the Brain, and attach any skills.
  3. Connect the systems it needs and set which actions it can perform. Read-only is available for actions that change data.
  4. Ask it 10 to 15 real questions and review each task's history.
  5. Fix the cause: a wrong answer usually means a missing, vague, or conflicting note.

Copyable test requests:

  • "A customer wants a refund after 40 days. What does our policy say, and which note did you use?"
  • "Write a reply to a prospect asking for our pricing, using our proposal skill."
  • "List the steps to onboard a new supplier according to our process notes."
  • "What do you not know about our returns process? List the gaps."

Frequently asked questions#

Does the AI model learn from my documents permanently?#

No. The agent reads your Brain and instructions when it works, but your content is not used to train models. Delete or edit a note and the agent's answers change.

How many documents do I need to start?#

Start small: the five or ten documents your team references most. Test, see which questions fail, and add what is missing.

Can the agent act on its own after I teach it?#

Yes, through routines and triggers, such as a daily schedule or an incoming email. Before sending, deleting, or changing anything in your systems, the agent asks for confirmation. See the Triggers documentation.

What is the difference between a skill and a document in the Brain?#

A Brain document holds information the agent looks up. A skill is a reusable procedure, like a checklist for writing proposals, that you attach to agents.

Can I move knowledge I already built in ChatGPT or Claude?#

Yes. The MCP server lets ChatGPT, Claude, and compatible apps create agents and upload knowledge to the Brain. The most common use is migrating a Claude Project or a custom GPT. See ChatGPT and Claude (MCP).

Related guides

More Getting started guides