Jidoka.Import.AgentDocument (Jidoka v0.8.0-beta.1)

Copy Markdown View Source

Portable JSON/YAML authoring document for a Jidoka agent.

The document intentionally stores only data. Runtime-only values such as Zoi schemas and Jido action modules are referenced by name and resolved through explicit registries in Jidoka.Import.

Summary

Types

t()

@type t() :: %Jidoka.Import.AgentDocument{
  agent: map(),
  controls: map(),
  metadata: map(),
  operations: [map()],
  runtime_defaults: map(),
  tools: map(),
  version: integer()
}

Functions

new(attrs)

@spec new(keyword() | map()) :: {:ok, t()} | {:error, term()}

new!(attrs)

@spec new!(keyword() | map()) :: t()

schema()

@spec schema() :: Zoi.schema()

version()

@spec version() :: pos_integer()