komrad

System

SystemService reads what komrad holds in memory and on disk and what its agents spend in tokens, and drains its agents before the server stops.

komrad.system.v1.SystemService

  • get_memory_use#

    Read what komrad and each agent cost in memory, against the memory limit, with each agent's place in the candidate list, the agents komrad made dormant today, and the highest, lowest and average total today.

  • get_memory_history#

    Read what komrad and its agents cost in memory at each sample over the last ten minutes, and what one owner cost alongside it.

  • get_storage_use#

    Read what komrad takes on disk in the latest measurement, against the storage limit, split into each worktree and komrad's own parts with the largest entries in each part's directory, with each worktree's place in the storage candidate list, the worktrees komrad keeps and why, and the worktrees it deleted today.

  • get_token_use#

    Read what each agent spent in tokens since midnight, with its conversation size and compactions, every agent's running totals, and the tools whose results filled the conversations.