Install the gateway in one command
Check it with verdictan doctor, then send your first governed request.
Download for Linux x64
Run this command on the computer that will host the gateway.
curl -fsSL https://verdictan.com/install | shAll platforms
0.6.37Latest release
Set up the gateway
macOS
Shell installer or the archive for your Mac.
- 1
Install the gateway
Use Shell installer or the archive for your Mac.
curl -fsSL https://verdictan.com/install | sh - 2
Verify the installation
Run verdictan --version, then verdictan doctor.
verdictan --version verdictan doctor - 3
Create a starter configuration
verdictan init writes policy-config.yaml. Review it before you route traffic.
verdictan init - 4
Test and deploy the policy
Lint and test the policy, then deploy it to the local-evaluation agent in Configurations.
Open Configurations in Consoleverdictan policy lint --file policy-config.yaml verdictan policy test --json - 5
Start the gateway
Export the gateway token and upstream settings, then start.
# VERDICTAN_API_TOKEN holds this gateway's gateway token. export VERDICTAN_API_TOKEN="vdt_your_gateway_token" export VERDICTAN_UPSTREAM_URL="https://api.openai.com" export VERDICTAN_UPSTREAM_API_KEY="sk-..." verdictan gateway run --listen 0.0.0.0:41002 --agent local-evaluation
Linux (x86_64)
Shell installer or archive from GitHub Releases.
- 1
Install the gateway
Run the shell installer from GitHub Releases.
curl -fsSL https://verdictan.com/install | sh - 2
Verify the installation
Run verdictan --version, then verdictan doctor.
verdictan --version verdictan doctor - 3
Create a starter configuration
verdictan init writes policy-config.yaml. Review it before you route traffic.
verdictan init - 4
Test and deploy the policy
Lint and test the policy, then deploy it to the local-evaluation agent in Configurations.
Open Configurations in Consoleverdictan policy lint --file policy-config.yaml verdictan policy test --json - 5
Start the gateway
Export the gateway token and upstream settings, then start.
# VERDICTAN_API_TOKEN holds this gateway's gateway token. export VERDICTAN_API_TOKEN="vdt_your_gateway_token" export VERDICTAN_UPSTREAM_URL="https://api.openai.com" export VERDICTAN_UPSTREAM_API_KEY="sk-..." verdictan gateway run --listen 0.0.0.0:41002 --agent local-evaluation
Linux (ARM64)
Shell installer or archive for ARM64 Linux systems.
- 1
Install the gateway
Run the shell installer, or extract the archive into /usr/local/bin.
curl -fsSL https://verdictan.com/install | sh - 2
Verify the installation
Run verdictan --version, then verdictan doctor.
verdictan --version verdictan doctor - 3
Create a starter configuration
verdictan init writes policy-config.yaml. Review it before you route traffic.
verdictan init - 4
Test and deploy the policy
Lint and test the policy, then deploy it to the local-evaluation agent in Configurations.
Open Configurations in Consoleverdictan policy lint --file policy-config.yaml verdictan policy test --json - 5
Start the gateway
Export the gateway token and upstream settings, then start.
# VERDICTAN_API_TOKEN holds this gateway's gateway token. export VERDICTAN_API_TOKEN="vdt_your_gateway_token" export VERDICTAN_UPSTREAM_URL="https://api.openai.com" export VERDICTAN_UPSTREAM_API_KEY="sk-..." verdictan gateway run --listen 0.0.0.0:41002 --agent local-evaluation
Next steps
Quickstart
Send your first governed request.
Start the quickstartPolicy catalog
All configurable controls for a policy.
Review policy controlsGo to the complete documentation at verdictan.com/docs.