> ## Documentation Index
> Fetch the complete documentation index at: https://docs.neuralfactory.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Skills, knowledge bases and toolkits

> The three things you can give an agent, and how to choose between them.

An agent is an AI assistant that works on tasks for you, and what it can do depends on what you give it. You can give it documents to search (knowledge bases), written ways of doing a kind of work (skills), and connections to other services it can act in (toolkits).

## The three, side by side

| | Knowledge base | Skill | Toolkit |
| - | - | - | - |
| What it gives the agent | Documents to search | A way of doing one kind of work | A connection to another service |
| The question it answers | What does our material say? | How do we do this here? | What can the agent do in that service? |
| What it holds | Files, FAQ spreadsheets, or files synced from SharePoint or Google Drive | Written instructions, with optional examples and Word or Excel templates | The connection details and credentials, and a set of tools |
| When the agent uses it | It searches when a question needs your documents | It loads the skill when a request matches the skill's description | It calls a tool when the task needs one |
| Where you add it to an agent | **What it knows** › **Knowledge Bases** | **What it knows** › **Skills** | **What it can do** › **External Toolkits** |

Besides toolkits, every agent has core tools you switch on or off under **What it can do**, such as **Web search**, **Code execution** and **File editor**. An agent searches its knowledge bases only when **Knowledge search** is on there.

## How to choose

Start from what is missing when the agent gets something wrong:

* It does not know the facts, such as your leave policy or your price list. Add a knowledge base with those documents.
* It knows the facts but does the work differently from your team, for example it checks an invoice in the wrong order or uses the wrong letter layout. Write a skill.
* It cannot reach the place where the work happens, such as a Jira project or a mailbox. Add a toolkit.

Most agents need more than one. Instructions describe the agent's whole job; a skill describes one kind of task and can be attached to several agents.

## An example

An accounts payable agent checks supplier invoices.

* A knowledge base holds the purchasing policy and the list of approved suppliers. The agent searches it to see whether a supplier is approved and cites the policy.
* A skill called `invoice-check` says how your team checks an invoice: match it to the purchase order, check the VAT number, then fill in a Word template for the approval note.
* A Jira toolkit lets the agent open a ticket when an invoice fails the check.

## SharePoint and Google Drive appear twice

Both can be a knowledge base source and a toolkit, and they do different things:

* As a knowledge base source, the files are synced and indexed, so the agent searches them and cites the passages it used.
* As a toolkit, the agent lists the files the connection may see and downloads one to read it while it works.

Choose the knowledge base when people ask questions about the documents. Choose the toolkit when the agent must find and read a particular file during a task.

## Who adds them

* Knowledge bases and skills: Admins and Members. Viewers (Enterprise) benefit from them only through the agents they use.
* Toolkits: Admins.
  * **SaaS**: Members of a Business organization also add toolkits of their own. On a personal account, every toolkit is yours and is not shared.
  * **Enterprise**: Members use the toolkits shared with them, and do not add or change toolkits.

You can attach to an agent only the knowledge bases and skills you have access to. Once attached, they work for everyone who may use the agent.

## Where you see this in the app

* **Knowledge** › **Knowledge bases**. See [Knowledge bases overview](https://docs.neuralfactory.ai/user-guide/knowledge-bases/overview.md).
* **Knowledge** › **Skills**. See [Skills](https://docs.neuralfactory.ai/user-guide/skills/overview.md).
* **Integrations** › **Toolkits**. See [Toolkits overview](https://docs.neuralfactory.ai/user-guide/toolkits/overview.md).

## Next

* [Memory and context](https://docs.neuralfactory.ai/user-guide/concepts/memory-and-context.md)
* [Connect your tools](https://docs.neuralfactory.ai/user-guide/guides/connect-your-tools.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.