superagnt

Knowledge base for AI agents

An AI agent knowledge base is a set of documents your agent searches by meaning before it answers, so it quotes your policy instead of guessing. Your agent builds one from Claude, ChatGPT or Codex: add a URL or a file, wait until it reads ready, and search it, with no vector database of your own to run.

// platform tool

What it touches: the documents you add to a collection, split into chunks and embedded inside your workspace. Search only reads them, and a URL is fetched only when you add or re-index it.

updated Nov 3, 2026

Copy the setup prompt.
Your agent does the rest.

works with any agent+ 8 more
Install superagnt for me. It's the superagnt plugin from the github.com/superagnt/plugins marketplace, plus the superagnt MCP server (on Claude it's a connector I add in my browser; elsewhere I sign in through my browser). The setup guide for each kind of agent is at https://www.superagnt.com/install
or follow the detailed setup instructions

» the knowledge tools are on every server, and every plan includes knowledge bases: plans differ only in how many collections and documents you keep and how much file storage they hold.

01// compared

Knowledge base, memory, database or files: which does your agent need?

A knowledge base holds documents an agent must quote correctly. The other three stores hold different things, and an agent usually needs more than one:

StoreHoldsThe agent reaches it by
Knowledge basePolicies, procedures, product docs, pricing rules, transcriptsSearching by meaning before it answers
MemoryPreferences and stable facts it learns along the wayRecall at the start of each turn
DatabaseRows: leads, orders, run results, anything you count or filterSQL and typed reads
FilesInputs and outputs: uploads, exports, reportsListing and reading a file
02// what is inside

What can your agent do with knowledge bases?

Collections

agnt_knowledge_write with action create_collection makes the retrieval unit an agent is bound to, with chunk size, overlap and a refresh schedule.

Documents from URLs or files

Add a web page by URL or a workspace file. Indexing runs in the background, and list_documents shows pending, indexing, ready or error.

Semantic search

agnt_knowledge_read with action search returns the best-matching chunks with their source document, a similarity score and when the source was last read.

Re-index on demand

action ingest reads a document again when its source changed, or after an error.

Refresh on a schedule

A collection set to refresh daily or weekly re-reads its URL documents, so a page that changes upstream doesn't go stale.

Bound per agent

An agent searches only the collections bound to it, which is how one workspace keeps support, sales and internal knowledge apart.

tool names2 tools // 6 actionsas a new server lists them
  • agnt_knowledge_writeaction: create_collection · add_document · ingest
  • agnt_knowledge_readaction: list_collections · list_documents · search
per-operation names06older servers list these
agnt_knowledge_create_collectionagnt_knowledge_add_documentagnt_knowledge_ingestagnt_knowledge_searchagnt_knowledge_list_collectionsagnt_knowledge_list_documents
03// recorded run

What does a real call return?

A run we recorded on superagnt, with the result trimmed to fit. Nothing on it is invented: the date, the wall time and the cost are the run's own.

recorded runrecorded Nov 3, 2026, 17:15 UTC · wall time 8.6 s · 7 calls · no charge

asked Build a knowledge base from our credits docs, and tell me what happens when the trial credit runs out.

  1. → call 1agnt_knowledge_write
    { "action": "add_document", "collection_id": "8525bb1b-…", "kind": "url", "name": "Credits and 402s", "config": { "url": "https://www.superagnt.com/docs/troubleshooting/credits" } }
    ← resulttrimmed
    "status": "indexing",
    "note": "Indexing started in the background. Poll list_documents until this document reports ready before searching it."
  2. → call 2agnt_knowledge_read
    { "action": "list_documents", "collection_id": "8525bb1b-…" }
    ← resulttrimmed
    poll 1: "status": "pending",  "indexing_in_progress": 1
    poll 2: "status": "indexing", "indexing_in_progress": 1
    poll 4: "status": "ready", "last_synced_at": "2026-11-03T17:15:34.15Z", "indexing_in_progress": 0
  3. → call 3agnt_knowledge_read
    { "action": "search", "collection_id": "8525bb1b-…", "query": "What happens when the trial data credit is spent?", "top_n": 2 }
    ← resulttrimmed
    "similarity": 0.70,
    "document": { "name": "Credits and 402s", "kind": "url" }, "live": true,
    "content": "...trial_data_grant_spent On the trial: the one-time data credit is spent,
    so data calls are paused. Everything else keeps working until the trial ends. ..."

» The run created the collection first and polled list_documents four times. No data credits were charged for the indexing or the search.

04// answered

What should I put in an agent's knowledge base, and what should stay out?

Put in what the agent must get right and can't read from a live tool: policies, procedures, product and pricing docs, contract terms, call transcripts and FAQs. Keep out what changes by the minute or lives in a system of record, such as order status or account balances: give the agent the tool or the database for those. Keep out secrets too: anything in a collection can surface in an answer.

05// measured

How long until a new document is searchable?

Seconds for a page, a minute or so for a long document. add_document returns before indexing finishes, so poll list_documents until the document reads ready before you trust a search: a search two seconds after adding a long file returned only the part already indexed.

DocumentChunk sizeAdded to ready
One docs page by URL (Credits and 402s)512 characters5.5 and 6.1 seconds, two runs
One docs page by URL (Errors)512 characters5.2 seconds
12 docs pages in one 102 KB markdown file512 characters (239 chunks)81 seconds
The same file1,024 characters (114 chunks)37 seconds

sample · Our own docs, indexed on Nov 3, 2026; times from the document's created and last-synced timestamps

06// answered

What chunk size should I use?

Chunk size here counts characters, not tokens: the default 512 with a 64-character overlap is about 100 words, a paragraph of prose. Raise it to 1,024 or more for reference tables, code and dense technical pages, where a small chunk separates a row from the header that gives it meaning. A bigger chunk also indexes faster: the same 102 KB file made half as many chunks and was ready in 37 seconds instead of 81.

07// answered

How do I know it returns the right answer before customers see it?

Test it the way you would test an employee. Write 20 questions you know the answers to, include exact strings such as error codes, plan names and SKUs, run each through agnt_knowledge_read with action search, and check that the chunk holding the answer is in the top 3. Search matches by meaning only, with no keyword or reranking step, so exact identifiers are where it slips first. Keep the set and run it again after every change to the documents or the chunk size.

08// answered

How do I stop it going stale, and who updates it?

A URL document is a live reference: re-index it with action ingest, or set the collection to refresh daily or weekly and it re-reads the page on that cadence. A file document is a snapshot: upload the new version and add it, then remove the old one. Give one person each collection to own, and a schedule can ask an agent to re-index and re-run your test questions every week.

09// answered

What happens when two versions of a document disagree?

Search returns both if both match: nothing prefers the newer one for you. Each match carries its document, whether it is a live URL, and when it was last read, so an agent can be told to prefer the newest source. The fix that lasts is one source of truth per topic: remove the old version when you add the new one.

10// answered

Do I need a separate vector database?

Not for this: collections are stored and searched inside superagnt, with nothing to host or connect. If you want your own embeddings next to your rows, the workspace database runs Postgres with pgvector, and a nearest-neighbour query over 10,000 vectors came back in under a second in our test.

11// what it gets used for

What do people use it for?

01

Answer from your docs, not from training data

Load product documentation into a collection. The support agent searches it before replying and cites the document each chunk came from.

02

Policy the agent has to follow

Put pricing rules, discount policy and contract terms in a collection, so an agent checks the current rule instead of repeating what it saw in an old thread.

12// cost

What does it cost?

The tools carry no per-call price: every plan includes them, and plans differ only in how much they hold. Plans are Starter $49 a month ($20 of data credit included), Growth $149 a month ($90) and Scale $399 a month ($300), and the no-card trial gives $3 of data credit with Growth limits.

  • Knowledge collections: Starter 3, Growth 15 and Scale 50.
  • Knowledge documents: Starter 500, Growth 5,000 and Scale 25,000.
  • Knowledge file storage: Starter 2 GB, Growth 20 GB and Scale 100 GB.
13// questions

What do people ask before they wire it up?

01What should I put in an agent's knowledge base, and what should stay out?

Put in what the agent must get right and can't read from a live tool: policies, procedures, product and pricing docs, contract terms and transcripts. Keep out live data such as order status, which belongs in a tool or a database, and keep out secrets, since anything in a collection can surface in an answer.

02How do I know it returns the right answer before customers see it?

Write 20 questions you know the answers to, including exact strings like error codes and plan names, search each one and check the answer's chunk is in the top 3. Search matches by meaning only, so exact identifiers are the first thing to test. Re-run the set after every change.

03How do I stop it going stale, and who updates it?

Set a collection to refresh daily or weekly so its URL documents are re-read, or re-index one with action ingest when you know it changed. Files are snapshots: upload the new version and remove the old one. Give each collection one owner.

04What happens when two versions of a document disagree and the agent pulls the old one?

Search returns both if both match, and nothing prefers the newer one automatically. Each match shows when its source was last read, so the agent can be told to prefer the newest, but the fix that lasts is removing the old version when you add the new one.

05What chunk size should I use?

Chunk size counts characters here: the default 512 with 64 overlap is about 100 words and suits prose. Use 1,024 or more for tables, code and dense reference pages. Larger chunks also index faster: our 102 KB file was ready in 37 seconds at 1,024 against 81 at 512.

06Do I need a separate vector database?

No. Collections are stored and searched inside superagnt. If you want your own embeddings next to your rows, the workspace database runs Postgres with pgvector.

14// keep going

What else can your agent reach?