First Run
Outcome
Run cara setup, start Carapace, and complete your first
useful assistant workflow.
Prerequisites
carainstalled: Install guide- One supported provider configured:
ANTHROPIC_API_KEY,OPENAI_API_KEY,GOOGLE_API_KEY, orVENICE_API_KEY, or- local Ollama (
OLLAMA_BASE_URL) - for Codex sign-in:
OPENAI_OAUTH_CLIENT_ID,OPENAI_OAUTH_CLIENT_SECRET, andCARAPACE_CONFIG_PASSWORD - for Gemini Google sign-in:
GOOGLE_OAUTH_CLIENT_IDandGOOGLE_OAUTH_CLIENT_SECRETavailable in the shell runningcara setup, or supplied through the Control UI onboarding form - for Gemini Google sign-in:
CARAPACE_CONFIG_PASSWORDset so the stored auth profile is encrypted at rest
0) Pick the simplest first path
If you are not sure where to start:
- choose
local-chatas your first outcome - start with one provider only
- use Anthropic/OpenAI for the fastest cloud path, or Ollama for the fastest fully local path
- add Discord, Telegram, or hooks only after
cara verify --outcome autopasses
If provider choice is the blocker, use the Providers hub. If you want a maintainer to help you pick the shortest path, use Help.
1) Run the setup wizard
cara setupThe wizard walks you through:
- provider selection (or use
cara setup --provider <provider>to skip the menu), - provider credentials or subscription-login onboarding (Codex/Gemini) and first-run model defaults,
- gateway auth mode (
token/password) and strong-secret generation, - bind + port,
- first-run outcome:
local-chatdiscordtelegramhooks
- optional hooks token and Control UI toggle.
Recommended explicit examples (pick one, based on your provider):
# Pick ONE of these commands:
cara setup --provider anthropic
cara setup --provider codex
cara setup --provider ollama
cara setup --provider gemini --auth-mode api-key
cara setup --provider gemini --auth-mode oauthUse --provider codex only in an interactive shell. It
opens an OpenAI sign-in URL and completes through a loopback callback on
a local port. The Control UI can also onboard Codex. Codex sign-in
requires CARAPACE_CONFIG_PASSWORD.
Use --auth-mode oauth only in an interactive shell. It
opens a Google sign-in URL and completes through a loopback callback on
a local port. The Control UI can also onboard Gemini with Google sign-in
or API key mode. Gemini Google sign-in requires
CARAPACE_CONFIG_PASSWORD.
2) Start Carapace
cara3) Run smoke checks
In a second terminal:
cara verify --outcome auto --port 18789
cara verify --outcome autonomy --port 18789
cara status --port 18789
cara chat --port 18789Expected:
cara verifyprints a pass/fail summary for your selected outcome.cara verify --outcome autonomyproves task start (attempts > 0) and terminal state (doneorblocked).cara statusshows the service healthy.cara chatopens the REPL and returns a model response.
If you set a custom port during setup, use that instead of
18789. If your selected outcome is discord or
telegram, cara verify may also require
destination flags (--discord-to /
--telegram-to) for send-path checks.
4) Complete your chosen first outcome
local-chat:- Continue in
cara chat, or try the local first-reply recipe.
- Continue in
discord:- Continue with Add Carapace to Discord
telegram:- Continue with Add Carapace to Telegram
hooks:- Continue with Trigger Cara from other apps
Continue
- Need a specific task flow? Go to Cookbook
- Want guided help or a team evaluation path? Use Help
- Stuck? Use Get Unstuck