AgentSea.Bid (agentsea_core v0.1.0)

Copy Markdown

An agent's bid on a task, produced by AgentSea.Agent.bid/2. Used by the auction delegation strategy. estimated_cost combines the model's price tier with the estimated effort, so the :cheapest criterion can distinguish a cheap-but-slower model from an expensive-but-faster one.

Summary

Types

t()

@type t() :: %AgentSea.Bid{
  agent_name: term(),
  capabilities: [String.t()],
  confidence: float(),
  estimated_cost: number() | nil,
  estimated_time: number() | nil,
  reasoning: String.t() | nil,
  task_id: term() | nil
}