Skip to content

Installation

Terminal window
npx instar

The guided setup wizard handles everything:

  1. Discovers your environment — Node.js version, Claude Code CLI, existing projects
  2. Configures messaging — Telegram bot setup, WhatsApp QR pairing, or both
  3. Creates identity filesAGENT.md, USER.md, MEMORY.md with guided prompts
  4. Starts your agent — Server running, messaging connected, ready to talk

Within minutes, you’re talking to your partner from your phone.

If you prefer a persistent CLI:

Terminal window
npm install -g instar
instar

After setup, you’ll have:

.instar/
config.json # Server, scheduler, messaging config
jobs.json # Scheduled job definitions
users.json # User profiles
AGENT.md # Agent identity
USER.md # User context
MEMORY.md # Persistent learnings
hooks/ # Behavioral scripts (auto-installed)
.claude/
settings.json # Hook registrations
scripts/ # Health watchdog, relay scripts
skills/ # Built-in skills

Your agent can start automatically when you log into your computer:

Terminal window
instar autostart install # macOS LaunchAgent or Linux systemd
instar autostart status # Check if installed
instar autostart uninstall # Remove

Check that everything is running:

Terminal window
instar status # Infrastructure overview
instar doctor # Health diagnostics