Knowledge base - Momentic

Documentation Index

Fetch the complete documentation index at: /docs/llms.txt

Use this file to discover all available pages before exploring further.

The knowledge base stores information that page content cannot provide: the words your team uses, the rules a specific agent should follow, and the multi-step flows that describe how your product works. Agents retrieve relevant entries for a task and include them in their prompts as priority context. You manage it from the Knowledge section of the dashboard at app.momentic.ai/knowledge.

Knowledge types

You can create three types of knowledge. Pick the type that matches the information you want to provide.

The knowledge base can also contain generated Code insight entries. These are read-only in the knowledge editor and describe the code behind a product area. See App graph. Definitions, instructions, and steps all support Markdown. Retrieval preserves Markdown but can omit or truncate entries to fit the agent’s context budget. Keep essential rules concise and put them early in an entry. Agent-rule instructions accept up to 100,000 characters when created or edited, including through bulk upload. Existing longer instructions remain readable and can still be archived.

Adding knowledge

  1. Open the Knowledge section, click Add knowledge, and choose Create manually.
  2. Choose a type. The form shows the fields relevant to that type.
  3. Fill in the content and, optionally, set a scope.
  4. Save. The item is visible immediately and becomes searchable when indexing finishes.

To import many items at once, choose Bulk upload from the same menu instead (see Bulk upload).

Scope

By default, knowledge applies across your whole organization. You can narrow an item so it’s only retrieved in a more specific context:

Leave a scope blank to keep it organization-wide. The detail view shows each item’s scope (Organization, Test, Environment, or App).

Bulk upload

To import an existing knowledge base in one step, choose Bulk upload from the Add knowledge menu and upload or paste a JSON array or CSV of items. Momentic accepts up to 200 rows per upload and validates the whole upload together: if any row is invalid, Momentic creates nothing and the error lists the offending rows. Each row carries a type of TERMINOLOGY, AGENT_RULE, or FLOW (defaulting to TERMINOLOGY when omitted) plus that type’s fields:

The examples field accepts either a JSON string array or a newline-separated string (one example per line), which is convenient for a single CSV cell. Add an optional appId, testId, or environmentId to a row to scope it; omit them to keep the item organization-wide. The dialog includes JSON and CSV samples you can load as a starting point.

Suggestions

Momentic captures candidate knowledge from your sessions and collects it in the Suggestions tab for review. These are entries Momentic inferred about your product that aren’t part of your knowledge base yet.

The Organization tab shows knowledge that’s already in effect, and the Suggestions tab shows what’s waiting on your review. Each tab displays a count so you can see whether there’s anything to triage.

Enabling and disabling

Active knowledge can be turned on or off without deleting it:

Use the toggle on an item to switch between the two. Items that are still pending review (or otherwise not yet active) must be approved or archived before they can be toggled. Momentic manages the system knowledge it authors, so it can’t be edited or disabled.

Trust and conflicts

Each item carries a trust score from 0 to 100 that shows how authoritative it is. Manually authored knowledge is trusted more than auto-generated suggestions, and Momentic’s own system knowledge is trusted highest by default. Prompts instruct agents to prefer the higher-trust entry when entries conflict. Agent rules are treated as binding instructions and are given extra retrieval weight.

How agents use knowledge

Momentic uses semantic retrieval to select entries relevant to an agent’s task and includes the retrieved entries as priority context. Heal runs also retrieve knowledge scoped to the test being repaired, so rules, terminology, and known flows can guide the repair for that specific failure. Prompts require agents to follow entries that directly address the task and cite entries they rely on in written reasoning or summaries. Use those citations to trace which knowledge influenced a decision.

Versioning and usage

Editing an item records a new version, and the About tab keeps the full version history alongside who changed what and when. The Usage tab lists the runs that cited the item, with the test each run belongs to and when it was cited, and links to each run so you can see how a piece of knowledge is being used in practice.