Skip to main content
Version: latest

agrag.common.data_models.task.Task

Bases: BaseModel

A named unit of work inside one project.

Attributes:

  • id (UUID) – Identifier derived from the project id and the task name.
  • project_id (str) – The project that owns the task.
  • name (str) – Task name, unique within the project.
  • goal (str) – The goal given when the task was created.
  • status (TaskStatus) – Lifecycle state.
  • event_seq (int) – The sequence number of the last event appended, or 0.
  • author (str) – The agent that created the task.
  • created_at (datetime) – When the task was created.

author​

author: str

created_at​

created_at: datetime

event_seq​

event_seq: int

goal​

goal: str

id​

id: UUID

model_config​

model_config = ConfigDict(frozen=True)

name​

name: str

project_id​

project_id: str

status​

status: TaskStatus