Skip to content

netclaw init

netclaw init runs the bootstrap wizard — four or five steps depending on your security posture — that get netclaw from zero to a working chat session. Run it once on a fresh install. If you need to adjust channels, search, exposure mode, or skills after setup, use netclaw config instead.

Terminal window
netclaw init
  • LLM provider credentials — an OpenRouter API key (easiest) or Ollama installed locally
  • Anthropic, OpenAI, or other cloud-provider API key if not using OpenRouter

Channel tokens (Slack, Discord, Mattermost), search providers, browser automation, skill sources, and network exposure are all configured in netclaw config after init — you don’t need them now.

The wizard counts steps dynamically: 4 steps for Personal posture (the Enabled Features step is skipped), 5 steps for Team or Public.

Pick an LLM provider, enter credentials, and select a default model.

Provider selection list

Available providers: Anthropic, GitHub Copilot, Ollama, OpenAI, llama.cpp / vLLM, OpenRouter, and Venice.ai. Self-hosted backends (Ollama, llama.cpp / vLLM) prompt for an endpoint URL next.

Endpoint configuration

After credentials pass a connectivity check, you pick a default model from the discovered list.

Model selection

Add or swap providers later with netclaw provider. Reassign model roles without re-running init with netclaw model.

Four substeps in order: agent name → communication style → your name → timezone.

SubstepPromptNotes
Agent nameAgent name:Defaults to Netclaw if left blank
Communication styleCommunication style:Choose: Concise & casual, Concise & formal, Detailed & casual, Detailed & formal
Your nameYour name:Optional — used to personalize responses
TimezoneYour timezone:Defaults to local system timezone

Identity step — communication style

Security posture selection

Three postures are listed with a brief annotation; the hint line below explains the shell-access implications of each.

PostureWho uses itShell accessEnabled Features step
PersonalSingle user, high trustEnabled with approval gatesSkipped (all features on by default)
TeamMultiple users, medium trustOffShown (all features on by default)
PublicUntrusted users, low trustOffShown (all features off by default)

You can tighten or loosen per-channel behavior later in netclaw config.

Step 4 — Enabled Features (Team and Public only)

Section titled “Step 4 — Enabled Features (Team and Public only)”

Six toggles that control what’s available across all audiences:

FeatureConfig key
MemoryMemory.Enabled
SearchSearch.Enabled
SkillsSkillSync.Enabled
SchedulingScheduling.Enabled
SubAgentsSubAgents.Enabled
WebhooksWebhooks.Enabled

Space to toggle, Enter to continue. Personal posture skips this step entirely — all features are on by default.

Feature selection on Team posture

All six features default to enabled on Team posture; Public posture defaults them all off.

Press Enter to run the health checks. The wizard validates config files, tests provider connectivity, and starts the daemon.

Health check running

On a clean pass — all probes green — the wizard writes config and launches netclaw chat automatically. No extra confirmation needed.

If any check fails, the wizard stays on the summary screen and shows:

Setup complete with warnings. Run `netclaw daemon start`, then `netclaw chat`. Adjust settings with `netclaw config`.

If init fails partway through, the files it already wrote stay on disk. Rerun netclaw init or inspect the saved config and run netclaw doctor before trying again.

Running netclaw init when ~/.netclaw/config/netclaw.json already exists opens an action menu instead of the bootstrap wizard.

Existing-install action menu

OptionEffect
Redo identity setupRe-runs the four-substep identity flow; provider and all other settings are kept
Open configuration editorLaunches netclaw config
Start over from scratchDestructive reset — see below
CancelExits with config untouched

Selecting “Start over from scratch” opens a scope chooser:

ScopeWhat’s deleted
Reset setup onlyConfig, secrets, identity, and personality (~/.netclaw/config/, ~/.netclaw/identity/, ~/.netclaw/soul/). Memory, sessions, and skills are kept.
Full resetEverything under ~/.netclaw/
CancelReturns to the action menu

Both destructive scopes require two confirmations. The default selection at each confirmation is Cancel — you have to move to the Yes option and confirm twice before anything is deleted.

Start-over scope chooser

FilePurpose
~/.netclaw/config/netclaw.jsonMain configuration (includes security posture and feature flags)
~/.netclaw/config/secrets.jsonEncrypted credentials
~/.netclaw/identity/Agent identity and personality

After init, netclaw responds to you locally via netclaw chat — and nothing else. No channels are connected, search is disabled, and the daemon is loopback-only. To wire up Slack, Discord, or Mattermost, enable web search, or expose the daemon to your team, run netclaw config next.

Terminal window
# Connect channels, enable search, set exposure mode, configure skills
netclaw config
# Verify everything is healthy
netclaw doctor
# Check daemon status
netclaw status