# Keystone

Keystone is a free, self-hosted virtual AI Key and AI Port for UniFi Protect. It is open source and self-hosted, installable on Unraid.

Canonical page: https://ourlocalhost.com/app/9373/keystone

## Description

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.

## Health score

66/100 (Good), based on 4 of 5 factors.
- Maintained: 72 (last commit 0 days ago)
- Popular: 54 (482 GitHub stars)
- Easy to install: 35 (1 install platform, install notes, Docker image)
- Security check: 100 (no serious findings, CI, tests)

## Links

- Unraid: https://ca.unraid.net/apps/app_b3dab2214cccc2f1
- GitHub: https://github.com/seeARMS/keystone
- Official website: https://keystone.armstr.ng

## 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.

---
Source: Our Local Host (https://ourlocalhost.com/app/9373/keystone), the self-hosted and open-source app directory.
