Component Map

How Agentty's control plane, execution components, and durable components connect.

Agentty's core has three groups: a control plane that admits work, execution components that run model work, and durable components that survive restarts. Each component page has its own diagram of direct connections.

Layers🔗

flowchart TD
  I[Initiator: terminal or session API]
  subgraph CP[Control plane]
    G[Command Gateway]
    S[Scheduler]
  end
  subgraph EX[Execution components]
    W[Run Worker]
    R[Agent Runtime]
    H[Harness]
    L[LLM]
  end
  subgraph DC[Durable components]
    D[(Saved records)]
  end
  I -->|submits command| G
  G -->|queues accepted work| W
  S -->|grants turn slots| W
  W -->|dispatches request| R
  R -->|selects adapter| H
  H -->|calls| L
  G -.->|saves admitted work| D
  W -.->|settles operations and runs| D
  • Control plane: the Command Gateway admits commands from the terminal and the session API; the Scheduler bounds concurrent session turns.
  • Execution components: all model work follows the execution boundary from Run Worker through Agent Runtime to a Harness and its LLM.
  • Durable components: workflows save admitted work before execution, and the worker settles it afterwards. Nothing is replayed automatically after a restart.

Durable Components🔗

flowchart TD
  P[Project] -->|groups| S[Session]
  S -->|history| M[Message]
  S -->|workflow actions| O[Operation]
  S -->|desired outcomes| T[Task]
  S -->|utility executions| R[Run]
  S -->|graphs| G[Execution Graph]
  S -->|shared notes| D[Session Document]
  S -->|workspace identity| E[Env]
  G -->|nodes read and add notes| D
  T -->|each attempt uses| O
  G -->|task-conversation node| T
  G -->|fresh node| R
  G -->|node captures| A[Agent Definition]
  T -->|role-aware task captures| A

A session is the owner of almost every other record. See Durable Components for each one.