Class SwingAgiTool
java.lang.Object
uno.anahata.asi.agi.tool.ToolContext
uno.anahata.asi.swing.toolkit.SwingToolContext
uno.anahata.asi.swing.agi.tool.SwingAgiTool
The foundational base class for all Swing-based agentic tools.
This class extends SwingToolContext to bridge the gap between background
AI tool execution and the Swing Event Dispatch Thread (EDT). It provides
built-in support for context-aware UI updates via runInEdt and
runInEdtAndWait helpers.
All Swing-aware tools must implement the Callable.call() method to define
their core logic.
- Author:
- anahata
-
Field Summary
Fields inherited from class ToolContext
toolkit -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class SwingToolContext
getAgiPanel, runInEdt, runInEdtAndWaitMethods inherited from class ToolContext
addAttachment, addAttachment, addAttachment, error, error, getAgi, getApplicationMap, getAsiContainer, getAsiContainerMap, getCall, getExecutorService, getModelId, getModelMessage, getResourceManager, getResponse, getSessionMap, getThreadSafeLogger, getTool, getToolContext, getToolkit, getToolManager, getTurnMap, isToolExecution, log, peekResponse, runAsync
-
Constructor Details
-
SwingAgiTool
public SwingAgiTool()
-

