Policies

Agentic Runtime policies decide what the agent does with each kind of detection: observe it, mask it or block it. You set them for the whole organization and refine them for teams, members and devices.


Policy Cascade

TEXT
Organization  →  Team  →  Member  →  Device
ScopeScreenUse it for
OrganizationOrganizationThe default rules applied to every device
TeamTeamsRules for a whole team at once, such as stricter blocking for juniors or enforce-always for compliance
MemberUsersExceptions for one person
DeviceDevicesExceptions for one machine

A more specific scope overrides the broader one. When a member is in several teams, the strictest policy wins on each axis.

Each device shows its effective policy and where every setting comes from, so you can always see why something was blocked or allowed.


Configure Detections

Open Agentic runtime → Organization and click New rule, or edit a team, member or device policy.

ByteHide Agentic Runtime Configure detections drawer with credential leaks, prompt injection, dangerous tools, malicious MCPs, risky skills and LLM modelsClick to expand

DetectionModesExtra settings
Credential leaksObserve, Mask, Block—
Prompt injectionOff, Block—
Dangerous toolsObserve, BlockTune each command in Inventory → Tools
Malicious MCPsOff, BlockBlock specific MCP servers by name. Manage servers in Inventory → MCPs
Risky skillsOff, BlockBlock specific skills by name
LLM modelsOff, BlockBlock specific models, or entire AI providers however they are reached (direct API, Bedrock, OpenRouter, OpenAI-compatible gateways)

Names you add to a block list are hard vetoes: they always block when matched, whatever the mode.

Presets

PresetBehavior
StrictBlocks every detection family. A good baseline for junior developers
StandardA balance of blocking and observing
RelaxedObserves only: logs, never blocks. A good baseline for senior developers

Configure by Voice

Click Configure with AI, or Start conversation on the voice banner, and describe what you want in your own words. The assistant drafts a policy proposal; you review it and apply it or discard it. Nothing changes automatically.


Custom Rules

Agentic runtime → Custom Rules adds your own detection patterns, run alongside the built-in catalog (AWS, GitHub and Stripe keys, prompt injections...). Custom rules are additive: the built-in catalog keeps running.

Patterns use RE2 syntax: matching runs in linear time with no risk of catastrophic backtracking, but lookarounds and backreferences are not supported.


Repository Path Rules

Agentic runtime → Repo lists every git repository a device in your fleet has worked in. Add path-deny rules per scope (organization, team, member or device): the agent blocks any read, edit, write, glob or grep tool call against a denied path before the file content reaches the model.

Developers can also commit a .aiblock file at the repository root. Its rules merge with the ones you set in the console, and the agent discovers it on its next start.


Next Steps

Inventory

MCP servers, skills, tools and models

Incidences & Audit

What the policies caught, and who changed them

Previous
Install the Agent