Skip to content

Knowledge: skills and knowledge bases ​

Two ways to give an agent what your organisation knows. A skill is guidance the agent always follows. A knowledge base is a set of documents the agent searches for the passages it needs.

At a glance ​

WhereSidebar → Build → Knowledge, tabs Skills and Knowledge bases
WhoViewer: look at everything, including document text and chunks. Author and above: create, upload, change, delete, and search
Before you beginFor knowledge bases: an embedding model key in the Vault (Azure OpenAI or Amazon Bedrock). For PDFs: a Docloom key

Which one do I need?

You want the agent to…Use
Always follow a style guide, checklist or procedureA skill, its text is added to the instructions on every run
Answer from manuals, policies or spreadsheets too large to paste into instructionsA knowledge base, the agent searches it and is handed only the relevant passages

Part A: Skills ​

A1. What a skill is ​

A skill is a reusable package of guidance, written in Markdown (a SKILL.md file, with optional YAML front matter). Attach it to any number of agents; update it once and every agent that uses it gets the new version when re-published.

Screenshot: Knowledge → SkillsSkills

The list can show All, Yours or Organization skills.

A2. Add a skill ​

  1. In Knowledge → Skills, click Add Skill.
  2. Under Upload SKILL.md, choose Paste (type or paste the Markdown) or File (upload it).
  3. Enter a Key (snake_case, the registry id), a Name and a Description.
  4. Click Create & publish.

Screenshot: Add SkillAdd Skill

ZIP import is not available yet.

A3. Use a skill ​

Open an agent → Skills → tick the skill → save, test and publish the agent.


Part B: Knowledge bases ​

B1. What a knowledge base is ​

A knowledge base holds the policies, manuals and spreadsheets an agent should answer from. You upload them once. Studio reads them, splits them into short passages (chunks), and embeds each passage, turns it into numbers that capture its meaning, so it can be found by meaning, not just by keyword. When an agent with the knowledge base gets a question, it searches first and is handed the best passages, each with its file and page.

StageWhat happensWhere
ReadPDFs become text through Docloom (scanned pages too). Word, CSV and Excel are read inside StudioPDFs leave the network to Docloom's hosted service; other files never leave Studio
SplitThe text is cut into chunks of a set size, with some overlapEvery cut is shown over the original text
EmbedEach chunk is embedded with the project's own model and keyAzure OpenAI or Amazon Bedrock

B2. Create a knowledge base ​

The list shows each knowledge base with how it is split and how many documents are searchable.

Screenshot: Knowledge → Knowledge basesKnowledge bases

  1. In Knowledge → Knowledge bases, click New knowledge base.
  2. Enter a Name and, optionally, a Description (what these documents are, for whoever attaches it to an agent).
  3. Optional: open Splitting and PDFs to choose the chunk size and add a Docloom key.
  4. Click Create knowledge base.

Screenshot: New knowledge baseNew knowledge base

Documents are read and split straight away, but they become searchable only once the knowledge base has an embedding model.

  1. Open the knowledge base → Settings → Search.
  2. Choose Azure OpenAI (an embedding deployment on your Azure resource) or Amazon Bedrock (a Titan or Cohere embedding model).
  3. Choose the API key from the vault, and fill in Endpoint, Deployment, Model and API version as your provider needs.
  4. Click Check connection, it embeds one word with these settings and saves nothing.
  5. Set Results per search (1–20): how many passages an agent is handed, best first.
  6. Save.

Screenshot: Knowledge base settingsKnowledge base settings

B4. Add documents ​

  1. Open the knowledge base and click Add files, or drop files on the page.
  2. Watch each file move through Uploaded → Read → Chunked → Searchable.

Screenshot: Documents, with the chunk mapKnowledge base documents

TypesPDF, Word (DOCX), CSV, Excel (XLSX)
SizeUp to 25 MB per file
Same name againReplaces that document in place, including its search entries. Identical content is refused

Click a document to see its steps, and its chunk map: the document's text with every chunk drawn over it. Try other settings re-splits that one document with different settings, without saving, so you can compare before changing the knowledge base. Read again re-reads a document (for example after changing PDF settings).

If a step fails, the document says why. Busy or unreachable services are retried automatically for about 13 minutes. A problem with the file itself fails at that stage; Try again resumes from there, so a PDF is not sent to Docloom twice.

  1. Open the Search tab.
  2. Type what an agent would ask, and choose how many results.
  3. Read the ranked passages: a relevance bar, the source file, page and chunk, and the query's words highlighted. Open in document jumps to that chunk in the chunk map.

Screenshot: SearchKnowledge base search

Search matches by meaning. The passages shown are exactly what an agent would be handed.

B6. Attach it to an agent ​

Open an agent → Knowledge → choose the knowledge base and How it searches:

ChoiceBehaviour
Searches it onceSearches with the question as asked. Fast; enough when questions use the documents' words
Search until it has enoughThe model rewrites the question and searches again when the first passages fall short. Slower; costs a model call per round

The passages it was given are shown with each run, with their file and page.

B7. Change settings safely ​

You changeWhat happens
How documents are split (Precise 300 · Balanced 500 · Contextual 1200 characters · Custom)Every document is split again and re-embedded. Nothing is re-read
The embedding model (provider, endpoint, deployment, model)Studio asks first, empties the search index and re-embeds every document
Only the key or API versionNothing is rebuilt; documents that failed or were waiting are tried again
Turn off searchStudio asks first. Search entries are removed; documents wait, read and split
Reading PDFs (Docloom key, OCR engine)Nothing is re-read automatically (reading is paid for). Use Read again per document

B8. Delete ​

Deleting a document or a whole knowledge base removes its search entries first. If the search service cannot be reached, the delete is refused and nothing is removed, Studio never says a document is gone while an agent could still find it.

B9. Good to know ​

  • Spreadsheets lose their rows. CSV and Excel files are flattened into column: value lines before splitting. Small, tidy tables work best.
  • Search is by meaning only for now; exact-keyword search is not offered yet.

Troubleshooting ​

SymptomLikely causeFix
Search not set up on a knowledge baseNo embedding modelSettings → Search
A knowledge base cannot be chosen in an agentIts search is not set upSet up search first
PDFs are refusedNo Docloom keySettings → Reading PDFs → choose a key
Documents stay at ChunkedSearch is off or not set upSet up search; they embed automatically
A document is RetryingDocloom, the model provider or the search service is busyWait; it retries for about 13 minutes
Check connection failsWrong endpoint, deployment or keyCompare with your Azure/AWS console
Delete refusedThe search service is unreachableTry again later
The agent's answers ignore the documentsPassages too small or too large, or too few resultsTry other settings; raise Results per search; try Search until it has enough

Copyright © 2026 elsai foundry.