On this page
Sommatic Docs
Open portal

Knowledge resources

A knowledge resource is governed content that AI nodes read, such as a taxonomy, a dataset or a policy. Publishing it records a numbered version, bindings show where it is used, and Git Sync can keep it in a repository.

View as Markdown
Open in

A knowledge resource is what your AI nodes know that the model does not: the categories you triage into, the registry you match against, the policy a decision must follow. It lives once in your organization, with an owner and a review state, and every node that needs it points to it.

Resource types

resource_type says what the content is:

resource_typeTypical content
textFree text.
documentA document or a file reference.
listA list of values.
taxonomyCategories and subcategories.
promptStructured prompt blocks (system, instructions, examples).
policyRules that a decision must follow.
manualOperating instructions.
datasetA small structured dataset.
referenceA pointer to an external or internal source.

You can start a resource blank, from text, from a file or from structured data.

Content

content holds the payload, in one of these formats (content.format): plain-text, markdown, json, file-reference, prompt-blocks or url.

FieldUsed for
textPlain or Markdown text.
structured_dataJSON for lists, taxonomies, rules or datasets.
file_refA stored file: file_name, mime_type, storage_key, document_uri, checksum, size_bytes.
prompt_blockssystem, instructions and examples when the type is prompt.
urlA link, when the content is a reference.

Next to the content, a resource carries:

  • Governance (governance): owner user or team, visibility_scope (private, team, organization), review_status (draft, reviewed, approved, rejected), is_authoritative, and the dates effective_from, effective_to and expires_at.
  • Capabilities (capabilities): allowed_usage_modes (retrieval, context, instruction, routing, validation, few-shot, reference), is_searchable, is_bindable, is_version_locked.
  • Source (source): where it comes from, with sync_mode manual, synced or imported.
  • language, tags and git_binding (filled by Git Sync).

Publish a version

A resource is draft, active or archived. Publishing it does two things:

  1. It stores an immutable snapshot of the current content as the next version (1, 2, 3…), with an optional description.
  2. It sets the resource to active.

Edit the resource

In the portal, open Cognitive Assets → Knowledge Center, then the resource. Edit it in the Knowledge Editor tab and save.

Publish

Publish from the editor. Through the API: POST /cognitive-infrastructure/cognitive-assets/knowledge-resource/:id/publish.

List the versions

GET /cognitive-infrastructure/cognitive-assets/knowledge-resource/versions?search=<resource_id> returns every snapshot with its version, content and, when it came from Git, the commit.

Use it in a node

Nodes that read a resource expose knowledge_resource_id, with a picker filtered by the types they accept:

NodeResource it expects
ai.classify.triageA taxonomy with the categories and subcategories of the triage (required).
ai.classify.registryA dataset to classify against (required).
ai.topicsA taxonomy of topics.

Bindings

A binding records that a resource is used somewhere. It has resource_id, target_type, target_id, a role and a mode:

FieldValues
target_typeproject, workflow, workflow-node, agent-profile, app, conversation, report, anomaly
roleknowledge, policy, instructions, dataset, template, reference
moderetrieval, context, both, instruction, routing, validation

When you save a draft in the workflow studio, Sommatic AI keeps the bindings of that workflow in step with its nodes: one binding per resource that a node references (target_type: workflow, role: knowledge, mode: context), removed when no node uses the resource any more. The resource page lists its bindings, so you can see which workflows depend on it before you change it.

Keep it in Git

Knowledge resources sync with Git Sync like workflows. In the repository, a resource file carries the resource fields (name, slug, resource_type, content…) and the header { "sommatic": { "kind": "knowledge-resource", "key": "…", "schema_version": "1.0" } }, and the package manifest lists it under resources.knowledge.

In the resource page, the … menu offers Sync from Git… (load the file into the editor, then save and publish) and Export for Git… (the file, manifest entry and environment entry, ready for a pull request). A sync from Git can publish in the same step, and the version then records the repository, branch and commit it came from.

Next steps

Install agent tools

Give your coding agent the official Sommatic AI docs: skills, the docs MCP server and Markdown pages, so it never has to scrape the site.

Skills only. They do not update by themselves; run it again to refresh.

npx skills add https://docs.sommatic.ai
How agents read these docs