Complete guide to using OctBot - your personal AI assistant with memory.
Visit /chat and start chatting immediately.
Find @your_bot_name on Telegram and send:
/start
POST /api/notes
{
"content": "I love coffee"
}
GET /api/notes
AI automatically references your notes when you chat. This creates "long-term memory".
POST /api/reminders
{
"content": "Team meeting",
"remind_at": "2026-01-30 14:00"
}
GET /api/reminders
Format: YYYY-MM-DD HH:MM (UTC time)
You'll receive a Telegram notification at the specified time.
/setname Jarvis - Change AI name/setprompt You are a helpful coding assistant - Custom personality/template professional - Use preset (default, professional, friendly, creative)/personality - View current settings/reset - Clear chat historyPOST /api/chat
{
"message": "Hello"
}
Response:
{
"reply": "Hi! How can I help?"
}
GET /api/history
Response:
{
"messages": [
{"role": "user", "content": "Hello", "created_at": 123456},
{"role": "assistant", "content": "Hi!", "created_at": 123457}
]
}
Use X-Session-Id header:
X-Session-Id: your-random-session-id
# git clone https://github.com/2045max/octbot.git
cd octbot
npm install
npm run deploy
TELEGRAM_BOT_TOKEN - Get from @BotFatherwrangler d1 execute octbot-db --remote --file=schema.sql