Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

adk

БесплатноБез исполняемых скриптовНе проверен

A guide to build AI bots with Botpress's Agent Development Kit (ADK)

lxyeternalот lxyeternal★ 68 звёзд на GitHub

Об этом скилле

Botpress ADK Development Guide

A comprehensive guide for building AI bots with the Botpress Agent Development Kit (ADK).

When to Use

  • User asks to build a Botpress bot or chatbot
  • User mentions ADK, Agent Development Kit, or Botpress
  • User wants to create actions, tools, workflows, conversations, tables, triggers, or knowledge bases
  • User needs help with adk CLI commands (init, dev, deploy, link)
  • User has ADK-related errors or needs troubleshooting
  • User asks about bot configuration, state management, or integrations

Quick Reference

The ADK is a convention-based TypeScript framework where file structure maps directly to bot behavior.

Your role: Guide users through the entire bot development lifecycle - from project setup to deployment. Use the patterns and code examples in this skill to write correct, working ADK code.

Key principle: In ADK, where you put files matters. Each component type has a specific src/ subdirectory, and files are auto-discovered based on location.

How to Use This Skill

This skill is your primary reference for building Botpress bots. When a user asks you to build something with the ADK:

  1. Identify what they need - Is it a new bot, a feature (action, tool, workflow), data storage (table), or event handling (trigger)?
  2. Check the correct directory - Each component type goes in a specific src/ subdirectory
  3. Use the patterns below - Follow the code examples exactly, they represent the correct ADK conventions
  4. Run adk --help - For CLI commands not covered here, or adk <command> --help for specific help

Decision Guide - What Component to Create:

User Wants To... Create This Location
Handle user messages Conversation src/conversations/
Add a function the AI can call Tool src/tools/
Add reusable business logic Action src/actions/
Run background/scheduled tasks Workflow src/workflows/
Store structured data Table src/tables/
React to events (user created, etc.) Trigger src/triggers/
Give AI access to docs/data Knowledge Base src/knowledge/
Connect external service (Slack, etc.) Integration adk add <name>

If the information in this skill isn't enough, fetch the corresponding GitHub reference file (links provided in each section) for more detailed specifications.

Important: ADK is AI-Native

The ADK does NOT use traditional chatbot patterns. Don't create intents, entities, or dialog flows.

Instead of:

  • Defining intents (greet, orderPizza, checkStatus)
  • Training entity extraction (@pizzaSize, @toppings)
  • Manually routing to intent handlers

ADK uses:

  • execute() - The AI understands user intent naturally from instructions
  • Tools - AI autonomously decides when to call your functions
  • zai.extract() - Schema-based structured data extraction
  • Knowledge bases - RAG for grounding responses in your docs

Docs: https://www.botpress.com/docs/adk/ GitHub: https://github.com/botpress/skills/tree/master/skills/adk


Prerequisites & Installation

Before using the ADK, ensure the user has:

  • Botpress Account - Create at https://app.botpress.cloud
  • Node.js v22.0.0+ - Check with node --version
  • Package Manager - bun (recommended), pnpm, yarn, or npm

Install the ADK CLI:

macOS & Linux:

curl -fsSL https://github.com/botpress/adk/releases/latest/download/install.sh | bash

Windows (PowerShell):

powershell -c "irm https://github.com/botpress/adk/releases/latest/download/install.ps1 | iex"

Verify installation:

adk --version

If installation fails, check https://github.com/botpress/adk/releases for manual download options.

Docs: https://www.botpress.com/docs/adk/quickstart GitHub: https://raw.githubusercontent.com/botpress/skills/master/skills/adk/references/cli.md


Quick Start

Once the ADK CLI is installed, create a new bot:

adk init my-bot         # Create project (choose "Hello World" template for beginners)
cd my-bot
npm install             # Or bun/pnpm/yarn
adk login               # Authenticate with Botpress Cloud
adk add chat            # Add the chat integration for testing
adk dev                 # Start dev server with hot reload
adk chat                # Test in CLI (run in separate terminal)
adk deploy              # Deploy to production when ready

The visual console at http://localhost:3001/ lets you configure integrations and test the bot.

Docs: https://www.botpress.com/docs/adk/quickstart GitHub: https://raw.githubusercontent.com/botpress/skills/master/skills/adk/references/cli.md


Linking and Deploying Your Bot

IMPORTANT: Your bot must be linked to Botpress Cloud and deployed for it to work. The ADK runs locally during development but the bot itself lives in Botpress Cloud.

The Correct Order: Lin

Полный SKILL.md на GitHub

Установить adk в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

README.md_meta.json

FAQ

Что делает скилл adk?

A guide to build AI bots with Botpress's Agent Development Kit (ADK)

Как установить скилл adk?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл adk запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить adk с