Sourcing SDK
@ai-sourcing/core is the TypeScript client. @ai-sourcing/react adds SourcingChat and the pieces it is built from. Both packages are 0.1.0. Node.js 20+ is required. The React package needs React and React DOM 19.
SourcingChat is the embeddable conversation: a transcript, a requirements summary, and a card list. A host that draws its own results (a sortable table, an adjust dialog, a candidate page, history) keeps that UI and calls the client methods in this guide.
The HTTP API is mounted at /api/v2. Public type names do not include that version.
| Light theme | Dark theme |
|---|---|
![]() | ![]() |
Both screenshots show the shipped SourcingChat after the first search, using synthetic candidate data.
Where to go
| Goal | Page |
|---|---|
| Add the packages | Install |
| Create a client, including matching | Client |
| Drop in the chat | Embed the chat |
| Drive one conversation | Chat controller |
| Call search, history, or the requirement tree yourself | Client methods |
| Read a failed request | Errors |
| Pick a piece of the screen | Components |

