Because GateRook can check, limit and record a tool call before it runs, while a terminal command runs with your own credentials and only your AI app's approval prompts in the way.
Command-line tools are flexible and familiar, but each psql, kubectl or curl command is free-form text that runs with your own permissions. Through GateRook, the same work goes through typed tools such as sql_query, k8s_get and http_get:
- Each call is classified as a read or a change. Reads run at once within limits, and SQL reads on PostgreSQL, MySQL and Oracle run in read-only transactions.
- Changes, such as
sql_execute,k8s_applyandhttp_request, wait until you approve the exact action, then run once. - Policies can limit the tables, namespaces or base URLs the AI may use.
- Credentials stay in GateRook, results are masked and size-limited, and Activity records every call.
This only helps if the AI uses GateRook's tools. GateRook doesn't control a terminal your AI app can open, so keep production credentials out of the shell it uses. See credentials outside GateRook.