setup
Interactive wizards for plain CLI and OpenClaw integration.
reflexio setup
Interactive wizards that write credentials and provider keys to ~/.reflexio/.env and — for the integration commands — install hooks into the host tool. Use init if you just want the CLI configured; use the integration commands when you also want Reflexio wired into OpenClaw.
All setup commands are interactive — they prompt for provider choice and API keys. Use them in a real terminal, not in a CI job.
reflexio setup init
Configure Reflexio without installing any integration. Writes REFLEXIO_URL / REFLEXIO_API_KEY / LLM provider keys / storage backend to ~/.reflexio/.env. Run this if you're using the reflexio CLI directly from your shell.
reflexio setup init [--skip-llm]Prop
Type
What it asks
Storage
Choose one of:
- Local SQLite — local Reflexio server, no extra credentials.
- Managed Reflexio (
reflexio.ai) — prompts for a Reflexio API key and verifies viawhoami. - Self-hosted Reflexio — prompts for server URL + API key.
LLM provider
Pick from OpenAI, Anthropic, Gemini, DeepSeek, OpenRouter, MiniMax, DashScope, xAI, Moonshot, or ZAI. Writes the provider's API key env var (e.g. OPENAI_API_KEY) into the .env.
Skipped automatically when you choose the Managed Reflexio storage option, or when --skip-llm is set.
Embedding provider
If the chosen LLM provider does not support embeddings (everything except OpenAI and Gemini), you are prompted to pick an embedding-capable provider separately.
reflexio setup openclaw
Install (or remove) the Reflexio integration for OpenClaw. Registers the reflexio-context hook plugin, copies the Reflexio skill into ~/.openclaw/skills/reflexio, and runs the same provider / storage prompts as init.
reflexio setup openclaw [--uninstall]Prop
Type
Prerequisites
openclawCLI on your PATH (install from openclaw.ai).
Next steps after install
reflexio services startopenclaw gateway restart- Start a conversation — Reflexio will capture and learn automatically.