bk-chat-helper

Community

Power AI chat apps with robust state & API.

Authorforrany
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Building AI chat applications requires orchestrating UI, API calls, streaming responses, and session management across components. This Skill provides a modular chat-helper SDK that centralizes agent, session, and message workflows to accelerate development and ensure consistent behavior.

Core Features & Use Cases

  • Modular architecture: separate agent, session, message, and http modules with clear boundaries.
  • Streaming support: handle streaming responses to render AI messages in real time.
  • UI integration: seamless cooperation with bk-chat-x to build end-to-end AI chat experiences.
  • Use Case: quickly prototype a multi-user chat assistant by wiring an HTTP backend to agent.chat and managing sessions.

Quick Start

  • Install the SDK: pnpm add @blueking/chat-helper
  • Initialize with a minimal configuration: use useChatHelper with requestData.urlPrefix and optional interceptors (see references/api-reference.md)
  • Start a simple flow: agent.getAgentInfo(), session.getSessions(), and agent.chat("hello", session.current.value?.sessionCode || "default")

Dependency Matrix

Required Modules

None required

Components

references

💻 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: bk-chat-helper
Download link: https://github.com/forrany/Agent-configs/archive/main.zip#bk-chat-helper

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 223,000+ vetted skills library on demand.