AgentSea.Role (agentsea_core v0.1.0)

Copy Markdown

An agent's role: its capabilities, system prompt, goals and delegation policy.

Summary

Types

t()

@type t() :: %AgentSea.Role{
  backstory: String.t() | nil,
  can_delegate: boolean(),
  can_receive_delegation: boolean(),
  capabilities: [AgentSea.Capability.t()],
  constraints: [String.t()],
  description: String.t() | nil,
  goals: [String.t()],
  max_concurrent_tasks: pos_integer(),
  name: String.t(),
  system_prompt: String.t() | nil
}