Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

SDK Reference

The BXI SDK gives programmatic control over Anthriq hardware and the BXI Studio backend. Use it to configure channels, seat a headset, verify electrode contact, stream EXG, and run processing pipelines without the BXI Studio interface.

The SDK ships as two packages. @anthriq_dev/bxi-interface talks to one device through the BXI interface bridge. @anthriq_dev/services talks to the backend services that run pipelines and handle recording. Both run in the same process: a typical acquisition application configures hardware and starts a stream with the first, then runs the pipeline that consumes it with the second.

Install

npm install @anthriq_dev/bxi-interface
npm install @anthriq_dev/services

Both packages depend on the zeromq native bindings, which npm builds during install. @anthriq_dev/bxi-interface additionally depends on protobufjs for decoding stream frames.

Both are ES modules ("type": "module"). Import them with import, not require.

pip install anthriq-bxi-interface
pip install anthriq-services

Start here

Go to your device — each page carries its specifications, the features it declares, and a complete runnable setup sequence:

  • Anthriq Instinct, the motorised headset

  • xSys, the amplifier with externally wired electrodes

  • xBud, USB analog acquisition front-end

A feature that only one device has sits under that device: Position the headset under Instinct, Acquire analog input under xBud. The Features pages hold the mechanics that more than one device declares, written once. The Concepts pages explain the model underneath.

Follow the session order

Pages are ordered the way a session runs:

  1. Read device information to learn what the connected device supports.

  2. Configure channels for gain, filtering, and routing.

  3. Measure contact impedance to confirm the electrodes are seated.

  4. Stream EXG, or run parallel streams to watch impedance while recording.

Impedance comes before EXG because that is the order it happens in: confirm contact, then acquire.

Update firmware sits outside that sequence; it is maintenance rather than part of a session. xBud follows its own path entirely, in Acquire analog input.

Read the concepts

Four pages describe behaviour that every task depends on. Reading them first makes the task pages shorter and the failure modes recognisable.

Run the backend services

@anthriq_dev/services covers everything that outlives a single device session:

Last updated

Was this helpful?