MCPcopy Create free account
hub / github.com/SkyworkAI/DeepResearchAgent / get

Method get

src/agent/server.py:115–125  ·  view source on GitHub ↗

Get agent instance by name Args: agent_name: Agent name Returns: Agent: Agent instance or None if not found

(self, agent_name: str)

Source from the content-addressed store, hash-verified

113
114
115 async def get(self, agent_name: str) -> Optional[Agent]:
116 """Get agent instance by name
117
118 Args:
119 agent_name: Agent name
120
121 Returns:
122 Agent: Agent instance or None if not found
123 """
124 agent = await self.agent_context_manager.get(agent_name)
125 return agent
126
127 async def cleanup(self):
128 """Cleanup all agents"""

Callers 15

_think_and_toolMethod · 0.45
__call__Method · 0.45
_think_and_toolMethod · 0.45
__call__Method · 0.45
_get_agent_contextMethod · 0.45
_think_and_actionMethod · 0.45
__call__Method · 0.45
_get_agent_historyMethod · 0.45
_get_todo_contentsMethod · 0.45
_think_and_actionMethod · 0.45
__call__Method · 0.45
_get_agent_historyMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected