The SDK for Altertable data apps: interactive apps that agents build over your data with TypeScript and React. Compose filters, charts, tables, and narrative on top of declared queries, then run the app in Altertable, MCP Apps hosts, your own product, or a local browser.
- In Altertable, Slack, or an MCP client: describe the question and let the agent build the app. See Build a data app.
- Locally: scaffold, run, and publish with the Altertable CLI. See local development.
- By hand: install the SDK and follow app authoring.
bun add @altertable/data-app @altertable/data-app-react react react-dom
# or
npm install @altertable/data-app @altertable/data-app-react react react-dom
# or
pnpm add @altertable/data-app @altertable/data-app-react react react-domLocal apps also install @altertable/data-app-bun.
Use app authoring for technical integration and available starters.
| App | Guide |
|---|---|
| Hosted / remote / cloud | Single-file authoring |
| Local Bun project | Local authoring |
Host apps in your product with embedding or React embedding.
| Package | Use it to |
|---|---|
@altertable/data-app |
Define apps and queries |
@altertable/data-app-react |
Build app UI with views, filters, charts, and tables |
@altertable/data-app-embed |
Host apps in your product through an iframe sandbox |
@altertable/data-app-bun |
Serve and preview apps locally against your lakehouse |
@altertable/data-app-worker |
Serve apps from a self-contained sandbox Worker |
@altertable/data-app-manifest |
Extract and rewrite manifests in build tooling |
@altertable/data-app-examples |
Start from canonical app templates |
See Contributing for setup and verification.
Read Interfaces for the next question for why data apps exist.