localbot

command
v0.3.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 23, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Command localbot runs a minimal Telegram chat gateway: long-poll ingress, the durable local spool, and per-conversation agent sessions under a local data directory. Sessions are created with all tools disabled (the LocalProvider default); wire tools explicitly via chat.WithSessionOptions if you need them.

Environment:

TELEGRAM_BOT_TOKEN       bot token from @BotFather (required)
TELEGRAM_ALLOWED_SENDERS comma-separated Telegram user ids allowed to
                         drive the bot (optional; empty = allow all)
LOCALBOT_DATA_DIR        spool + session root (default ./localbot-data)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL