openhands
openhands
¶
OpenHandsAgent -- wraps the real openhands-sdk for AI-driven development.
Requires the openhands-sdk package (uv sync --extra openhands).
For the native CodeAct-style agent, see :mod:diapason.agents.native_openhands.
Classes¶
OpenHandsAgent
¶
OpenHandsAgent(
engine: InferenceEngine,
model: str,
*,
bus: Optional[EventBus] = None,
temperature: Optional[float] = None,
max_tokens: Optional[int] = None,
workspace: Optional[str] = None,
api_key: Optional[str] = None,
)
Bases: BaseAgent
Agent that wraps the real openhands-sdk package.
This is a thin adapter that delegates to the openhands-sdk
library for AI-driven software development tasks. Requires
openhands-sdk to be installed.