Skip to main content

Python SDK

The feral-sdk package lets you talk to a running FERAL Brain, build plugins, and create hardware device adapters — all from Python.

FeralClient

FeralClient is an async HTTP + WebSocket client for the Brain API.

Constructor

Methods

FeralPlugin

Build agent tools as Python classes. Decorate methods with @feral_tool to expose them.

Plugin Lifecycle

@feral_tool Decorator

HUPDevice

Create device adapters that connect physical hardware to the Brain’s device mesh.

HUPDevice Methods

See the Device Adapters guide for a full walkthrough.