otgate — OT policy gateway for Zed
io.github.alikup-ai/otgate-opcua
Gates an LLM agent's writes to an OPC UA server on ranges, rate of change and live interlocks.
client:Zed
transport:stdio
runtime:pypi
Install otgate — OT policy gateway in Zed
~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json
{
"context_servers": {
"otgate-opcua": {
"command": "uvx",
"args": [
"otgate"
],
"env": {
"OTGATE_BACKEND": "<OTGATE_BACKEND>",
"OTGATE_POLICY": "<OTGATE_POLICY>",
"OTGATE_AUDIT": "<OTGATE_AUDIT>",
"OTGATE_SHADOW": "<OTGATE_SHADOW>",
"OTGATE_RATE_HISTORY": "<OTGATE_RATE_HISTORY>",
"OTGATE_OPCUA_ENDPOINT": "<OTGATE_OPCUA_ENDPOINT>"
}
}
}
}
Merge this into your existing settings object — do not replace the file. Zed docs