The agent is the core of Infracodebase. From your enterprise settings, you configure what the agent can do, what it can't do, and what requires approval.
The agent has built-in tools organized into categories. You control which ones are available across your organization.
You can enable tools individually or use presets like All, Read Only, or None.
Control which infrastructure tools the agent can use. These span several domains.
Beyond toggling tools on and off, you can create custom rules with pattern matching for fine-grained control. To create a rule, select a tool from the dropdown, choose a mode, and enter a pattern.
Two modes are available.
Rules are evaluated in order. Deny rules are checked first, then require approval, then allow. The first matching rule wins.
Patterns support wildcards and vary by tool type. For example, npm run * matches any shell command starting with "npm run", while **/*.tf matches Terraform files anywhere in the tree. See Agent Rule Patterns for full syntax, path prefixes, and examples.
Enterprise agent settings apply as the baseline across all workspaces. Workspaces inherit these permissions and cannot override denied actions. This means enterprise administrators maintain control regardless of who's building or what workspace they're in.