Lean, secure, self-hosted AI assistant for Railway.
Your AI agent that runs on your infrastructure, answers only to you, and you can actually audit.
| Full OpenClaw | AssureBot |
|---|---|
| 12+ channels | Telegram only |
| File-based config | Env vars only |
| Plugins/extensions | None (locked down) |
| Desktop/mobile apps | Headless server |
| Complex setup | One-click deploy |
Trade-off: Less features, more trust.
- Telegram Bot β Allowlist-only access, no public commands
- Image Analysis β Send photos for AI analysis (Claude Vision / GPT-4V)
- Webhook Receiver β Authenticated HTTP endpoint for integrations
- Docker Sandbox β Isolated code execution (no network, dropped caps)
- Cron Scheduler β Time-based recurring tasks
- Full Audit Log β JSONL logs of every interaction
# Required
TELEGRAM_BOT_TOKEN=your_bot_token
ALLOWED_USERS=123456789,987654321 # Telegram user IDs
# AI Provider (one required)
ANTHROPIC_API_KEY=sk-ant-...
# or
OPENAI_API_KEY=sk-...
# Optional
WEBHOOK_SECRET=auto-generated-if-empty
AUDIT_LOG_PATH=/data/audit.jsonl
SANDBOX_ENABLED=true- Click the deploy button above
- Set environment variables
- Your bot is live
cd secure
pnpm install
pnpm startdocker build -t assurebot -f secure/Dockerfile .
docker run -d \
-e TELEGRAM_BOT_TOKEN=... \
-e ALLOWED_USERS=... \
-e ANTHROPIC_API_KEY=... \
assurebot- No config files β All secrets via environment variables
- Allowlist only β Only specified Telegram user IDs can interact
- Timing-safe auth β Webhook tokens compared safely
- Sandbox isolation β Code runs in Docker with no network, read-only root, dropped capabilities
- Audit everything β Every message, command, and action logged to JSONL
βββββββββββββββ βββββββββββββββ βββββββββββββββ
β Telegram ββββββΆβ AssureBot ββββββΆβ AI Agent β
β (User) βββββββ (Core) βββββββ (Claude/ β
βββββββββββββββ βββββββββββββββ β OpenAI) β
β βββββββββββββββ
β
ββββββββββββββΌβββββββββββββ
βΌ βΌ βΌ
ββββββββββββ ββββββββββββ ββββββββββββ
β Webhooks β β Sandbox β β Schedulerβ
ββββββββββββ ββββββββββββ ββββββββββββ
In Telegram, send:
- Any text message β AI responds
- Photo with caption β Image analysis
/sandbox <code>β Run code in isolated container/schedule <cron> <task>β Create scheduled task/tasksβ List scheduled tasks
AssureBot is a hardened fork of OpenClaw, stripped down for security-first self-hosting.
MIT