agentskit.js

TopologyNode

Auto-generated API reference for TopologyNode.

Interface: TopologyNode

Defined in: observability/src/topology-graph.ts:30

Live multi-agent topology graph. Consumes TopologyLogEvents from supervisor / swarm / hierarchical / blackboard runs and builds a directed graph of agents and the messages flowing between them, so debugging multi-agent runs stops being a tail of stringly-typed logs.

Renders to:

  • JSON β€” for the React devtools panel
  • Mermaid β€” for static docs / CI artefacts
  • ASCII β€” for the Ink CLI

Closes issue #785.

#Properties

#endCount

endCount: number

Defined in: observability/src/topology-graph.ts:38


#errorCount

errorCount: number

Defined in: observability/src/topology-graph.ts:39


#id

id: string

Defined in: observability/src/topology-graph.ts:31


#label

label: string

Defined in: observability/src/topology-graph.ts:33

Display label. Defaults to the agent id.


#lastActiveAt

lastActiveAt: number

Defined in: observability/src/topology-graph.ts:41

Last activity timestamp (ms since epoch).


#startCount

startCount: number

Defined in: observability/src/topology-graph.ts:37

Activity counters useful for sizing/colouring nodes in a viz.


#topology

topology: string

Defined in: observability/src/topology-graph.ts:35

'supervisor' | 'swarm' | 'hierarchical' | 'blackboard'.

Explore nearby

✎ Edit this page on GitHubΒ·Found a problem? Open an issue β†’Β·How to contribute β†’

On this page