WardrikCore. Principal
(wardrik_core v0.1.0-rc.3)
Copy Markdown
Someone or something that can act, such as a person or a service.
%WardrikCore.Principal{id: "user:maria", attributes: %{team: "billing"}}- The agent's own comes from
WardrikCore.start_agent/2's:principal. - A message's sender comes from
WardrikCore.ask/3. The turn acts for them. idandattributesare your app's. Wardrik never reads them.