macOS (Universal)
Download the universal disk image for Apple Silicon and Intel Macs.
Available packages
Setup steps
- 1
Install the gateway
Download and install the universal binary.
curl -fsSLO https://dl.keeptrusts.com/releases/latest/kt-macos-universal.dmg hdiutil attach kt-macos-universal.dmg cp /Volumes/Keeptrusts\ Gateway/kt /usr/local/bin/kt hdiutil detach /Volumes/Keeptrusts\ Gateway - 2
Initialize
Create a default policy configuration file.
kt --version kt doctor - 3
Start the gateway
Run the gateway and start enforcing policies.
kt init - 4
Validate and run the gateway
Lint the config, run the policy tests, then start the OpenAI-compatible gateway locally.
kt policy lint --file policy-config.yaml kt policy test --json export OPENAI_API_KEY="sk-..." kt gateway run --policy-config policy-config.yaml