The install script automatically runs opengram init. If you skipped it or want to change your settings, you can re-run it at any time:
opengram init
The wizard will prompt you for:
Port -- the port Opengram listens on. Auto-detects an available port (tries 3000, 3001, 3333).
Instance secret -- a secret key used to authenticate API requests from your agents. Can be auto-generated, custom, or disabled.
Auto-rename -- whether to automatically rename chats using an LLM. Supports Anthropic, OpenAI, Google Gemini, xAI, and OpenRouter.
OpenClaw plugin -- if the openclaw CLI is detected, optionally install and connect the OpenClaw agent plugin.
Background service (Linux / macOS) -- whether to install a systemd or launchd service for automatic startup.
At the end, the wizard shows a Network section with instructions for making Opengram accessible from other devices using Tailscale. If Tailscale is already installed, it detects your hostname and shows the exact command to run.
The wizard writes its output to ~/.opengram/opengram.config.json (or $OPENGRAM_HOME/opengram.config.json). You can edit the file directly at any time. Re-running opengram init merges changes into the existing config without overwriting other settings.
If you use Openclaw, you can connect your agents to Opengram with our plugin. If the openclaw CLI was detected during opengram init, this is already configured -- otherwise, install the plugin manually:
The setup command will ask for your Opengram base URL and instance secret, then configure OpenClaw to send and receive messages through the Opengram chat UI automatically.
Migrations run automatically when the server starts. No manual migration step is needed -- on upgrades, new migrations are applied on the next startup.