chatbot

Build and deploy multi-turn chatbots with session history and optional Agent/RAG integration.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/liushuang393/serverlessAIAgents --skill chatbot
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: chatbot
Source: https://github.com/liushuang393/serverlessAIAgents/tree/main/agentflow/skills/builtin/chatbot
Command: npx skills add https://github.com/liushuang393/serverlessAIAgents --skill chatbot

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill enables building and deploying multi-turn chatbots with session history, context maintenance, and optional Agent/RAG integration.

Core Features & Use Cases

  • Session management: create and manage multiple conversations with system prompts and metadata.
  • History and context: maintain conversation history within a configurable window.
  • Agent integration: call Coordinators/SubAgents to delegate tasks.
  • RAG integration: optional knowledge augmentation for responses.
  • Use Case: Build customer-support bots that handle inquiries and escalate to human agents when needed.

Quick Start

Use ChatBotSkill to start a session and have a multi-turn conversation. Example: bot = ChatBotSkill(); session = bot.create_session(); response = await bot.chat(session.id, "Hello!")

Frequently Asked Questions about chatbot

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I build a multi-turn chatbot with session history and context maintenance?

To build a multi-turn chatbot, you create and manage sessions that maintain conversation history within a configurable context window. This enables continuous dialogue by tracking previous messages and system prompts across interactions.

What is session lifecycle management in a multi-turn chatbot?

Session lifecycle management in a multi-turn chatbot involves creating and managing multiple distinct conversations with system prompts and metadata. It ensures context and message history are preserved within configurable windows for each individual session.

How do I integrate RAG into a customer-support chatbot?

You can integrate RAG into a customer-support chatbot using optional knowledge augmentation features. This allows the bot to retrieve external knowledge to answer inquiries accurately and escalate to human agents when needed.

Can I use agent coordination to delegate tasks within a chatbot session?

Yes, you can use agent coordination to delegate tasks by calling Coordinators and SubAgents within configurable chatbot sessions. This allows the multi-turn chatbot to orchestrate complex workflows and handle specialized inquiries.

Does this chatbot skill require specific LLM provider dependencies?

No specific LLM provider dependencies are required. The skill supports provider-agnostic LLM integration, allowing you to connect various language models for dialogue management without being locked into a single vendor.

What are the limitations of using configurable context windows for dialogue management?

Configurable context windows limit dialogue management by only retaining a set number of recent messages in session history. This prevents indefinite memory growth but means older conversation context is eventually dropped from the chatbot's active scope.