> 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.

# Python SDK

## Install

```bash
pip install openantares-alpha
```

## List vaults and search

```python
import os

from alpha import Alpha

alpha = Alpha(token=os.environ["ALPHA_API_KEY"])

vaults = alpha.vaults.list_vaults()
result = alpha.knowledge.search_knowledge(
    vault="Northstar Fulfillment",
    query="pilot blockers",
)

print(vaults.data)
print(result.data)
```

## Async client

```python
import asyncio
import os

from alpha import AsyncAlpha

alpha = AsyncAlpha(token=os.environ["ALPHA_API_KEY"])

async def main() -> None:
    result = await alpha.knowledge.get_brief(
        vault="Northstar Fulfillment",
    )
    print(result.data)

asyncio.run(main())
```

The client supports configurable timeouts, retries, custom `httpx` clients, typed errors, and raw response access.

The package repository is [openantares/alpha-python](https://github.com/openantares/alpha-python). Install the `openantares-alpha` distribution, then import the SDK from `alpha`.