Skip to content
Datablau DAMData governance documentation

Sprites and Routines ​

Screenshot note: Screenshots are illustrative. Controls or labels may remain untranslated in the demo release, and pages without a faithful English capture retain the source illustration. Control names and layouts can vary by release.

A Governance Sprite performs one atomic task, such as querying metadata or retrieving standards. A Routine combines Sprites using defined business logic. A Sprite is not itself a periodically running proactive governance task.

An input schema defines parameter names, types, and constraints; it is not a database schema. Parameter mappings pass Routine inputs or upstream outputs into downstream inputs. Tools perform actual reads and writes. Prompts and execution arrows alone do not establish that parameters or tools are configured.

Open management ​

Open Configuration Management > Governance Sprites and select Current Agent. The page has Sprites, Routines, and Execution History sections. Resources belong to the selected agent. Verify selection before recreating a missing resource.

Design a Sprite ​

See Sprite design and publication for detailed inputs, tools, and release boundaries. Define a bounded task with explicit inputs and usable outputs.

SettingPurposeVerify
Code, name, descriptionStable identity and task explanationOne clear responsibility
Template promptGoal, scope, output, and exceptionsVariables match input schema
Input schemaNames, types, and descriptionsRequired fields, defaults, and scope are explicit
Current modelUnderstanding or transformationCapability fits the task
MCP, internal service, or Command LineExecution through protocol tools, interfaces, or commandsMinimal required tools, correct permissions and runtime
Enabled, exposed as a toolAvailability and invocationIntended consumers only

Sprite editor and input parameters

Open the full image. Commands and resources shown are examples; use validated tools in your environment.

Create and test a Sprite ​

  1. Create a Sprite and enter code, name, and description.
  2. Write a prompt for one task, including how to report inability to complete it.
  3. Define inputs. Placeholders such as must match parameter names.
  4. Select a model and bind tools.
  5. Configure enabled status and tool exposure.
  6. Test inputs, outputs, and tool results with a controlled sample, then save.

AI can derive Sprites from Skills, conversations, or processes. Review scope, parameters, and dependencies after generation.

Design a Routine ​

See Routine orchestration for inputs, mappings, failure handling, and diagnostics. Define inputs and outputs before arranging steps. For example, a read-only object check could locate metadata, inspect descriptions and standards associations, then summarize gaps. This is a design example, not a guaranteed built-in Routine.

Routine canvas with inputs, Sprite nodes, execution arrows, and mappings

Open the full image. The metric analysis example illustrates the canvas; actual node names are configurable.

Orchestrate steps ​

  1. Create a Routine with code, name, description, and entry parameters.
  2. Add Sprite nodes with clear step names.
  3. Select a Sprite for each node.
  4. Map entry parameters or upstream outputs to node inputs.
  5. Connect dependencies. Run dependent steps sequentially; parallelize only independent work.
  6. Set failure handling to Continue or Terminate. Critical writes usually require termination on failure.
  7. Use parameter relationship display, zoom, undo, and redo to inspect the flow.
  8. Test the complete path, save, and follow the available publishing process.

Check every input's source. An execution arrow does not automatically map required parameters.

Schedules and templates ​

Schedules belong to an agent instance. Templates copy Sprite and Routine definitions but exclude schedules. Configure recurring runs on the target instance and verify the first trigger record.

Inspect execution history ​

Find the Sprite or Routine in Execution History. Drill into Routine nodes to inspect inputs, outputs, status, tool results, and errors.

SymptomCheck first
Empty historyCurrent agent and whether tasks have run
Missing parametersEntry inputs, placeholder names, and mappings
Tool failureModel, MCP, internal service, or command runtime
Unexecuted nodesUpstream failure policy and dependencies
Successful flow with wrong business resultsScope, output semantics, and actual DAM records

Acceptance testing ​

Test normal input, missing required inputs, service failure, and partial node failure. Preserve human confirmation for writes and verify actual objects and properties in DAM. Execution success establishes completion of a call, not business correctness.