Keystone

Keystone is a free, self-hosted virtual AI Key and AI Port for UniFi Protect.

  • AI
  • Home Automation
  • Security
  • Tools & Utilities
Keystone is a free, self-hosted virtual AI Key and AI Port for UniFi Protect. It brings plain-English Find Anything search, detailed event descriptions, speech-to-text transcripts, license plate reading, face recognition, Enhance Face, and smart detections for third-party cameras into Protect without buying Ubiquiti's proprietary AI Key or AI Port hardware. It is aimed at UniFi Protect users and homelabbers who want the full AI feature set on their own hardware.

Platform availability

Available on 1 of 10 platforms

  • Unraid
  • TrueNAS (not listed)
  • Umbrel (not listed)
  • ZimaOS (not listed)
  • Proxmox (not listed)
  • Helm (not listed)
  • Mac (not listed)
  • Windows (not listed)
  • Linux (not listed)
  • Any server (not listed)

Health score?A 0-100 score computed nightly from four factors: maintained (40%: recent commits and steady activity), popular (25%: GitHub stars, log scale), easy to install (20%: platforms, install notes, setup guides, Docker image) and light to run (15%: minimum RAM, ARM support). When the source code has been checked, a fifth factor, security check (20%: automated scan for committed secrets, unsafe desktop-app settings, known-vulnerable dependencies and project hygiene; any serious finding caps it at 20), is added. Factors without data are left out and the rest are rescaled.

66/100 Good

Maintained
72last commit 0 days ago
Popular
54482 GitHub stars
Easy to install
351 install platform, install notes, Docker image
Light to run
No data
Security check
100no serious findings, CI, tests

Based on 4 of 5 factors.

Availability: platform listings confirmed today

GitHub stars
482
Open issues
23
Last commit
2026-12-04
Latest release
v0.1.6
License
Apache-2.0
Activity
rising

Checked today - source: GitHub (seeARMS/keystone)

Resources & Compatibility

Requirements not published yet.

Checked today - source: Docker Hub image tags and published docs

First-install notes

  • Watch your terminal for the first login details When you run `npm run dev` for the first time, Keystone creates an initial user account and prints the username and password in the terminal. Copy these down — without them you can't log into the Admin UI at http://localhost:3000, which is the web page where you manage all your content. source
  • The Admin UI lives at port 3000 After a few seconds of starting the dev server, your terminal shows a link to the Keystone Admin UI at http://localhost:3000 — open that in your browser to set up your content. If the page won't load, the server probably isn't running yet or another app is already using port 3000. source
  • Use dev mode while setting up — it sets up your database `keystone dev` (what `npm run dev` runs) automatically generates files, applies database schema changes, and starts the server, so it's the safe way to get started. Never point the dev command at a production database — it can wipe data — and don't rely on production mode (`keystone start`) for setup, since it doesn't create or apply the database tables your app needs. source
  • First-time setup in UniFi Protect Give the container its own fixed IP address on your LAN (Network Type br0) so Protect can reach Keystone's ports, including 443 and 8080, at one address. Set your Protect controller's IP, choose the features you want, then adopt the AI Key in UniFi Protect under UniFi Devices and enable Basic Understanding (on Protect 7.4+, toggle it Off then On and click Apply Changes, or use Selected Only; on Pr source

Fetched today - each note links to its source

Alternatives

No alternatives collected yet.

Common questions

How do I give the Keystone container its own LAN IP?

Set the container's network type to br0 with a fixed IP, since UniFi Protect expects Keystone's ports, including 443 and 8080, at a single address.

How do I adopt Keystone in UniFi Protect?

Adopt it as a virtual AI Key under UniFi Protect → UniFi Devices, like real Ubiquiti hardware. No database hacks or patched Protect files are needed.

How many third-party cameras can the virtual AI Port handle?

You can pair up to 10 HD ONVIF cameras (such as Reolink, Amcrest, or Nest via Scrypted) to get native person, vehicle, animal, package, and audio detections in Protect.

Which Protect settings do I need to enable after adopting?

On Protect 7.4+, toggle Basic Understanding off then on and click Apply Changes (or use Selected Only). On Protect 7.3, enable Basic Object Recognition, AI Summary, and Speech-to-Text under Protect → Settings.

Does event description or face recognition need extra setup?

Event descriptions need a vision model, either local via Ollama or an API. Plain-English Find Anything search works locally on CPU with no extra setup and is on by default.

Answers sourced from github.com

Community

Collected today - public community threads