> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.method.security/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.method.security/_mcp/server.

# Create a Policy

> Define governance rules that control where and how your Agents can operate

This guide walks you through creating a [Policy](/platform/core-platform/agents#policies) to govern how your [Agents](/platform/core-platform/agents) operate.

---

For background on how Policies govern Agent behavior, see [AI Agents](/platform/core-platform/agents#policies).

## Open the Policies page

1. From the left sidebar, navigate to the **Agent Fleet** application.

2. Switch to the **Policies** tab.

3. Click **Create** in the top-right corner to open the Create New Policy form.

## Policy Information

Start by filling in the policy's identity.

* **Title** – A short, descriptive name. Choose something that makes the policy's intent clear at a glance (e.g. "Require Approval For Netcat Client").
* **Description** – A longer explanation of why this policy exists and what it governs.

## Effect

Choose what should happen when this policy matches.

* **Allow** – Permit the action to proceed without any restrictions.
* **Deny** – Block the action from being executed.
* **Require Approval** – Pause execution and wait for human approval before proceeding.

When multiple policies apply to the same action, Deny takes precedence over Allow, and Require Approval can be used to gate sensitive actions. Design your policies so the combination of effects matches your security requirements.

## Condition

Define when this policy applies by adding one or more conditions. Each condition has a **Type** that determines what the policy is scoped to:

* **Agent** – Scope the policy to a specific Agent.
* **Environment** – Scope the policy to a specific environment.
* **MCP Tool** – Scope the policy to a specific tool the Agent can call.
* **Agent Session** – Scope the policy to an individual session.

You can add multiple conditions. When a policy has more than one condition, they are combined with **Any of (OR)** logic — the policy matches if any condition is satisfied.

![](/_fern-files/_img/4dbf0902ebfad2c469048dce67090a40ea330568f0d7b8c57ca3db84ab4d3073.webp)

## Create the Policy

Once all fields are configured, click **Create** in the top-right corner. Your new policy will appear in the Policies list.

## Examples

Below are two example policies that illustrate common patterns.

### Example: Auto-approve safe tools

This policy allows a set of platform tools to run without requiring approval. It uses an Allow effect with multiple MCP Tool conditions combined with OR logic, so any of the listed tools will be automatically approved.

* **Title**: Default Issue Type Platform Tools Auto-Approve
* **Description**: These tools are used on every single issue type Agent and set to auto-approve as they're safe.
* **Effect**: Allow
* **Conditions**: MCP Tool: `Violet / get_related_issues`, MCP Tool: `Violet / modify_issue_severity`

![](/_fern-files/_img/153c5c9c7217f824c740cc994390311848cb70ce2ac9dcf21009d6245f3db99b.webp)

### Example: Require approval for a risky tool

This policy gates a powerful tool behind human approval. Any time an Agent attempts to use this tool, execution pauses until a user explicitly approves it.

* **Title**: Require Approval For Netcat Client
* **Description**: Since this tool is inherently risky, an approval is required before running this tool.
* **Effect**: Require Approval
* **Condition**: MCP Tool: `Violet / netcat_client`

![](/_fern-files/_img/bc1ec1274240b0d45cf38b03b0a307aa9d6e946c8e58460b6a8fa6f8c169d37b.webp)

## Next steps

With Agents and Policies in place, your AI workflows are governed and auditable. Revisit the [AI Agents](/platform/core-platform/agents) platform page to learn more about how Agents and Policies work together.