Skip to content

open-kbs/tutorials

Repository files navigation

OpenKBS Tutorials

Build AI agents from zero to production. This step-by-step tutorial series guides you through creating a fully-functional Telegram Agent.

Prerequisites

  • Node.js 18+ installed
  • Basic JavaScript knowledge
  • A text editor (VS Code recommended)

What You'll Build

By the end of this series, you'll have a working Telegram Agent that can:

  • Store persistent data (memory system)
  • Archive historical data with semantic search (VectorDB)
  • Schedule future reminders
  • Send notifications via Telegram
  • Search the web and generate images
  • Clean up expired items automatically (cronjob)

Tutorial Series

# Tutorial What You'll Learn
1 Getting Started Install CLI, create agent, deploy to cloud
2 Backend Commands Create custom commands with XML pattern
3 Memory System Persistent storage with itemTypes
4 Scheduled Tasks One-time reminders and cronjobs
5 Telegram Integration Webhook setup and notifications
6 Frontend Rendering Custom UI for commands and images
7 Vector Memory Long-term archive with semantic search
8 Deep Research Autonomous web research agent
9 MCP Integration Connect to external tools (Brave, GitHub, Slack)

Elastic Services (Full-Stack Apps)

# Tutorial What You'll Learn
10 Node.js Full-Stack Social app with real-time chat, image uploads
11 Java REST API CRUD API with PostgreSQL
12 Python API API with file uploads to S3

Reference: For detailed documentation on Elastic services (Postgres, Storage, Functions, Pulse), see the Elastic Reference Docs.

Quick Start

# Install CLI
npm install -g openkbs

# Create agent
openkbs create telegram-agent
cd telegram-agent

# Login and deploy
openkbs login
openkbs push

Complete Agent Code

The finished agent code is available in agents/telegram-agent/.

You can copy it directly:

cp -r tutorials/agents/telegram-agent my-agent
cd my-agent
openkbs push

Resources

About

OpenKBS Tutorials

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •