# @condensate/chat-sdk (https://condensate.dev/reference/packages/chat-sdk/)

> Chat state and React components that connect applications to runtime threads.

Chat state and React components that connect applications to runtime threads.

## Location

`packages/chat-sdk` in the Condensate monorepo. Its manifest name is `@condensate/chat-sdk`.

## Commands

Run these from `packages/chat-sdk` after installing dependencies at the repository root.

| Script | Command |
| --- | --- |
| `typecheck` | `tsc --noEmit` |
| `test` | `sh ../../scripts/ci/tmp-leftovers.sh bun test --path-ignore-patterns '**/github-pr.browser.test.ts' --path-ignore-patterns '**/link-preview.browser.test.ts'` |
| `test:pr-browser` | `sh ../../scripts/ci/tmp-leftovers.sh bun test ./tests/github-pr.browser.test.ts ./tests/link-preview.browser.test.ts` |
| `example` | `bun example/serve.ts` |

## Exports

| Import suffix | Source |
| --- | --- |
| `.` | `./src/index.ts` |
| `./core` | `./src/index.ts` |
| `./react` | `./src/react/index.ts` |
| `./genui` | `./src/genui/index.ts` |
| `./tool-model` | `./src/tool-model.ts` |
| `./genui.css` | `./src/genui/kit.css` |
| `./theme.css` | `./src/theme/chat-sdk.css` |

## Workspace dependencies

- `@condensate/agents-host`
- `@condensate/agents-sdk`
- `@condensate/orbkit`
- `@condensate/thread-ui`

## Source of truth

These tables are generated from the package manifest. Follow the application guides for setup, and the linked source for exported interfaces.
