- creating or loading a local instance
- validating the environment
- preparing storage, secrets, and database configuration
- allowing trusted private hostnames in authenticated mode
paperclipai run
One-command bootstrap and start:
- Auto-onboards if config is missing
- Runs
paperclipai doctorwith repair enabled - Starts the server when checks pass
paperclipai onboard
Interactive first-time setup:
onboard keeps the existing config in place. Use paperclipai configure to change settings on an existing install.
First prompt:
Quickstart(recommended): local defaults (embedded database, no LLM provider, local disk storage, default secrets)Advanced setup: full interactive configuration
--yes now preserves the current config and just starts Paperclip with that setup.
paperclipai doctor
Health checks with optional auto-repair:
- Server configuration
- Database connectivity
- Secrets adapter configuration
- Storage configuration
- Missing key files
doctor as the first-line check for host bootstrapping issues. If the runtime cannot start cleanly, fix the setup layer before debugging agents or tasks.
paperclipai configure
Update configuration sections:
paperclipai env
Show resolved environment configuration:
paperclipai allowed-hostname
Allow a private hostname for authenticated/private mode:
Local Storage Paths
| Data | Default Path |
|---|---|
| Config | ~/.paperclip/instances/default/config.json |
| Database | ~/.paperclip/instances/default/db |
| Logs | ~/.paperclip/instances/default/logs |
| Storage | ~/.paperclip/instances/default/data/storage |
| Secrets key | ~/.paperclip/instances/default/secrets/master.key |
Host Bootstrap Responsibilities
| Command | Responsibility |
|---|---|
onboard | Create initial instance config and defaults |
doctor | Validate and optionally repair the instance prerequisites |
configure | Edit the persisted configuration sections |
env | Display the resolved environment for the selected instance |
allowed-hostname | Register a private hostname for authenticated mode |
run | Execute bootstrap checks and start the server |
--data-dir directly on any command: