effect-ai-chat
CommunityBuild multi-turn Effect chat sessions.
Software Engineering#tool calling#streaming#schema validation#ai chat#effect#prompt orchestration#stateful sessions
Authormpsuesser
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It helps you implement reliable stateful AI conversations in TypeScript by managing conversation history, tool-call loops, and structured outputs without hand-rolling prompt plumbing.
Core Features & Use Cases
- Stateful multi-turn chat: Maintains a conversation history reference and appends user/model messages automatically across turns.
- Streaming responses: Produces streamed text deltas while keeping session history consistent after completion.
- Structured object generation: Generates typed results that conform to an Effect Schema, enabling safe downstream processing.
- Agentic tool-calling loops: Supports iterative tool use by recording tool calls and results in the same chat context.
Quick Start
Create a session with Chat.fromPrompt, then call generateText with a message prompt while providing LanguageModel in context.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: effect-ai-chat Download link: https://github.com/mpsuesser/pi-effect-harness/archive/main.zip#effect-ai-chat Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.