Package app.ductape.sdk.agents.executor
Class DefaultAgentExecutor
java.lang.Object
app.ductape.sdk.agents.executor.DefaultAgentExecutor
- All Implemented Interfaces:
AgentLocalExecutor
Sprint 5 — default LLM/tool loop with max-iteration guard and HITL callbacks.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classSafe default provider used when no live provider is configured. -
Constructor Summary
ConstructorsConstructorDescriptionDefaultAgentExecutor(LlmProvider provider, MemoryManager memory, AgentCallbacks callbacks) -
Method Summary
Modifier and TypeMethodDescriptionmaxIterations(int maxIterations) run(AgentExecutionContext context) Run the agent loop end-to-end.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface app.ductape.sdk.agents.AgentLocalExecutor
supports
-
Constructor Details
-
DefaultAgentExecutor
public DefaultAgentExecutor() -
DefaultAgentExecutor
-
-
Method Details
-
maxIterations
-
run
Description copied from interface:AgentLocalExecutorRun the agent loop end-to-end.Return shape SHOULD mirror TS
IAgentRunResult:success,data,messages,tool_calls,usage,error,execution_time.- Specified by:
runin interfaceAgentLocalExecutor
-