> For the complete documentation index, see [llms.txt](https://docs.anthriq.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.anthriq.com/bxi-studio/developer/sdk-dev-resources.md).

# SDK & Dev Resources

The BXI SDK gives programmatic control over Anthriq hardware and the BXI Studio backend. Use it to automate experiment workflows, build analysis pipelines, or drive a device without the BXI Studio interface.

## Available SDKs

The SDK ships for Node.js and Python, as two packages with a clean split. Both languages expose the same operations.

| Covers                                                              | Node.js                                                                                  | Python                  |
| ------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ----------------------- |
| Device control, registers, motors, EXG and impedance streams        | [`@anthriq_dev/bxi-interface`](https://www.npmjs.com/package/@anthriq_dev/bxi-interface) | `anthriq-bxi-interface` |
| Pipelines, operator and pipeline registries, recording and playback | [`@anthriq_dev/services`](https://www.npmjs.com/package/@anthriq_dev/services)           | `anthriq-services`      |

Both communicate over ZeroMQ rather than over a network API, so the SDK and the backend run on the same host.

Start at [SDK Reference](/bxi-studio/developer/overview.md) for the full workflow.

## Example: read device state

```typescript
import { BxiClient } from "@anthriq_dev/bxi-interface";

const client = new BxiClient<"anthriq-instinct">({ deviceType: "anthriq-instinct" });

await client.initialize("localhost");
await client.connect();

const state = await client.features.executeOperation("system", "get_state", {});
console.log(state.data.statusMessage);

await client.shutdown();
```

For the full workflow — configuring channels, seating the headset, checking electrode contact, and streaming — see [SDK Reference](/bxi-studio/developer/overview.md).
