serena.tools.workflow_tools#
Source code: serena/tools/workflow_tools.py
Tools supporting the general workflow of the agent
- class OnboardingTool(agent)[source]#
Bases:
ToolPerforms onboarding (identifying the project structure and essential tasks, e.g. for testing or building).
- Parameters:
agent (SerenaAgent)
- class InitialInstructionsTool(agent)[source]#
Bases:
Tool,ToolMarkerDoesNotRequireActiveProjectProvides instructions Serena usage (i.e. the ‘Serena Instructions Manual’) for clients that do not read the initial instructions when the MCP server is connected.
- Parameters:
agent (SerenaAgent)
- apply(session_id)[source]#
Provides the ‘Serena Instructions Manual’, which contains essential information on how to use the Serena toolbox. IMPORTANT: If you have not yet read the manual, call this tool immediately after you are given your task by the user, as it will critically inform you!
- Parameters:
session_id (str)
- Return type:
str
- class SerenaInfoTool(agent)[source]#
Bases:
Tool,ToolMarkerOptional,ToolMarkerDoesNotRequireActiveProjectProvides information about an advanced topic on demand, facilitating context-efficiency.
- Parameters:
agent (SerenaAgent)