Introduction

Overview of chat-utils and its core philosophy.

chat-utils is a collection of libraries designed to enhance the Vercel Chat SDK experience. It provides a modular approach to building complex chat applications by separating conversation logic from infrastructure.

The project is split into two primary packages:

  • chat-flows: A conversation flow engine for building multi-turn dialogues.
  • chat-middleware: A middleware layer for global error handling and context enrichment.