> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.alpha.openantares.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.alpha.openantares.com/_mcp/server.

# TypeScript SDK

## Install

```bash
npm install @openantares/alpha
```

## List vaults and search

```typescript
import { AlphaClient } from "@openantares/alpha";

const alpha = new AlphaClient({
  token: process.env.ALPHA_API_KEY,
});

const vaults = await alpha.vaults.listVaults();

const result = await alpha.knowledge.searchKnowledge({
  vault: "Northstar Fulfillment",
  query: "pilot blockers",
});

console.log(vaults.data);
console.log(result.data);
```

## Read raw response headers

```typescript
const { data, rawResponse } = await alpha.knowledge
  .getBrief({ vault: "Northstar Fulfillment" })
  .withRawResponse();

console.log(rawResponse.headers.get("x-request-id"));
console.log(data.data);
```

The client supports configurable timeouts, retries, custom headers, abort signals, structured errors, and custom `fetch` implementations.

The package repository is [openantares/alpha-typescript](https://github.com/openantares/alpha-typescript). The package will appear on npm after the first release is published.