Creating Policies

Learn how to create, configure, and publish policies that govern agent decisions.

Overview

Policies are deterministic decision rules that determine whether actions are allowed. This guide walks you through creating your first policy.

Step 1: Define Policy ID and Description

[Content to be filled]

Step 2: Define Inputs

Define what inputs the policy needs to evaluate.

[Content to be filled - from provided getting started guide, Step 1.4]

Step 3: Define Evaluation Logic

Create the rules that determine the policy outcome.

[Content to be filled - from provided getting started guide, Step 1.4]

Step 4: Configure Exception Route

If your policy can return requires_exception, configure how approvals are handled.

[Content to be filled - from provided getting started guide, Step 1.4]

Step 5: Publish

Save as draft, test, and publish your policy.

[Content to be filled]

Best Practices

[Content to be filled]

TraceMem is trace-native infrastructure for AI agents