The Knowledges app exposes the Prisme.ai Knowledges API (/v1/knowledge_bases*) — the RAG layer where documents and crawled web pages are chunked, embedded and searched. It can be consumed two ways: as a remote MCP server that Agent Creator agents call as tools, or as a Builder app whose instructions you call directly from DSUL. Unlike third-party connectors, there is no credential to paste: the connector runs in the installing workspace’s app-instance context and forwards the caller’s own Prisme.ai identity to the Knowledges backend, which applies that caller’s permissions. An agent therefore sees exactly the knowledge bases its user is allowed to see. Three entity tools cover 20 operations: knowledge bases, their documents and their web crawl sources.
Knowledge bases
Create, list, update and delete knowledge bases; tune embedding model, chunking and parsing.
Documents
Attach files and URLs, follow indexing status, inspect chunks, reindex, resolve download links.
Search & crawl
Semantic search with tag filters, plus web crawl seeds with per-seed metrics and recrawl.
Who is this for?
This connector is used by three different roles. Jump to the section that matches yours; each one is self-contained.Agent builder
You build agents in Agent Creator and want them to manage or search knowledge bases. → Agent builder tab.
Platform admin
You run the platform and want to publish Knowledges as a reusable capability. → Platform admin setup accordion below.
Workspace builder
You write Builder automations (DSUL) that manage knowledge bases directly. → Workspace builder tab.
Prerequisites
- A Prisme.ai account on the same instance as the workspace running the connector. No API key, OAuth client or third-party account is required — the connector calls the platform’s own Knowledges backend.
- Permission on the knowledge bases you intend to reach. Every call inherits the caller’s own permissions: a user sees the knowledge bases they own or that were shared with them, and nothing else.
- (Optional) A service access token, if you want the connector to act under a fixed identity instead of the caller’s — for example an unattended automation that must always reach the same knowledge base.
Knowledge bases created through this connector are the same objects you see in the Knowledges product UI. The connector adds automation and agent access on top of them; it does not create a separate store.
Knowledges replaces the deprecated Storage connector, which exposed the same knowledge bases under the older
vectorStores naming. Two things live only on that older connector: per-knowledge-base API keys and RBAC access bindings, and agent skills plus admin diagnostics. Keep it installed if you need those; use Knowledges for everything else.Platform admin (Governance): one-time platform setup
Platform admin (Governance): one-time platform setup
Goal: Knowledges needs no platform-level credential. There is no OAuth client to register and no shared secret to provision: the connector authenticates every call as the caller. The only platform task is to publish Knowledges as a reusable capability in AI Governance, so agent builders can enable it from the catalog instead of pasting a raw MCP endpoint.
Each workspace that installs the app gets its own MCP endpoint and its own agent allowlist. A capability you declare here points at one workspace’s endpoint; that workspace still decides which agents may call it.
Declare the capability in AI Governance (optional)
1
Open AI Governance > Capabilities
Create (or edit) the Knowledges capability.
2
Point it at the MCP endpoint
Set the capability’s MCP server URL to the connector’s MCP Endpoint (the workspace running the connector), and set its Scope to:
agent_id is what lets Agent Creator identify the calling agent, and attachment_urls passes the URLs of files the user uploaded in the chat so the agent can ingest them.3
Make it available to agent builders
Once created, the capability appears in the capability picker for agent builders in your organization. Access to the catalog follows your organization’s existing roles; there is no per-capability role grant for this connector.
- Agent builder (Agent Creator)
- Workspace builder (DSUL)
Agent builder
Goal: let an agent you build in Agent Creator create knowledge bases, ingest documents and search them through MCP tools.Before an agent can call the connector, a Workspace builder must have installed the Knowledges app in a workspace (see the Workspace builder tab). Optionally, a Platform admin may have published a Knowledges capability in AI Governance (see the Platform admin setup accordion above).
1
Install the connector in your workspace
Follow the Workspace builder tab: install Knowledges in your workspace. The default authentication mode needs no configuration.
2
Add the MCP capability to your agent
In your agent, add a capability pointing at your workspace’s MCP Endpoint URL, and set its Scope to:
agent_id lets Agent Creator identify the calling agent — without it the connector cannot tell which agent is calling and rejects the call. attachment_urls carries the URLs of files the user uploaded in the conversation, which the document tools can ingest directly.3
Authorize the agent
Open the connector’s configuration app from the app instance, go to Authorized agents, tick your agent and save — or enable Allow all agents. The Install capability button does both steps (declare the capability, allow the agent) in one click.
4
Brief the agent in its system prompt
Wiring the capability is not enough: the agent also needs to know the MCP exists and when to reach for it. Add a short paragraph to the agent’s system prompt. Copy-pasteable starter:Refine the trigger keywords (knowledge base names, business domains, typical user phrasings) so the agent reliably picks up the right intent in your context.
Restricting to read-only (least privilege). The connector never forces write permissions: it acts as the caller, so what an agent may do is exactly what its user may do on each knowledge base. To make an agent read-only, share the target knowledge bases with the calling users in a read role rather than as owners — write calls then fail with
403 while search keeps working (the connection itself stays healthy, since every check is a read). When the workspace uses the service token mode instead, back the token with an account that only holds read bindings. This is enforced by the Knowledges backend on every call, not by the connector, so it is a hard boundary rather than a declarative hint.Legacy AI Knowledge agents (no native MCP picker): add the connector under Advanced > Tools > MCP and paste the MCP Endpoint URL. Identity is still resolved server-side.
Available Tools
The MCP server exposes three entity-level tools, each dispatching across its actions through anaction argument.knowledges
documents
webSources
Output Formats
Every tool accepts anoutputFormat argument that controls the MCP response shape:verbose(default): human-readable text for LLM consumption.structured: machine-readable JSON instructuredContent.both: both text and structured content.
Tool Details
knowledges (action: create)
knowledges (action: search)
documents (action: add)
* At least one of
source_url / native_file_id is required. Adding a source that already exists returns 200 with the same document id and reschedules indexing, so re-running an ingestion never creates duplicates.documents (action: get)
Returns the document with its indexing state:
status (queued, in_progress, completed, failed, fetch_expired, rejected), last_error and indexed_at. This is the call to make when a user asks “is my file ready?”.webSources (action: add)
Error Handling
The Knowledges API uses standard HTTP status codes.Common Issues
“This agent is not authorized to use this connector”: the calling agent is not in the connector’s allowlist. Open the configuration app → Authorized agents, tick the agent and save, or enable Allow all agents. The Install capability button does this for you. “The calling agent could not be identified”: the MCP capability does not inject the agent id. Set its Scope tocontext_id,agent_id,user_id,attachment_urls and retry.
401 from a cron or a webhook: scheduled runs and anonymous webhooks carry no user identity to forward. Switch the app instance to the service token mode so the connector acts under a fixed identity.
A search returns nothing while the UI shows documents: check the documents’ status with documents.get. Sources still queued or in_progress are not searchable yet, and a failed document reports why in last_error.
A filter matches nothing: only tags.* fields are filterable, the match is exact, and tags must have been set as a key/value object at ingestion time ({"department": "hr"}, not ["hr"]).
Re-adding a file creates no new document: this is intended. documents.add is an idempotent upsert on the source key — the same source_url or native file returns the existing document id and reschedules indexing.
Deleting a document leaves the file in place: also intended. documents.delete detaches the source and drops its vectors; the native platform file is never deleted by the connector.
External Resources
Knowledges
How knowledge bases, ingestion and RAG work in the Knowledges product.
Tool Agents
Learn how Agent Creator agents consume MCP tools in Prisme.ai.