For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
The Agent Knowledge Base API enables RAG (Retrieval Augmented Generation) support for conversational AI agents. Teams can upload documents, URLs, or plain text as “knowledge items” which are processed (extracted, chunked, embedded, and indexed) and then attached to agents for context-aware responses.
What is Agent Knowledge Base?
Agent Knowledge Base allows agents to:
Access Information: Retrieve relevant context from uploaded documents, URLs, or text
Answer Questions: Provide accurate responses based on indexed knowledge
Stay Up-to-Date: Re-ingest content when sources change
Scale Responses: Handle domain-specific queries with confidence
Core Concepts
Knowledge Item
A unit of knowledge (document, URL, or text) that belongs to a team. Knowledge items can be:
Documents: PDF files up to 25MB
URLs: Web pages with HTTP/HTTPS protocols
Text: Plain text up to 10,000 characters
Agent Knowledge Item
A join relationship that attaches a knowledge item to an agent. Knowledge items can be shared across multiple agents.
RAG Configuration
Per-agent settings for how knowledge retrieval works:
search_mode: Choose between "speed" (faster, less thorough) or "accuracy" (more thorough)
max_chunks_per_query: Number of relevant chunks to retrieve per query (must be > 0, default: 8)
Knowledge Item Lifecycle
Created (pending) → Processing → Ready (can attach to agents)
→ Failed (error_message explains why)
Status Definitions
Status
Description
pending
Created, waiting for ingestion to start
processing
Currently being extracted, chunked, embedded, and indexed
ready
Successfully processed, can be attached to agents
failed
Processing failed, check error_message for details
Key Features
Flexible Content Sources
Upload knowledge from multiple sources:
PDF documents with automatic text extraction
Web pages for dynamic content
Direct text input for quick knowledge additions
Automatic Processing
The platform handles all processing automatically:
Extraction: Extract text from PDFs or fetch from URLs
Chunking: Split content into optimal-sized chunks
Embedding: Generate vector embeddings for semantic search
Indexing: Store in search index for fast retrieval
Re-Ingestion
Update knowledge when source content changes:
Re-run the entire ingestion pipeline
Rate limited to 1 request per minute per item
Cannot re-ingest items currently processing
RAG Search Modes
Choose the right balance for your use case:
Speed Mode: Faster retrieval with less thoroughness
Accuracy Mode: More thorough retrieval for critical applications
API Resources
The Knowledge Base API is organized into two scopes: