CLI Commands
Most users never need these — your agent manages its own infrastructure. These commands are available for power users and for the agent itself to operate.
instar # Interactive setup wizardinstar setup # Same as aboveinstar init [project-name] # Create a new agent (general or project)Server
Section titled “Server”instar server start [name] # Start the persistent server (background, tmux)instar server stop [name] # Stop the serverinstar server restart [name] # Restart the serverinstar server status [name] # Show server statusinstar status # Show agent infrastructure statusSessionServerGuard protects an active session from restarting its own
managing server while still allowing server lifecycle commands that target a
sibling agent by name or directory.
Lifeline
Section titled “Lifeline”instar lifeline start # Start lifeline (supervises server, queues messages)instar lifeline stop # Stop lifeline and serverinstar lifeline status # Check lifeline healthinstar lifeline list # List lifeline instancesinstar lifeline instances # List instances (hidden alias)Auto-Start
Section titled “Auto-Start”instar autostart install # Agent starts when you log ininstar autostart uninstall # Remove auto-startinstar autostart status # Check if auto-start is installedAdd Capabilities
Section titled “Add Capabilities”instar add telegram --token BOT_TOKEN --chat-id CHAT_IDinstar add whatsappinstar add slack # Add Slack channel + DM messaginginstar add email --credentials-file ./credentials.json [--token-file ./token.json]instar add quota [--state-file ./quota.json]instar add sentry --dsn https://key@o0.ingest.sentry.io/0Channel adapters (direct)
Section titled “Channel adapters (direct)”instar slack-cli status # Slack connection state and channel mappingsinstar slack-cli channels # List authorized channelsinstar whatsapp # WhatsApp adapter management (QR pairing, status)instar user add --id alice --name "Alice" [--telegram 123] [--email a@b.com]instar user listinstar job add --slug check-email --name "Email Check" --schedule "0 */2 * * *" \ [--description "..."] [--priority high] [--model sonnet]instar job listBackup and Restore
Section titled “Backup and Restore”instar backup create # Snapshot identity, jobs, relationshipsinstar backup list # List available snapshotsinstar backup restore [id] # Restore a snapshotMemory
Section titled “Memory”instar memory search <query> # Full-text search across agent knowledgeinstar memory reindex # Rebuild the search indexinstar memory status # Index statsinstar memory export # Export memory dataKnowledge Base
Section titled “Knowledge Base”instar knowledge ingest <content> # Ingest content into knowledge baseinstar knowledge list # List knowledge sourcesinstar knowledge search <query> # Search knowledgeinstar knowledge remove <sourceId> # Remove a knowledge sourceSemantic Memory
Section titled “Semantic Memory”instar semantic search <query> # Semantic search across memoryinstar semantic remember # Store a semantic memoryinstar semantic forget <id> # Remove a semantic memoryinstar semantic stats # Memory statisticsinstar semantic export # Export semantic memoriesinstar semantic decay # Run memory decay processIntent Alignment
Section titled “Intent Alignment”instar intent reflect # Review recent decisions against stated intentinstar intent org-init [name] # Scaffold ORG-INTENT.mdinstar intent validate # Check AGENT.md against ORG-INTENT.mdinstar intent drift # Detect behavioral drift over timeReflection
Section titled “Reflection”instar reflect job <slug> # Reflect on a specific jobinstar reflect all # Reflect on all recent activityinstar reflect analyze [slug] # Analyze reflection patternsinstar reflect consolidate # Consolidate learningsinstar reflect run [slug] # Run a reflection cycleGit Backup
Section titled “Git Backup”instar git init # Initialize git backupinstar git status # Show git stateinstar git push # Push to remoteinstar git pull # Pull from remoteinstar git log # Show git historyinstar git remote <url> # Set remote URLinstar git commit [message] # Create a commitMulti-Machine
Section titled “Multi-Machine”instar machines # List all paired machines and their rolesinstar machines remove <name-or-id> # Revoke a machine from the meshinstar whoami # Show this machine's identity and roleinstar pair # Generate a pairing code for a new machineinstar join <url> # Join an existing agent mesh (--code <code>, --name <name>)instar wakeup # Move the agent to this machine (transfer awake role)instar leave # Remove this machine from the meshNote: whoami, pair, join, wakeup, and leave are top-level commands, not subcommands of machines.
Channels
Section titled “Channels”instar channels login <adapter> # Authenticate a messaging adapterinstar channels doctor [adapter] # Diagnose adapter issuesinstar channels status # Show adapter statusRelationships
Section titled “Relationships”instar relationship list # List tracked relationshipsinstar relationship import # Import relationship datainstar relationship export # Export relationship dataPlaybook (Context Engineering)
Section titled “Playbook (Context Engineering)”instar playbook init # Initialize playbook systeminstar playbook doctor # Diagnose playbook healthinstar playbook status # Show playbook statusinstar playbook list # List playbook itemsinstar playbook read <itemId> # Read a playbook iteminstar playbook add # Add a playbook iteminstar playbook search <query> # Search playbookinstar playbook assemble # Assemble context from playbookinstar playbook evaluate [log] # Evaluate playbook against sessioninstar playbook lifecycle # Run lifecycle managementinstar playbook validate # Validate playbook structureinstar playbook mount <path> # Mount external data sourceinstar playbook unmount <name> # Unmount a data sourceinstar playbook export # Export playbook datainstar playbook import <file> # Import playbook datainstar playbook eject [script] # Eject a script for customizationinstar playbook user-export <userId> # Export user-specific datainstar playbook user-delete <userId> # Delete user data (DSAR)instar playbook user-audit <userId> # Audit user data footprintDiagnostics
Section titled “Diagnostics”instar doctor # Run health diagnosticsinstar review # Review system stateinstar nuke <name> # Remove an agent completelyinstar migrate # Run pending migrationsinstar upgrade-ack # Acknowledge an upgradeinstar discovery # Scan filesystem + registry + GitHub for existing agentsinstar gate # UnjustifiedStopGate operator tooling (enforcement mode, kill-switch, logs)Multi-machine
Section titled “Multi-machine”instar pair # Initiate pairing on a new machineinstar join <code> # Complete pairing using a code from `pair`instar whoami # Show local machine identityinstar machines # List paired machines and their stateinstar wakeup [machine] # Wake a paired machine (where supported)instar leave # Remove this machine from the multi-machine clusterWorkspace and worktrees
Section titled “Workspace and worktrees”instar worktree create <branch> [slug] # Create a sandbox-safe worktree under .instar/agents/<self>/.worktrees/instar worktree register-keypair # Register a per-worktree keypair for parallel-dev isolationThreadline relay
Section titled “Threadline relay”instar relay status # Threadline relay connection statusinstar relay start # Start the relay listener (Phase 1+ listener daemon)instar relay stop # Stop the relay listenerinstar listener install # Install the listener as a launchd / systemd unitinstar listener logs # Tail listener logsPower-user tooling
Section titled “Power-user tooling”instar route <task> # One-shot framework + model routing for a task descriptioninstar dev:preflight # Verify-only contributor guard: lint, CapabilityIndex tests, route-prefix warninginstar dev:ci-failures <pr> # Print a PR's exact failing tests (file:line + assertion) via the check-run annotations APIinstar dev:post-drive-transcript-audit --topic <id> --start <time> --end <time> # Audit a supervised topic transcript for operator-seat UX findings and file framework-issue observationsinstar dev:profile-node [pid] # CPU-profile a running node process (SIGUSR1 + inspector + CDP) and print its hottest JS functionsinstar jobMigrate # Migrate jobs between schema versionsinstar ledgerCleanup # Token ledger cleanupinstar memoryBackfillEvidence # Backfill evidence rows into the memory indexinstar org init "Acme Corp" # Create ORG-INTENT.md for organizational intentDocs coverage tracks the post-drive auditor capability as instar post-drive-transcript-audit; the shipped power-user command is instar dev:post-drive-transcript-audit.
Feedback
Section titled “Feedback”instar feedback --type bug --title "Session timeout" --description "Details..."