installation¶
There are three ways to install and authenticate the owlette agent on a Windows machine.
method 1: interactive install (recommended)¶
Download the installer, run it, and pair from your phone or browser.
steps¶
- Log into the owlette dashboard
- Click the download button in the header bar (shows the latest version)
- Save the
.exeinstaller to the target machine - Run the installer as Administrator
- Follow the installation wizard
- A console window appears with a pairing phrase (3 random words)
- Your browser opens automatically to the authorization page
- Select a site and click "Authorize"
- The agent receives credentials and the installer completes
The entire flow takes under a minute. Credentials are stored encrypted on disk — you won't need to re-authenticate unless you explicitly remove the machine.
method 2: silent install with /ADD= (bulk deployment)¶
Deploy to many machines without any interaction. Generate a pairing phrase from the dashboard, then run the installer silently.
steps¶
- On the dashboard, click the "+" button next to the view toggle
- Select the "Generate Code" tab
- Copy the pairing phrase (e.g.,
silver-compass-drift) - Run on each target machine:
Phrase expiry
Generated phrases expire after 10 minutes. Generate a new one from the dashboard if needed.
silent installation flags¶
| flag | description |
|---|---|
/ADD=phrase |
Pre-authorized pairing phrase (skips interactive pairing) |
/SILENT |
Minimal UI (shows progress bar only) |
/VERYSILENT |
No UI at all |
/SUPPRESSMSGBOXES |
Suppress all message boxes |
/DIR="C:\path" |
Custom install directory |
/NORESTART |
Don't restart after installation |
Example (fully silent bulk deploy):
method 3: remote deployment (upgrades)¶
Deploy agent updates to machines that already have owlette installed.
- In the dashboard, go to Deployments
- Click "New Deployment"
- Configure:
- Name: e.g., "owlette Agent v2.4.1"
- Installer URL: Direct download link to the installer
.exe - Silent Flags:
/VERYSILENT /SUPPRESSMSGBOXES - Verify Path:
C:\ProgramData\Owlette\agent\src\owlette_service.py
- Select target machines
- Click Deploy
Prerequisites
Remote deployment requires the target machine to already have a running owlette agent (to receive the deployment command). Use this method for upgrading existing agents or deploying other software.
method 4: manual installation (development)¶
For development or custom setups:
# Clone the repository
git clone https://github.com/theexperiential/owlette.git
cd owlette/agent
# Install Python dependencies
pip install -r requirements.txt
# Run the service install script (as Administrator)
scripts\install.bat
The install script:
- Installs NSSM if not present
- Creates the
OwletteServiceWindows service - Configures the service to auto-start on boot
- Starts the service
After installing, run the pairing flow manually:
how pairing works¶
When the agent connects for the first time, it authenticates via a device code flow:
Installer runs configure_site.py
│
▼
Agent requests pairing phrase from server
│
▼
Console displays phrase (e.g., "silver-compass-drift")
Browser auto-opens to owlette.app/add
│
▼
User selects site → clicks "Authorize"
│
▼
Server generates tokens → agent polls and receives them
│
├── Access Token (1-hour expiry, auto-refreshes)
└── Refresh Token (never expires, admin-revocable)
│
▼
Tokens encrypted to C:\ProgramData\Owlette\.tokens.enc
Agent authenticated — starts syncing
Three ways to authorize:
| method | when to use |
|---|---|
| Browser auto-open | Default — browser opens on the machine with phrase pre-filled |
| Dashboard "+" button | Enter the phrase on the dashboard from any device |
/ADD= flag |
Pre-authorized phrase for silent/bulk installs |
post-installation verification¶
After installation, verify the agent is running:
check windows services¶
- Open Services (
Win + R→services.msc) - Find "OwletteService"
- Status should be "Running"
check logs¶
Look for:
INFO: owlette service started successfully
INFO: Firebase client initialized for site: your_site_id
INFO: Firebase client started successfully
check dashboard¶
The machine should appear in your site's dashboard within 30 seconds with:
- Green "Online" indicator
- CPU, memory, disk metrics populating
- Agent version displayed
check system tray¶
An owl icon should appear in the Windows system tray. Right-click it for status and options.
uninstallation¶
Windows Settings → Apps → owlette → Uninstall
The uninstaller will:
- Stop the owlette service
- Remove the NSSM service wrapper
- Remove Windows Defender exclusions
- Delete program files from
C:\ProgramData\Owlette
Data preservation
Configuration, tokens, and logs in C:\ProgramData\Owlette\ are preserved by default. To fully remove all data after uninstalling: rd /s /q C:\ProgramData\Owlette
installer details¶
The owlette installer is built with Inno Setup and bundles:
| component | purpose |
|---|---|
| Embedded Python | Python 3.11 interpreter (no system Python needed) |
| NSSM | Service manager for reliable Windows service operation |
| Agent source | All Python modules in agent/src/ |
| Configuration GUI | CustomTkinter-based local configuration tool |
| System tray | Background tray icon for status monitoring |
system requirements¶
| requirement | minimum |
|---|---|
| OS | Windows 10 or later (64-bit) |
| RAM | 50 MB (agent overhead) |
| Disk | ~200 MB (including embedded Python) |
| Network | Internet access for cloud sync |
| Permissions | Administrator (for service installation) |