rtrvr.ai logo
rtrvr.ai
PricingBlogDashboard

Core Agent

Getting StartedWeb AgentSheets Workflows

Building Blocks

Recordings & GroundingTool CallingKnowledge Base (RAG)

Platform Access

API OverviewAgent APIScrape APIBrowser as API/MCP

Automation

ShortcutsTriggers & WebhooksSchedules

Account & Security

Cookie SyncPermissions & Privacy
DocsKnowledge Base (RAG)

Knowledge Base (RAG)

Index web pages into a searchable knowledge base powered by Gemini File Search — then query it from the extension, cloud, or during agentic workflows.

3 min read

The Knowledge Base lets you index web pages into a Retrieval-Augmented Generation (RAG) store powered by Gemini File Search. Once indexed, you can query your stored documents during agentic workflows or chat with your knowledge base directly — perfect for research, documentation lookup, and building persistent context the agent can reference anytime.

Adding Pages

Index any open browser tab into a knowledge base. Each page's content is extracted, chunked, and embedded for semantic search.

  • Click the Database (KB) icon in the chat toolbar
  • Create a new knowledge base or select an existing one
  • Click "+" on a store to open the Add Pages modal
  • Select one or more open tabs and click "Add Pages"
  • Pages are indexed and searchable within seconds
You can also add pages during an agentic workflow — the agent can index pages it visits on your behalf.

Updating Indexed Pages

Re-index a URL at any time to refresh its content. If you add a page that's already in the store, the old version is automatically replaced — no duplicates. Great for pages that change frequently like dashboards or documentation.

Chat with Your Knowledge Base

Switch to Knowledge Base mode using the Agent Mode selector (bottom-left of chat input). When a KB is selected, the mode automatically switches to "KB" — all your questions are answered from your indexed documents with citations and source references.

  • Select a knowledge base from the Database dropdown
  • The Agent Mode automatically switches to "KB"
  • Type your question — the agent searches your indexed documents
  • Responses include citations linking back to source pages
text
Example:
  Index 20 API docs → Ask "How do I authenticate with OAuth?"
  → Get a cited answer pulled from your indexed documentation

KB as Agent Context

Beyond direct chat, the knowledge base serves as context during full agentic workflows. When a KB is selected and you use Auto (Planner) mode, the agent can reference your indexed documents while planning and executing multi-step tasks — grounding its decisions in your specific documentation.

Managing Stores & Documents

  • Click the Database icon to open the KB dropdown
  • Click the chevron to expand a store and view its documents
  • Use the "×" button on a document to remove it
  • Use the trash icon to delete an entire knowledge base

Credits & Pricing

Knowledge base operations always use platform credits — your personal Gemini API key is not supported for KB operations due to permissioning requirements.

OperationCost
Indexing pages~15 credits per 1M tokens (based on Gemini embedding rate)
KB queriesStandard model pricing (Flash is cheapest)
Your own Gemini API key is always ignored for KB operations. Platform credits are always consumed.

Tips for Best Results

  • Index documentation, articles, and text-rich pages for best results
  • Use descriptive store names to organize by project or topic
  • Re-index pages after major content updates
  • Start with Flash model for queries — upgrade to Pro for complex reasoning over your docs
  • Clean, text-heavy pages work best — interactive apps or heavily JS-rendered pages may yield less useful results

Platform Availability

CapabilityExtensionCloudAPI
Create / manage KB stores✅✅—
Index pages into KB✅✅ (agent can index during execution)—
Chat with KB (direct query)✅✅—
KB as agent context✅✅✅
Sync across devices✅✅—
Previous
Tool Calling
Next
Triggers & Webhooks

On this page

Adding PagesUpdating Indexed PagesChat with Your Knowledge BaseKB as Agent ContextManaging Stores & DocumentsCredits & PricingTips for Best ResultsPlatform Availability

Ready to automate?

Join teams using rtrvr.ai to build playful, powerful web automation workflows.