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

Method start_session

src/memory/server.py:135–161  ·  view source on GitHub ↗

Start a memory session. Args: memory_name: Name of the memory system agent_name: Optional agent name task_id: Optional task ID description: Optional description ctx: Memory context Returns:

(self, 
                            memory_name: str, 
                            agent_name: Optional[str] = None,
                            task_id: Optional[str] = None, 
                            description: Optional[str] = None,
                            ctx: SessionContext = None,
                            **kwargs)

Source from the content-addressed store, hash-verified

133 await self.memory_context_manager.cleanup()
134
135 async def start_session(self,
136 memory_name: str,
137 agent_name: Optional[str] = None,
138 task_id: Optional[str] = None,
139 description: Optional[str] = None,
140 ctx: SessionContext = None,
141 **kwargs) -> str:
142 """Start a memory session.
143
144 Args:
145 memory_name: Name of the memory system
146 agent_name: Optional agent name
147 task_id: Optional task ID
148 description: Optional description
149 ctx: Memory context
150
151 Returns:
152 Session ID
153 """
154 return await self.memory_context_manager.start_session(
155 memory_name,
156 agent_name,
157 task_id,
158 description,
159 ctx=ctx,
160 **kwargs
161 )
162
163 async def add_event(self,
164 memory_name: str,

Callers 15

mainFunction · 0.95
__call__Method · 0.45
__call__Method · 0.45
__call__Method · 0.45
__call__Method · 0.45
__call__Method · 0.45
__call__Method · 0.45
__call__Method · 0.45
__call__Method · 0.45
__call__Method · 0.45
__call__Method · 0.45
startMethod · 0.45

Calls

no outgoing calls

Tested by 1

mainFunction · 0.76