Install
The v0.1.0-alpha.4 GitHub prerelease provides CLI and daemon archives for manual testing. Verify the SHA-256 checksum file before running an archive. The alpha artifacts are unsigned and are not a production release. The npm package is not published yet, so npm install -g ownbot is not available.
For a development install from source on macOS or Linux, use Go 1.24 or newer:
git clone https://github.com/TaxCollector23/OwnBot.git cd OwnBot mkdir -p bin go build -o bin/ownbot ./cmd/ownbot go build -o bin/ownbotd ./cmd/ownbotd ./bin/ownbot setup
Details: first-run guide. The npm package installer is prepared to use verified prebuilt binaries without Go; npm publication is still pending.
First-run model setup
Interactive setup detects local Ollama, LM Studio, Jan, llama.cpp, and vLLM endpoints, scans host memory and storage, and recommends from a small shortlist when measurements support a fit estimate.
Run interactive setup:
ownbot setup
Setup can download an Ollama or LM Studio shortlist model. Download Jan models in Jan Hub. Every selected model is capability-probed before OwnBot creates an agent. The permission checklist starts with no tools selected; runtime policies and approval checks still apply.
For an installed model in a non-interactive terminal, provide all required local model fields:
ownbot setup --yes \ --provider ollama \ --base-url http://127.0.0.1:11434/v1 \ --model qwen3:1.7b
A config file supports unattended custom names and prompts. On the default daemon URL, successful setup enables LAN access and prints a one-use pairing QR. Details: first-run guide.
What setup creates
- A saved local model endpoint and probe result
- A disabled or text-only agent with no tools until you enable capabilities
- Daemon state under ~/.ownbot/ (or your --data-dir)
Open the local owner dashboard after setup:
ownbot daemon start
The local API token
The daemon creates its local API token automatically under ~/.ownbot/api.token.
That token protects the host’s daemon API. It is not a model-provider key. The CLI reads it from the host state directory; you do not create or copy it for normal CLI setup.
- Default data directory: ~/.ownbot/
- Token file: api.token
- Common CLI flag: --url URL (default http://127.0.0.1:8765)
- Common CLI flag: --data-dir DIR
Use over SSH
Install ownbot on the host and run setup from the SSH session. Setup starts LAN access for the default daemon URL; the host keeps its state and token locally.
ssh user@host cd OwnBot ownbot setup ownbot daemon start
In SSH sessions, if the CLI cannot open a browser, it prints a short-lived owner link and an SSH tunnel command. Keep the tunnel open, then open that link on your laptop before it expires. The link uses a one-time ticket; it does not contain the API token.
Notes
- The token remains on the host.
- Re-running ownbot daemon start can create a fresh owner session for an already-running daemon.
- For LAN pairing from another device on the same private network, use the LAN guide below instead of exposing the host publicly.
LAN access
LAN mode exposes the dashboard to devices on the host’s private Wi‑Fi or Ethernet over HTTPS. Cellular and public internet access are not supported.
The daemon binds one detected private IP on port 8766. It does not bind a public interface or create a router port-forward.
ownbot daemon start --lan
If the daemon is already running without LAN access:
ownbot daemon stop ownbot daemon start --lan
Choose an explicit private address when automatic selection is wrong:
ownbot daemon start --lan --lan-address 192.168.1.25:8766
Certificate trust
Successful setup prints the host's SHA-256 certificate fingerprint and a one-use pairing QR. The public DER certificate is ~/.ownbot/lan.cert.cer; an unsigned iOS profile is ~/.ownbot/lan.cert.mobileconfig. Verify the fingerprint before installing the certificate. On iPhone/iPad, enable full trust in Certificate Trust Settings. On Android, install as a CA. Never share lan.key.pem, and do not continue through a browser certificate warning.
Real phone certificate installation and pairing have not been physically verified. Follow the LAN guide for exact steps. Cellular/public access, relay, and router port-forwarding are unsupported.
Pair and revoke
- Start LAN mode, trust the host certificate on the device, and scan the one-use QR printed by setup, or create another link from the host terminal.
- Run ownbot daemon pair on the host and send the one-use pairing link only to the intended device.
- Open the HTTPS link on that device and submit a device name.
- Revoke later with ownbot daemon devices --revoke DEVICE_ID.
Daemon service
ownbot daemon install registers the daemon for the current account and starts it now. It does not request administrator access.
ownbot daemon status ownbot daemon install ownbot daemon uninstall
- macOS: ~/Library/LaunchAgents/com.ownbot.daemon.plist
- Linux: systemd --user unit under ~/.config/systemd/user/ownbot.service
Pass the same --config, --listen, --data-dir, --lan, and --lan-address options used to start the daemon. Uninstall stops and removes the service definition but keeps state, tokens, models, agents, and audit data.
Hardware and model checks
Use ownbot inspect hardware for host CPU architecture, RAM totals, GPU/VRAM telemetry when available, and discovered local models.
ownbot inspect hardware ownbot inspect hardware --benchmark ownbot inspect hardware --benchmark --model MODEL_NAME
Benchmark mode runs the daemon’s capability probe against configured local models also found in the provider’s installed-model list. It records probe latency. No models are downloaded and no hosted provider key is used.
Observed capability checks
| Runtime | Model | Checks | Probe time | Peak RSS |
|---|---|---|---|---|
| Ollama 0.40.12 | qwen3:1.7b (Q4_K_M) | 4/4 | 44.0s | 1.92 GiB |
| llama.cpp | Qwen3-1.7B GGUF | 4/4 | 30.5s | 2.07 GiB |
These timings came from separate GitHub-hosted Linux CPU runners and cannot rank the runtimes against each other. Always probe the installed model on the target host. Details: hardware.md.
Inspect local setup and audit history
Use ownbot inspect check to review daemon, model, agent, tool, and MCP metadata plus pending approvals. Use ownbot inspect audit export to read saved audit events.
These read-only commands do not install models, run agent tasks, or prove a live model or provider will respond. See the inspect and audit guide for verified options, output behavior, and safe bug-report details.
Review pending approvals
List requests, inspect one by ID, then approve or deny that exact pending request.
ownbot inspect approvals list ownbot inspect approvals show APPROVAL_ID
After reviewing the request, choose one decision:
ownbot inspect approvals approve APPROVAL_ID
Or deny it instead:
ownbot inspect approvals deny APPROVAL_ID
An approved automation may continue when no approvals remain. A manual run needs ownbot inspect runs resume RUN_ID. Approval does not connect an integration or add a tool to an agent. See the approval guide for state conflicts and older requests.
Homebrew
Homebrew builds both ownbot and ownbotd from the latest main source. Go is a build dependency; no prebuilt bottle is provided.
brew tap TaxCollector23/ownbot https://github.com/TaxCollector23/OwnBot brew install --HEAD taxcollector23/ownbot/ownbot
This is a moving --HEAD install, not a stable release. Rebuild from latest main with:
brew upgrade --fetch-HEAD taxcollector23/ownbot/ownbot
Installing the formula does not start or register a service. Use ownbot daemon install for per-user login services on macOS and Linux.
Release status
Development build. ownbot is still in development. Do not treat the checkout as a signed or production release.
Current scope
- CLI supports local model detection and capability probing, daemon controls, and a local dashboard.
- Interactive setup detects local Ollama, LM Studio, Jan, llama.cpp, and vLLM endpoints; it can download Ollama and LM Studio shortlist models.
- LAN mode provides HTTPS pairing on the host’s private network only.
- macOS and Linux user-level service management is implemented; verify it on the target machine before relying on it unattended.
Verified evidence
- The Go test suite, dashboard regressions, 60 local CLI/daemon workflow checks, and npm installer fixture passed on macOS.
- Browser QA passed 15 desktop/mobile viewport cases; three pinned-TLS LAN cases were skipped on macOS and are assigned to Linux CI.
- The release builder created and verified six platform archives. Native Windows, Linux, and FreeBSD operation still requires platform testing.
- The GitHub alpha prerelease includes SHA-256 checksummed binaries, but artifacts are unsigned. The npm package remains unpublished; the installer smoke test used mocked assets without Go.
Current verification and release blockers: STATUS.md and release gate. Test the harness in a disposable virtual sandbox.