CLI
The weside CLI brings your companion to the terminal. Same companion, same memory as the app — for people who’d rather not leave the command line. It sits on the same REST API and, for a few commands, the same MCP server the we plugin uses. One companion, three ways in.
What it is
Section titled “What it is”An open-source Go CLI (Apache 2.0), at github.com/weside-ai/weside-cli. This page names its command groups and their verbs; weside --help and weside <command> --help are the always-current source, with every flag.
# Homebrew (macOS/Linux)brew tap weside-ai/tapbrew install weside-cli
# npmnpm install -g weside-cli
# Shell scriptcurl -fsSL https://raw.githubusercontent.com/weside-ai/weside-cli/main/scripts/install.sh | sh
# From sourcego install github.com/weside-ai/weside-cli@latestPre-built binaries for Linux, macOS (Intel + Apple Silicon), and Windows are on the releases page.
Why it matters to you
Section titled “Why it matters to you”Everything the app does, the CLI does too — chat, memory, goals, rooms, stickers, plans and credits, account management — and it speaks --json everywhere, so it drops into scripts and pipelines instead of staying a one-off terminal toy.
How you use it
Section titled “How you use it”Sign in once, then talk to your companion:
weside auth login # log inweside companions list # see your companionsweside companions select nox # pick a defaultweside chat -m "Hey, how are you?"weside chat --stream -m "Tell me a story"weside auth login opens a browser for a standard OAuth login (PKCE) — pick Google, Apple, or email there, same as signing in on the web or in the app. If your account uses two-factor authentication, the CLI then asks Two-factor code: in the terminal; without a terminal it stops and tells you to run weside auth login in one. weside auth login --dev and the WESIDE_TOKEN environment variable are developer/CI shortcuts for headless machines, not the everyday path. auth whoami, auth token and auth logout do what they say.
The command groups, by what they’re for:
- Companions —
companions list | show | create | select | update | delete, plus care and setup:companions identity(loads the selected companion’s full identity) withcompanions identity show | setfor its identity prompt,companions prompts show | versions | restore,companions resume,companions skills available | install | list | set | uninstall,companions tools list | set. - Your companion’s day —
companions timeline(what it lived across its rooms, memories and tool calls),companions day(what it did in the last 24 hours),companions sleep(pauses its proactive wakes) andcompanions wake;background list(--allfor every companion) andbackground cancelfor the work it runs in the background. - Chat & rooms —
chat [companion](-m/--message,-f/--file,--stream,--abort-after), piped input (echo "Hi" | weside chat nox); the v2 chat model is room-based, so conversation management isrooms list | show | dm | group | rename | delete | participants | mute | unmute | activity | confirmations | events | apps, and for a turn in a roomrooms cancel | undo | regenerate | context-break. - Memories & goals —
memories search "query" | list | get | save | edit | update | delete,goals list | save | update | edit | reorder.memories list --autoload=truelists only the pinned memories your companion always loads,--autoload=falseonly the others. Memory search is semantic, not keyword — “how does auth work” finds memories about authentication even without the word. - Vault: notes, files, ablage —
ablage search,files tree | upload | delete | keep | quota,notes list | get | write | delete | search | recent,notes working-set add | remove | list,notes-repo status | repair,notes-pat list | mint | revoke, and a cross-vaultsearchthat covers memories, notes, and files together. - Stage apps —
stage list | delete,stage dataandstage data setfor an app’s data,stage callfor one of its tools,stage share | unshareto share an app into a room;rooms appslists the apps shared into a room. - Stickers —
stickers workshop slots | generate | reroll | keep | discard | styleto design a sticker,stickers packs list | show | upload | publish | export, andstickers send. - Invites & safety —
invite mint | rotate | show | acceptfor room invitations,safety block | unblock | blocked | reportfor trust & safety actions. - Provider & data residency —
provider show | presets | set | byok | byok-discover | byok-test | eu-only; see connect your own model key. - Plan, credits, referrals —
plans me | show,billing usage | purchase-eligibility,me usage,referrals create | list | revoke | stats. - Account & data rights —
me-account export | deactivate | profile | profile-set | locale | sliding-window. - Integrations & the sandbox vault —
integrations catalog | list | disconnect | reconcile,sandbox-secrets put | list | delete | presets. - Attention —
triggers list | set | toggle | delete,subscriptions list | toggle,reminders list | dismiss,evolution presets | start | current | dismiss,experts list | befriend,mentor-sessions. - Circles & channels —
circles create | list | delete,channels list | set-active. - Tools —
tools discoverandtools exec <name> '<json>'for the actions your companion can perform. - Config and escape hatches —
config show | set | system | refresh-auth,user-config get | set | delete,completion,version, andapi <path>for a raw authenticated call (marked(debug)in--help).
Limits & edge cases
Section titled “Limits & edge cases”api,rooms trace,rooms tool-call, andnotes-repo repairare diagnostic verbs, not everyday ones —--helplabelsapi(debug)outright. Reach for them when you’re troubleshooting, not as your first move.- Four verbs go through MCP.
companions identity,goals save,memories saveand thetoolsgroup (tools discover,tools exec) talk to the same MCP server the we plugin uses; everything else in this list is a direct REST call. - One sign-in per environment. Production keeps its credentials in
~/.weside/credentials.json, every other environment in~/.weside/credentials-<env>.json, so signing in to one never signs you out of another. - Self-hosting an auth backend?
--supabase-urland--supabase-anon-keyare the escape hatch; without them, the CLI discovers your auth endpoint from/.well-known/weside-auth. Global flags on every command:--json,--verbose,--config,--api-url,--no-color,--supabase-url,--supabase-anon-key.
weside companions list --json | jq '.companions[0].name'curl -H "Authorization: Bearer $(weside auth token)" https://api.weside.ai/api/v1/auth/me