Skip to main content

Module instances

Module instances 

Source
Expand description

instances tier — aggregate enumeration backing agents instances {list, get}.

Reports per-agent stats joined across three tiers: objectiveai.messages (spawn/active timestamps + total logged), message_queue (active queued count, resolving tag-targeted rows through tags), and tags (the tag names bound to each agent).

Two entry points share one aggregate, differing only in which agents they scope to:

Functions§

get_exact
Aggregate stats for one EXACT agent AIH. Always returns an item: when the agent has no logs/queue activity it is zero-filled (its AIH + bound tags + zero counts + null timestamps), so an explicitly-named target always yields a row.
list_under_parent
List the DIRECT children of parent (AIH LIKE '{parent}/%' with no further /parent itself and deeper descendants excluded), with per-agent aggregates. Sorted by AIH ascending.