Installation
This page covers the software you'll need to interact with the Behavior device, as well as how to update the firmware on the device.
Software packages
These steps are only required the first time you connect the device to a new computer, and you can install just the packages for the functionality you need.
The Behavior app is a desktop app for configuring and testing the device without using Bonsai. It is distributed as a .NET tool.

- Download and install the .NET SDK, version 8 or later.
- Install the Behavior app from a terminal with:
dotnet tool install -g Harp.Behavior.App
To update the Behavior app to the latest release, run dotnet tool update -g Harp.Behavior.App.
Firmware update
New features are added and bugs are fixed with firmware updates which are published on the release page in the device GitHub repository. Each release contains a .hex file tagged with the firmware (fw) and hardware (hw) version. For instance, Behavior-fw3.4-harp1.15-hw2.1-ass0.hex is firmware v3.4 for a hardware v2.1 Behavior device. Download the latest firmware version that matches the hardware version of the device from the "Assets" section under each release.
Tip
The hardware version is printed on the PCB silkscreen (e.g. harp behavior v2.1).
The firmware can be updated from a terminal with the Harp Toolkit, or from the device setup dialog in Bonsai.
The Harp Toolkit is a command-line tool for working with Harp devices. Like the Behavior app, it is distributed as a .NET tool.
- Download and install the .NET SDK, version 8 or later.
- Install the toolkit from a terminal with:
dotnet tool install -g Harp.Toolkit
- Update the firmware with the serial port of the device and the downloaded
.hexfile:
harp.toolkit update --port COM3 Behavior-fw3.4-harp1.15-hw2.1-ass0.hex
The toolkit checks that the file matches the device before writing it, and waits for the device to restart with the new firmware. Run harp.toolkit list to find the serial port of the device. The toolkit firmware update documentation describes every option.
Documentation for release v3.4.0

