
The Knowledge Bases list page showing all your knowledge bases
Creating a Knowledge Base
1
Navigate to Knowledge Bases
Click Knowledge in the sidebar to open the knowledge base management page.
2
Click Create
Click Create Knowledge Base. Enter:
- Name — A descriptive name (e.g., “Product Documentation”, “Blog Content”)
- Description — Optional context about what this KB contains
3
Configure settings
Knowledge bases are scoped to your organization. You can configure:
- Visibility — Private (org only), shared (linked orgs), or public
- Processing settings — Chunk size and overlap for document processing
4
Add content
Once created, you can start adding content through:
- Document uploads — PDF, DOCX, TXT, images, audio, video
- Web sources — URLs, RSS feeds, sitemaps
- Social connectors — Instagram, YouTube, Twitter
- Platform connectors — Substack, Medium, Ghost, and other blogs
Linking a Knowledge Base to an Agent
Knowledge bases are linked to agents through a many-to-many relationship. One agent can use multiple KBs, and one KB can serve multiple agents. To link a KB:- Open your agent’s settings.
- Navigate to the Knowledge tab.
- Use the search box under “Add knowledge bases” to find a KB by name, then select it. Linked KBs move to the Linked knowledge bases section at the top, where you can adjust per-KB retrieval settings or open a KB’s detail page.
- Save your changes.

The Knowledge tab in the agent editor for linking KBs
You can link multiple knowledge bases to a single agent. During chat, the agent searches across all linked KBs (up to 3 results per KB), deduplicates overlapping content, and presents a unified set of citations.
How Content Is Processed
When you add content to a knowledge base, it goes through a processing pipeline:- Loading — The document is parsed using LlamaParse (for PDFs and complex documents) or LangChain loaders (for simpler formats).
- Chunking — Text is split into manageable chunks (default: 1000 characters with 200-character overlap).
- Embedding — Each chunk is converted into a vector using Gemini Embedding 2 (3072-dimensional multimodal embeddings).
- Storage — Vectors are stored in Pinecone (production) or ChromaDB (local development) for fast similarity search.
- Graph extraction — Optionally, entities and relationships are extracted to build a knowledge graph.
- Summarization — Document summaries are generated for the KB document registry.
Document Status States
Each document in your KB shows its processing status:Knowledge Base Settings
After creation, you can manage your KB settings:- Edit name and description — Update metadata anytime
- View documents — Browse all uploaded and synced content
- View entities — See extracted entities and relationships from the knowledge graph
- Search — Run semantic search queries to test what your agent would find
- Delete — Remove the KB and all its content (this also removes links to agents)
Best Practices
Organize by topic, not format
Organize by topic, not format
Create separate knowledge bases for distinct topics (e.g., “Product Docs” and “Company Policies”) rather than by file type. This lets you link the right knowledge to the right agent.
Keep content high-quality
Keep content high-quality
The RAG system is only as good as the content it retrieves. Remove outdated documents, fix formatting issues, and ensure your content is clear and well-structured.
Test search before linking
Test search before linking
Use the KB search feature to test queries before linking to an agent. If the search returns irrelevant results, consider improving your content or adjusting chunk settings.
Use multiple KBs strategically
Use multiple KBs strategically
If your agent needs both product documentation and blog content, keep them in separate KBs. This lets you update each independently and potentially reuse them across different agents.

