TypeScript - Vecel AI Guides

These guides walk through a TypeScript + Express + Vercel AI SDK integration for Memory Service.

Each page maps to a runnable checkpoint under typescript/examples/vecelai/doc-checkpoints/ and includes executable curl scenarios.

Before starting, complete TypeScript Dev Setup.

Guides

Getting Started

Build a minimal Express chat app and add conversation-backed memory.

Conversation History

Record user/AI turns in the history channel and expose conversation APIs.

Index history text and expose POST /v1/conversations/search.

Conversation Forking

Create and list conversation forks.

Response Recording and Resumption

Stream responses and support resume-check/resume/cancel APIs.

Sharing

Manage memberships and ownership transfers.

Client Configuration

Environment variables, explicit config, and memoryServiceConfigFromEnv() factory usage.

Dev Setup

Local setup and pre-publish package workflow.