Gatekeeper v4.0 โ€” Online
KoRT-Code v1.0 โ€” Available
Lady of the Lake โ€” Active
Offline Node โ€” Available
๐Ÿ”ฎ All Downloads

Sovereign Infrastructure Stack

๐Ÿ”ฎ
KoRT Gatekeeper
v4.0.0 ยท FastAPI ยท Python 3.11+
Multi-model routing API. 3-stage pipeline (Flashโ†’Proโ†’Reviewer). Routes to Vultr inference endpoints. Drop-in OpenAI-compatible API on port 8095.
# Docker (recommended) docker pull kortx/gatekeeper:4.0 docker run -p 8095:8095 kortx/gatekeeper:4.0 # From source git clone https://git.kortx.ca/gatekeeper pip install -r requirements.txt python main.py
โ†’ View on KoRT Git
๐Ÿฐ
Lady of the Lake
v2.0.0 ยท Python ยท Offline-capable
AI learning agent & memory guardian. Analyzes failures, generates SOPs, refines routing rules. Offline-capable SQLite backend with 5 pre-seeded SOP categories.
# Run learning cycle python lady_of_the_lake.py cycle # Query wisdom python lady_of_the_lake.py wisdom timeout # Seed SOP library python lady_of_the_lake.py seed
โ†’ View on KoRT Git
๐Ÿ“ก
Gatekeeper Offline
v2.0.0 ยท FastAPI port 8096
Full offline fallback node. Cached responses, memory CRUD, SOP library, model performance tracking, and sync endpoint for when connectivity is restored.
# Start offline node python offline_server.py # Sync to main gatekeeper curl -X POST http://localhost:8096/v1/sync # Check SOPs curl http://localhost:8096/v1/sops
โ†’ View on KoRT Git
๐Ÿฐ
KoRT Portal
v1.0.0 ยท React 18 ยท Vite
Sovereign web portal with 10+ integrated apps: Dashboard, Knight Dispatch, Agent Dossiers, Games, Quartermaster, SalesWizard, and more.
# Self-host the portal git clone https://git.kortx.ca/portal npm install npm run build # Serve dist/ folder npx serve dist -p 3000
โ†’ View on KoRT Git
๐Ÿ–ฅ๏ธ
KoRT OS Server Panel
v1.0.0 ยท React + SSH
Browser-based server management for KoRT infrastructure. Monitor VMs, restart services, tail logs, and run commands from the portal.
# Part of the Portal app # Access at: /portal/server # Or standalone git clone https://git.kortx.ca/kort-os npm install && npm run dev
โ†’ View on KoRT Git
๐Ÿ‹
KoRT Full Stack
docker-compose ยท All services
Single docker-compose file brings up the entire KoRT stack: Gatekeeper, Offline Node, Portal, and KoRT-Code web interface. Production-ready.
# Full sovereign stack curl -O https://kortx.ca/docker-compose.yml docker-compose up -d # Services: # :8095 Gatekeeper # :8096 Offline Node # :4096 KoRT-Code UI
โ†’ Get docker-compose.yml
๐Ÿ“– Installation

Quick Start Guide

โš”๏ธ KoRT-Code Setup

1

Prerequisites

Install Node.js 20+, Python 3.11+, Docker, and git. All modern Linux distros and macOS work. Windows via WSL2.

2

Clone & Configure

Run git clone https://git.kortx.ca/kort-code and copy config/global/opencode.json to ~/.config/opencode/config.json.

3

Start Gatekeeper First

KoRT-Code connects to Gatekeeper on :8095. Run python gatekeeper/main.py or docker-compose up gatekeeper first.

4

Launch KoRT-Code

Run bash scripts/deploy-all.sh or npm install -g opencode-ai && opencode. Web UI opens on http://localhost:4096.

๐Ÿ”ฎ Gatekeeper + Lady of the Lake

1

Install Dependencies

In gatekeeper/: pip install fastapi uvicorn httpx pydantic. Or use the included requirements.txt.

2

Start Gatekeeper

Run python main.py. Gatekeeper starts on :8095 with the full 3-stage pipeline. Check /health and /v1/pipeline/status.

3

Seed the SOP Library

In gatekeeper-offline/: python lady_of_the_lake.py seed. Loads 5 proven SOPs covering timeouts, rate limits, deps, permissions, networking.

4

Run a Learning Cycle

After some usage: python lady_of_the_lake.py cycle. Analyzes failures, generates new SOPs, suggests routing improvements, expires stale memories.

System Requirements

๐Ÿ’ป
OS
Linux / macOS / WSL2
๐ŸŸข
Node.js
v20+ (LTS recommended)
๐Ÿ
Python
3.11+ required
๐Ÿ‹
Docker
Optional (compose deploy)