effect-uai-agentic-loop

Official

Long-lived chat agent with input buffering.

Authorbetalyra
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Long-lived chat agent logic that drains a user-message queue between cleanly-finished turns; bursts of typing are coalesced into one batch via a debounce window; mid-task tool exchanges pass through to the next iteration without checking for new input.

Core Features & Use Cases

  • Buffers user messages from a queue between turns to maintain a smooth, responsive conversation.
  • Debounces bursts of typing into a single batch to reduce churn and improve throughput.
  • Executes tool calls mid-turn and continues to the next iteration without waiting for new input.
  • Defines external lifetime control to terminate sessions from the outside (Ctrl-C, WebSocket disconnect, etc.).
  • Suitable for interactive CLI agents, WebSocket-based agents, or any long-lived conversational loop requiring controlled input flow.

Quick Start

Start the conversation loop by passing a user message queue and the required tools, then let the loop drive turns automatically.

Dependency Matrix

Required Modules

None required

Components

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-uai-agentic-loop
Download link: https://github.com/betalyra/effect-uai/archive/main.zip#effect-uai-agentic-loop

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.