Skip to main content

openhands.runtime.plugins.requirement

Plugin Objects

class Plugin()

Base class for a plugin.

This will be initialized by the runtime client, which will run inside docker.

initialize

@abstractmethod
async def initialize(username: str)

Initialize the plugin.

run

@abstractmethod
async def run(action: Action) -> Observation

Run the plugin for a given action.

PluginRequirement Objects

@dataclass
class PluginRequirement()

Requirement for a plugin.