Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Use with Agent

After binding a knowledge base to an Agent, the Agent can search and read authorized materials in multi-step tasks; when it is clear that the materials need to be updated, knowledge base management can also be enabled.

Regular chat is suitable for one-time Q&A, while Agent is suitable for ongoing research, comparison, file generation, and step-by-step acceptance. The Agent only accesses the knowledge bases bound in its configuration.

The difference between regular chat and Agent

Regular chat
Agent

Temporarily select a knowledge base before each message

Long-term binding in the Agent configuration

Suitable for instant Q&A and short comparisons

Suitable for multi-step research and file delivery

Mainly uses retrieved snippets to answer

Can search materials and manage knowledge bases by permission

The current conversation determines the scope of materials

The Agent configuration determines the accessible scope

Configure a read-only knowledge base Agent

1

1. First make sure the knowledge base has passed acceptance

Confirm the target materials are ready, and complete retrieval testing with real questions. The Agent cannot make up for missing content or incorrect chunking.

2

2. Open the Agent editing window

Go to [Work], select the target Agent, and open [Edit Agent] from the menu.

3

3. Bind the minimum necessary knowledge bases

Open the [Knowledge Base] tab and click [Add Knowledge Base]. Bind only the libraries needed for this task to avoid interference between cross-department or cross-version materials.

4

Open [Built-in Tools] and enable [Knowledge Base Search]. For read-only research, Q&A, summaries, and comparisons, this is usually enough.

Agent 内置工具设置中的知识库搜索和知识库管理能力
Search is for reading, management is for changing materials; start with the minimum permissions by default.
5

5. Test with a clearly bounded task

Ask the Agent to list the sources first, then give the conclusion; if the materials do not support it, state that clearly and do not fill in the gaps from common sense.

6

6. Verify the sources and deliverables

Check which knowledge base each conclusion comes from, whether facts and recommendations in the file are separated, and whether unsupported parts are marked.

How to choose between built-in tools, knowledge bases, skills, and MCP

说明 Agent 内置工具、知识库、技能和 MCP 各自用途的选择关系图
Use knowledge bases to look up materials, skills for repeatable methods, and MCP to access external systems; do not replace clear tasks with expanded permissions.

Knowledge base search and management

Capability
What it can do
Applicable tasks
Default recommendation

Knowledge base search

Search, list, and read bound knowledge bases

Q&A, research, summaries, comparisons

Keep enabled

Knowledge base management

Add, delete, or refresh knowledge base documents

Approved material maintenance

Disabled by default, enable temporarily as needed

How the Agent's configuration works together

模型分工、可用能力和安全边界共同作用于 Agent 任务与交付结果的架构图
The model determines understanding and generation, the knowledge base provides evidence, and permissions determine how far the Agent can act.

Research and generate a report

Find all rules about overseas business-trip approval and insurance in the bound knowledge bases. List the sources and conflict points first, then generate a Markdown checklist. Do not fill in anything that is not supported by the materials.

Update FAQ

Search the existing entries for accommodation reimbursement, and compare the latest policy with the old FAQ. First provide a list of proposed changes; refresh the relevant documents after approval.

Cross-knowledge-base comparison

Find evidence separately from the "Product Manual" and "After-sales Cases" knowledge bases, organized into three columns: "Official Rules / Real Cases / Suggested Wording." Keep the source name for each conclusion.

Configuration notes

Configuration item
Recommended starting point
When to add more
Risk control

Bind knowledge bases

1 task-related knowledge base

There is a real need for cross-knowledge-base comparison

Clearly state the purpose of each knowledge base in the prompt

Knowledge base search

Enable

As long as the task requires looking up materials

Verify whether the sources come from the bound scope

Knowledge base management

Disable

Clearly need to add, delete, or refresh

Approve item by item, and back up important materials first

Output requirements

Facts, inferences, and recommendations are separated

Need to generate a report or file

Keep the source name for each fact

User case

Xiaolin bound the [Official Manual] and [Review Cases] to the after-sales Agent, and enabled only knowledge base search. He asked the Agent to list safety warnings, official steps, and case suggestions by device model, and keep the three separate. When he found that old cases needed updating, he temporarily enabled the management tool, first reviewed the list of changes to be made, and then approved them.

The completion criteria are: the Agent does not access unbound materials, does not write case suggestions as official rules, and all write operations have clear targets and acceptance results.

Acceptance of results

  • Sources come only from the knowledge bases bound to the current Agent.

  • The search results cover every condition in the task.

  • The deliverable separates material facts, Agent inferences, and recommendations.

  • Management actions explain the target, impact, and result.

  • After updating the materials, rerun the fixed retrieval questions.

FAQ

Regular chat can find it, so why can't the Agent find it?

Check whether the target knowledge base is bound to the current Agent, and whether [Knowledge Base Search] is enabled. The binding scope of different Agents is not inherited.

When should knowledge base management not be enabled?

For read-only research, shared team policy libraries, and historical archives, only search should be enabled by default. If updates are needed, temporarily enable management and approve items one by one.

What should the Agent do if it wants to operate on an unbound knowledge base?

Do not expand to all knowledge bases. After confirming the task really requires it, add the target knowledge base to the current Agent, or switch to an Agent that already has that knowledge base bound.

Continue reading

Last updated

Was this helpful?