LegionWeb.AgentTracker.LegionAgent (LegionWeb v0.5.0)

View Source

The dashboard projection of a tracked Legion agent.

Summary

Types

t()

@type t() :: %LegionWeb.AgentTracker.LegionAgent{
  agent_id: Legion.Store.agent_id(),
  agent_module: module() | nil,
  finished_at: integer() | nil,
  iterations: non_neg_integer(),
  parent_agent_id: Legion.Store.agent_id() | nil,
  pid: pid() | nil,
  started_at: integer() | nil,
  status: :running | :idle | :waiting_for_human | :done | :error | :dead,
  task: String.t() | nil
}