Skip to content
Back to the app

Vault ​

Workspace → Vault (/workspace/vault): the knowledge your agents may cite, the rules they must follow, and the tests a workflow has to pass before release.

TabWho can change it
KnowledgeEditors and above add documents
MemoryEach person sees and clears their own; shared values: see Memory
GuardrailsAdmins and owners
ChartersEditors draft and submit; admins and owners approve, reject and retire
Proving setsEditors and above create, edit and run them

Knowledge ​

Agents retrieve and cite these documents when they work.

  1. Add a document: a Title (e.g. "Claims handling SOP v4"), the Text, and a Classification: Public, Sensitive or Restricted.
  2. Optionally limit it to some agent domains (comma-separated, e.g. insurance, retail-banking). Leave it empty to make it available to every agent.
  3. Store document.

A step only ever sees documents at or below the classification it is allowed to read (set under Guardrails, and per agent in its charter). Embeddings are computed by the model server inside your deployment.

Documents are searched two ways at once: by meaning, so a question worded differently from the document still finds it, and by words, so an exact term such as an invoice number, a container number or a clause reference finds the passage that contains it. A passage containing an identifier from the question is listed first. If the model server cannot be reached, the search by words still runs, and the step says that it matched on words only.

Synced folders ​

Synced folders keeps a SharePoint, OneDrive or Google Drive folder in the vault. Connect Microsoft 365 or Google Drive under Integrations first, then give the folder (a path under the drive root for SharePoint, the folder id for Drive), a label, and the classification and agent domains to apply to every file in it. Every file becomes a document titled by its name and cited by its link, so a Knowledge step's answer points at the file a person can open. The folder is read again every night at 03:00 and whenever you press Sync; a file removed from the folder is removed from the vault. PDF, Word, text, CSV and JSON files are read; Google Docs and Sheets are exported; other types are skipped and named in the sync result.

The folder is read with the connection of the person who connected it, so agents see what that person may see there. Readers' individual permissions in SharePoint or Drive are not mirrored: choose the classification accordingly.

Four more kinds of source work the same way: read every night and on Sync, one document per file, page or row, removed here when removed there.

  • Object storage: a bucket, or a folder in one, on any S3-compatible store, including one you run yourself. Give it as bucket or bucket/folder, with the store's endpoint, an access key id and a secret access key (and a region if your store uses one). The files under that folder are read, subfolders included, in name order, up to 100 files of 15 MB each. When the folder holds more, the sync is marked partial and says only the first 100 were read. The connection is stored encrypted and reused for your other buckets; use a key that can only read. Documents are cited as s3://bucket/path. Agents see what that key may see.
  • Web pages: up to 25 page addresses. Each page becomes a document titled by its page title, with scripts, styles, navigation, headers and footers left out. Pages are read as any visitor would read them, so nothing behind a sign-in is read, and links are not followed: only the pages you list. PDF and text files at an address are read too.
  • Azure Blob: a container, or a folder in one, in an Azure storage account. Give it as container or container/folder, with the storage account name and either an account key or a shared access signature. The files under that folder are read, subfolders included, in name order, with the same limits as object storage: up to 100 files of 15 MB each, and a partial sync that says so when there are more. The connection is stored encrypted and reused for your other containers; a signature limited to reading and listing the container is enough. Documents are cited by their blob address, without the signature.
  • Database rows: the rows a query returns from a PostgreSQL or MySQL database. Connect PostgreSQL or the SQL database under Integrations first, then give one SELECT statement (up to 4,000 characters). Each row becomes a document written as column: value lines, leaving out columns that are empty in that row. Name an Id column so a row that changes stays the same document; without one a row is known by its content. A Title column titles the document; otherwise it is titled by its id. The query is run read-only: anything other than a single SELECT is refused, and the database session itself is opened read-only. The first 100 rows are kept; when the query returns more, the sync is marked partial and says so, so order the query to put the rows that matter first. Agents see what the connection's database user may see. Rows have no link to cite, so answers cite the document's title.

On the hosted service, a storage endpoint, page or database host must be on the public internet. On an install you run on your own network (TOOL_EGRESS_ALLOW_PRIVATE=true, or air-gapped mode), addresses on that network are allowed, and an air-gapped install reads nothing outside it.

If a file or page cannot be fetched during a sync, the sync result names it and the copy read last time is kept.

API: GET/POST /api/vault/knowledge/sources, POST /api/vault/knowledge/sources/{id}/sync, DELETE /api/vault/knowledge/sources/{id}.

Memory ​

What the Memory step has kept from your runs: the name, the workflow it belongs to (or All my workflows), when it last changed and the start of the value. Forget removes one. Your own memory is yours alone; other people in your organisation do not see it here, and their workflows cannot read it.

Values kept for My whole organisation are listed for every member as Whole organisation. The person whose run last wrote one, or an admin, can forget it.

Guardrails ​

These add to the platform's built-in guardrails, such as prompt-injection screening.

SectionWhat you set
What agents may be askedBlocked phrases, one per line. A request containing one is refused before any model sees it
Telling people a message was drafted with AIThe AI disclosure wording added to messages agents send
What agents may doActions that always need a person to approve, and Actions that may run without asking
What agents may readThe Highest classification any agent may retrieve
What it takes to releaseRequire a completed rehearsal, Require every proving set to pass, Approver must be someone other than the submitter
Which agents may runOnly agents with an approved charter

Sending messages and changing other systems wait for a person by default. Turn one on under Actions that may run without asking only when you are sure. Even then, a run that has read content that looks like it contains instructions (a possible prompt injection) asks a person again.

Only agents with an approved charter refuses any agent without one, including in chat and scheduled runs. Approve charters first.

Choose Save policy to apply changes.

Charters ​

A charter says what an agent is for, which tools it may use, how sensitive the material it reads may be, and who answers for it.

  1. New charter: the agent's Role, Purpose, Responsibilities and Out of scope (one per line), the Accountable person and an optional Backup, and the Highest classification it may read.
  2. Targets (optional): Lowest acceptable success rate (%), Slowest acceptable run time, 95th percentile (seconds), Most approvals waiting at once.
  3. When an approval waits: Add an escalation step, and Expire an undecided approval after (hours), then either Expire it or Expire it and halt this agent. When an approval expires, the step does not run and the rest of the run carries on where it can. Without a charter, undecided approvals expire after 24 hours.
  4. Limit the tools this agent may use: when on, any tool not ticked is refused.
  5. Save draft, then Submit for review. An admin or owner chooses Approve or Reject.

A charter's status is Draft, Waiting for review, In force, Rejected, Replaced or Retired. New version starts a revision of one in force. The accountable person is emailed when the agent starts missing its targets (judged over the last 7 days).

Proving sets ​

The cases a workflow must get right. Each case runs as a rehearsal and is scored by plain checks on what the result says.

  • From a run that went wrong: on a run's Results tab, choose Not useful, then Make this a test case. A proving set holds at most 25 cases.
  • Expected results: each case has Run inputs (JSON), Result must mention and Result must not mention. Set the Share of cases that must pass: All, 90% or 80%.
  • Fairness between groups: name the Attribute to test, the Score label in the result, the Words that mean a positive decision and a negative decision, and the Largest allowed gap in average score (points).

Figures you worked out by hand ​

When a workflow's agent has a platform check (a verified agent, such as ISO 20022 addresses, three-way match or loan affordability), an Expected results case can also hold its figures. Under Figures to check (optional):

  1. Choose the check.
  2. Attach files: up to 10 CSV, TXT or JSON files of at most 1 MB each, 8 MB for the whole set.
  3. Fill in Expected figures (JSON) with the figures you worked out by hand. The hint names the figures the check computes; Start from the sample's figures fills in the shape from the check's own sample, for you to replace with your answers.

When the case runs, the files are attached to its rehearsal, and the check computes its figures from them. Every figure you stated is compared with the computed one, exactly as the platform's own known-answer sets are; one wrong figure fails the case, and the failure names it with both values. The files stay with the proving set until you change or delete it.

Run scores a set. Its status is Not run yet, Running or Could not run, then its score. Report (CSV) downloads the latest run: a row for every figure and every expectation, with what was expected, what was found and whether it passed. When release policy requires it, every proving set must pass before a release.

When the platform's models change, sets for released workflows run again on their own. If one falls below its pass threshold, its owner gets an email and a proving.failed webhook event, and a release that needs the set waits until it passes again.

See Release a Workflow Safely.

Served from this deployment. No page view leaves it.