native_openhands
native_openhands
¶
NativeOpenHandsAgent -- code-execution-centric agent.
Renamed from OpenHandsAgent to clarify this is Diapason's native
CodeAct-style implementation. The OpenHandsAgent name is now used
for the real openhands-sdk integration in openhands.py.
Classes¶
NativeOpenHandsAgent
¶
NativeOpenHandsAgent(
engine: InferenceEngine,
model: str,
*,
tools: Optional[List[BaseTool]] = None,
bus: Optional[EventBus] = None,
max_turns: Optional[int] = None,
temperature: Optional[float] = None,
max_tokens: Optional[int] = None,
interactive: bool = False,
confirm_callback=None,
)
Bases: ToolUsingAgent
Native CodeAct agent -- generates and executes Python code.