Package atessera.sensei.tools
Class Runner
java.lang.Object
atessera.sensei.tools.Runner
LangChain4j tool for running laboratory commands inside execution environments.
Provides tools for agents to execute shell commands or binary builds in a target workspace directory.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionrunCommand(String command) Executes a command in the workspace directory.
-
Constructor Details
-
Runner
Creates a runner tool rooted at the specified base directory.- Parameters:
baseDirectory- target workspace base directory; must not benull
-
-
Method Details
-
runCommand
Executes a command in the workspace directory.- Parameters:
command- shell command line to execute- Returns:
- execution output or status summary
-