# AI artifacts

> The AI artifacts Sommatic AI governs (LLM providers, prompt templates, knowledge resources, agents and tools) and how workflow nodes use them. Each one is a record of your organization, with an owner, a status and an API.

Source: https://docs.sommatic.ai/en/ai/ (updated 2026-11-26)

Sommatic AI governs three kinds of artifacts: **workflows**, **apps** and the **AI artifacts** on this page. Workflows and
apps have their own sections. AI artifacts are the pieces a workflow uses when a step needs a model: which model to call,
which instructions to give it and which knowledge to ground it on.

Instead of hiding a model key, a prompt and a taxonomy inside a node, you keep each one as a separate record of your
organization. A node points to it by id. You can review it, change it in one place and see where it is used.

Diagram: ai.entity.extract points by id to the LLM provider and the knowledge resource it needs, and returns the entities it finds as structured fields.

## The artifacts

| Artifact                                                                                         | What it holds                                                                                        | Used today by                                                           |
| ------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------- |
| [LLM provider](https://docs.sommatic.ai/en/ai/llm-providers.md)                                  | One concrete model deployment: provider type, endpoint, deployment, default parameters and limits.   | Every AI node, through `llm_provider_id`.                               |
| [Prompt template](https://docs.sommatic.ai/en/ai/prompt-templates.md)                            | Instructions, a template body with placeholders, variables, output fields and examples.              | The `ai.prompt` node.                                                   |
| [Knowledge resource](https://docs.sommatic.ai/en/ai/knowledge-resources.md)                      | Governed content: a taxonomy, a dataset, a policy, a manual, a list… Published as numbered versions. | AI nodes such as `ai.classify.triage`, through `knowledge_resource_id`. |
| [Agent profile and cognitive tool](https://docs.sommatic.ai/en/ai/agents-and-tools.md)           | The definition of an agent (provider, prompt, allowed tools, limits) and of the tools it may call.   | Definitions only. No node runs an agent today.                          |
| [Memory store and external datasource](https://docs.sommatic.ai/en/ai/memory-and-datasources.md) | Where an agent may remember and which data sources it may query.                                     | Definitions only.                                                       |

## How a node uses them

An AI node in a workflow (`ai.classify`, `ai.extract`, `ai.summarize`, `ai.classify.triage`…) names its artifacts in its
configuration:

```json
{
  "llm_provider_id": "<llm-provider-id>",
  "invocation_mode": "sync",
  "knowledge_resource_id": "<knowledge-resource-id>"
}
```

- `llm_provider_id` picks the model. Sommatic AI resolves the endpoint, key and deployment from the provider record on
  the server, so the workflow never carries them.
- `invocation_mode` is `sync` (wait for the full answer, 30 s default timeout) or `stream` (receive tokens as they
  arrive, for long generations, 600 s default idle timeout). Set `timeout_ms` to change it.
- `knowledge_resource_id` appears on the nodes that read a knowledge resource, such as the taxonomy of
  `ai.classify.triage`.

See every AI node in the [AI family](https://docs.sommatic.ai/en/nodes/family/ai.md).

## Governance

Every AI artifact belongs to an organization (`organization_id`) and, for most of them, optionally to a project
(`project_id`). Each has a stable `slug` and a status:

| Artifact                                                                                              | Statuses                                      |
| ----------------------------------------------------------------------------------------------------- | --------------------------------------------- |
| LLM providers, prompt templates, agent profiles, cognitive tools, memory stores, external datasources | `enabled`, `review`, `deprecated`, `archived` |
| Knowledge resources                                                                                   | `draft`, `active`, `archived`                 |

You manage them in the portal and through the [cognitive infrastructure API](https://docs.sommatic.ai/en/api/reference/cognitive-infrastructure.md).
Knowledge resources can also live in Git and sync with [Git Sync](https://docs.sommatic.ai/en/git-sync.md).

> **Note: Agents are never the only path**
>
> Sommatic AI stays operable without inference. A critical action always has an explicit path (a workflow, a task, a
> Command Center command) that does not depend on a model's decision.

## Next steps

- [LLM providers](https://docs.sommatic.ai/en/ai/llm-providers.md): Register a model deployment and call it.
- [Prompt templates](https://docs.sommatic.ai/en/ai/prompt-templates.md): Keep prompts out of your workflows.
- [Knowledge resources](https://docs.sommatic.ai/en/ai/knowledge-resources.md): Publish taxonomies, policies and datasets as versions.
- [Agents and tools](https://docs.sommatic.ai/en/ai/agents-and-tools.md): Define agents and the tools they are allowed to call.
