CITATION — REFERENCE ENTRY

v1-packages-and-state · wang2025sdk

Revision 95c287f6-aafc-4390-b924-ee1ba5438f24 · 8/29/2026, 12:12:14 PM UTC
Citation
wang2025sdk
Claim ID
v1-packages-and-state
Assertion
OpenHands V1 is organised into four Python packages: openhands.sdk for core abstractions and the event system, openhands.tools for tool implementations, openhands.workspace for execution environments, and openhands.agent_server for a REST and WebSocket API. Agents, tools, and LLM configurations are immutable and validated at construction; the only mutable component is a conversation state object holding an append-only event log, which allows sessions to be persisted incrementally and resumed by replaying events.
Quote
components like Agent, Tool, and LLM are immutable and serializable — all changing variables live in ConversationState, making it the only stateful component ... Conversations resume by loading base_state.json and replaying events
Quote language
en
Locator
section: 4.1-4.2
Available in