MCPcopy Create free account
hub / github.com/AI45Lab/Code / list

Method list

core/src/subagent.rs:650–653  ·  view source on GitHub ↗

List all registered agents

(&self)

Source from the content-addressed store, hash-verified

648
649 /// List all registered agents
650 pub fn list(&self) -> Vec<AgentDefinition> {
651 let agents = read_or_recover(&self.agents);
652 agents.values().cloned().collect()
653 }
654
655 /// List visible agents (not hidden)
656 pub fn list_visible(&self) -> Vec<AgentDefinition> {

Callers 1

Calls 1

read_or_recoverFunction · 0.85

Tested by 1