Skip to content

v1.0.0 — Prabu bootstrap CLI

Choose a tag to compare

@itokun99 itokun99 released this 27 Nov 13:40
· 5 commits to main since this release

prabu v1.0.0

First public release of prabu as a bootstrap CLI. This is a ground-up rewrite of the earlier omotg Telegram→OpenCode bridge: prabu no longer runs a bot, webhook, OpenCode server, or MCP bridge.

What prabu is

A Go standard-library-only CLI that bootstraps a homelab AI assistant on a Linux host. One command installs and configures the whole stack:

  • ZeroClaw — the Telegram-facing assistant that owns polling, authorization, chat sessions, and forum-topic reply routing.
  • OMO Native — the delegated executor ZeroClaw calls through its shell tool (omo -p).
You in Telegram ──DM or mention──> ZeroClaw ──shell: omo -p──> OMO Native
                                      └──────── final result ────────> You

What setup does

  • Installs ZeroClaw and OMO Native via their official installers.
  • Configures ZeroClaw with a model provider, a Telegram channel, and a managed agent instruction that delegates execution to OMO via omo -p --approve --no-session.
  • Keeps the shell tool restricted to the single omo executable, with a bounded 30-minute timeout.
  • Installs and starts the user-scoped systemd service, adds OMO's install path to it, and enables systemd lingering.
  • Stores the Telegram token through ZeroClaw's secret-aware config interface — never written to config.toml, argv, or logs.

Commands

  • prabu setup — install + configure ZeroClaw/OMO, configure Telegram, start the service.
  • prabu doctor — readiness checks against the manifest and live files.
  • prabu update — refresh ZeroClaw/OMO via their updaters and restart the service.
  • prabu uninstall — remove only the managed service and binaries; preserves ~/.zeroclaw, ~/.omo, credentials, agent workspaces, and memory.

Safety posture

  • The agent's managed SOUL.md keeps ZeroClaw an orchestrator: execution goes through omo only, never direct commands.
  • Shell allowlist contains only omo; delegation is auto-approved so the Telegram assistant can wait for OMO without an extra approval round-trip.
  • Telegram uses Bot API long-polling — outbound only, no inbound port, reverse proxy, or webhook.

Requirements

  • Linux with a systemd user service and sudo access for loginctl enable-linger.
  • Go 1.26+ to build (or use a release binary).
  • A Telegram bot token from @Botfather.
  • OMO Native model authentication configured on the host (omo login).

Install

git clone https://github.com/itokun99/prabu.git
cd prabu
go build -o prabu .
export PRABU_TELEGRAM_BOT_TOKEN='your-bot-token'
./prabu setup --provider ollama --model llama3.1 --yes

A prebuilt linux/amd64 binary is attached below. See the README for full provider and lifecycle docs.