query_knowledge_sources tool. The model calls it during a run to search across all assigned sources and pull the most relevant documents into its answer.
Configuration
Before creating a Knowledge Base, open Settings > Knowledge and configure both an embedding model and a reranking model. Neither Knowledge Bases nor connectors can be used until both are set.Embedding Configuration
Pick the API key and embedding model. The model vectorizes ingested documents for semantic search. It is locked once saved — both indexing and querying must use the same model. To change it, click Drop to clear the index; all documents are re-embedded on the next sync.Supported embedding dimensions: 768, 1536, 3072. If your key does not appear, go to LLM Providers > Models, sync the provider, and set the dimensions for the embedding model.
Reranking Configuration
Pick the LLM key and chat model that scores and reorders search results by relevance. Any configured LLM provider key and chat model can be used here — this is separate from the embedding model.
How Retrieval Works
Connectors run on a cron schedule, pulling documents that are chunked and embedded into PostgreSQL with pgvector. At query time, the agent’s input is embedded and then both vector search and optional full-text search run in parallel. Results are fused using Reciprocal Rank Fusion, reranked by the configured LLM, and filtered by ACL before being returned to the agent.The entire RAG stack runs within PostgreSQL — no external vector database is required.
Creating a Knowledge Base
A Knowledge Base is a named collection of connectors. Create one from the Knowledge page, then assign one or more connectors to it. The same Knowledge Base can be reused across multiple agents and MCP Gateways.1
Open the Knowledge page
Navigate to Knowledge in the left sidebar and click New Knowledge Base.
2
Name and save
Give the Knowledge Base a descriptive name and click Create.
3
Add connectors
Inside the Knowledge Base, add one or more connectors to pull data from your external systems.
4
Assign to an agent
Open the agent’s edit dialog, scroll to Knowledge Sources, and select the Knowledge Base.
Files (Static Uploads)
Files are static documents uploaded from Knowledge > Files and assigned directly to agents or MCP Gateways. Use files when you want reusable retrieval from individual documents without setting up an external connector. Supported file types:.txt, .md, .csv, .json, .xml, .pdf
Files use the same visibility model as other knowledge resources:
Chat attachments stay with one conversation. To reuse an attachment across sessions, save it to Knowledge > Files from within the chat.
Connector Visibility
Each connector has a visibility setting that controls which users can retrieve its data when an agent callsquery_knowledge_sources. Users only see sources they have access to, and only those can be assigned to agents.
Users with the
knowledgeSource:admin role can view and query every connector regardless of visibility.
Supported Connectors
Jira — Issues and Comments
Jira — Issues and Comments
Syncs issue descriptions, comments, and metadata from Jira Cloud or Server.Authentication: Atlassian account email and an API token.
Confluence — Wiki Pages
Confluence — Wiki Pages
Syncs pages from Confluence Cloud or Server.Authentication: Same Atlassian email and API token used for Jira.
GitHub — Issues, PRs, and Files
GitHub — Issues, PRs, and Files
Syncs issues, pull request discussions, comments, and selected repository files from GitHub.com or GitHub Enterprise Server. Defaults to Markdown and YAML files when repository file indexing is enabled.Authentication: Personal access token, or a GitHub App configured under Settings > GitHub Apps.
Notion — Pages and Databases
Notion — Pages and Databases
Syncs pages from a Notion workspace.Authentication: Notion integration token (starts with
secret_). Create an internal integration and share the relevant pages or databases with it.Google Drive — Files and Workspace Docs
Google Drive — Files and Workspace Docs
Syncs files from My Drive and Shared Drives. Supports
.txt, .md, .csv, .json, .xml, .html, .yaml, .docx, .pdf, .pptx, Google Docs, Sheets, and Slides. Image files are indexed when a multimodal embedding model is configured. Files larger than 10 MB are skipped.Authentication: Service account JSON key (recommended) or a short-lived OAuth2 access token with drive.readonly scope.Salesforce — CRM Records
Salesforce — CRM Records
Syncs CRM records from a Salesforce org. Defaults to
Account, Contact, Opportunity, and Case.Authentication: Salesforce username, password, and security token. Enter the password directly concatenated with the security token in the Password + Security Token field (no separator).Example advanced config:
Other Supported Connectors
Other Supported Connectors
Archestra also ships connectors for:
- GitLab — issues and merge request discussions from GitLab.com or self-hosted instances
- Asana — tasks and user comments from selected Asana projects
- ServiceNow — incidents, change requests, problems, and business applications
- OneDrive — files from OneDrive for Business personal drives (work/school accounts only)
- Dropbox — text and source files from Dropbox accounts or team folders
- Linear — issues, projects, and cycles from a Linear workspace
- Outline — published documents from an Outline workspace
Assigning a Knowledge Base to an Agent
1
Open the agent
Go to Agents in the left sidebar and click the agent you want to attach knowledge to, or create a new one.
2
Open Knowledge Sources
In the Edit Agent dialog, scroll to the Knowledge Sources section.
3
Select sources
Click Select connectors or knowledge bases and pick one or more entries from the Knowledge Bases and Connectors lists. An agent can be assigned multiple Knowledge Bases and individual connectors simultaneously.
4
Save
Click Update to save. The agent now has a
query_knowledge_sources tool that searches across everything attached to it.Managing Connectors
Open any connector from the Connectors page to:- Toggle enabled/disabled — suspends or resumes the cron sync schedule
- Trigger sync — runs an immediate sync outside the schedule
- View indexed documents — browse, preview, and delete documents produced by the connector
- View runs — see sync history with status, document counts, and any errors