{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-guides/agent-intelligence/sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":["admonition"]},"redocly_category":"Guides","type":"markdown"},"seo":{"title":"Create rulesets","description":"Everything about Mosaic Journeys, SDKs, and APIs","siteUrl":"https://developer.transmitsecurity.com"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"create-rulesets","__idx":0},"children":["Create rulesets"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["This article shows how to create a ruleset on Agent Intelligence data, add rules, and publish it. For the concepts behind policies, rulesets, data sources, and modes, see ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/guides/governance/how_policies_work"},"children":["How policies work"]},"."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"step-1-create-a-ruleset","__idx":1},"children":["Step 1: Create a ruleset"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["In the Admin Portal, go to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Agentic Trust"]}," > ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Agent Governance"]}," > ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Policy Management"]},". The list shows each ruleset, its data source, and its mode."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Add a ruleset, then give it a name and an optional description."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"step-2-add-a-data-source","__idx":2},"children":["Step 2: Add a data source"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Under ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Data sources"]},", add a source and select the one your rules evaluate. For agent decisions, select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Agent Intelligence"]},". Its signals then become available to your rules."]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Note"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["You cannot change the data source after the ruleset is published."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"step-3-add-rules","__idx":3},"children":["Step 3: Add rules"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Each rule combines one or more conditions with a result. To add a rule:"]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Add a condition and select a signal."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Choose an operator, such as ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Is"]},", and a value."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["To match on more than one signal, add conditions and combine them with ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["And"]}," or ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Or"]},". ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Not"]}," negates a group. Add a group for nested logic."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Set the result to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Allow"]},", ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Challenge"]},", or ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Deny"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["To add more rules, select ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Add rule"]},". Rules are evaluated in order, and the first match wins."]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Important"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["If none of the rules apply, the ruleset defaults to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Allow"]},". This is shown at the bottom of the ruleset. Write a rule for every case you want to challenge or deny. Anything that does not match a rule is allowed."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":3,"id":"agent-intelligence-signals","__idx":4},"children":["Agent Intelligence signals"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["A rule can match on any Agent Intelligence signal. The signals most useful for agent decisions are:"]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Signal"},"children":["Signal"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"What it describes"},"children":["What it describes"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Current Actor"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Who is acting at the time of the call: ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["HUMAN"]},", ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["AGENT"]},", ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["BOT"]},", or ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["UNKNOWN"]},"."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Classification Status"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Whether the session's actors have been classified yet."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Session Actors"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Every actor seen in the session so far."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Current Platform ID"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The agent platform acting now, when the current actor is an agent."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Current Platform Family"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["The family of the platform acting now."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Detected Platform IDs"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Every agent platform seen in the session."]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Detected Family IDs"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Every agent family seen in the session."]}]}]}]}]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Session, device, and network signals, such as ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Session Entry Page"]},", ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Device ID"]},", and ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["IP Country"]},", are also available for finer conditions."]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Use a platform ID or family when you match on ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Current Platform ID"]},", ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Current Platform Family"]},", ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Detected Platform IDs"]},", or ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Detected Family IDs"]},". ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["unknown"]}," is an agent or bot that is not named. ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["none"]}," means no non-human actor is acting now. Use ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["unknown"]}," when a rule should deny unidentified agents."]},{"$$mdtype":"Tag","name":"details","attributes":{},"children":[{"$$mdtype":"Tag","name":"summary","attributes":{},"children":[{"$$mdtype":"Tag","name":"b","attributes":{},"children":["Agent platforms"]}]},{"$$mdtype":"Tag","name":"div","attributes":{"className":"md-table-wrapper"},"children":[{"$$mdtype":"Tag","name":"table","attributes":{"className":"md"},"children":[{"$$mdtype":"Tag","name":"thead","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Platform ID"},"children":["Platform ID"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Family"},"children":["Family"]},{"$$mdtype":"Tag","name":"th","attributes":{"data-label":"Display name"},"children":["Display name"]}]}]},{"$$mdtype":"Tag","name":"tbody","attributes":{},"children":[{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["unknown"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["unknown"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Unidentified agent or bot"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["none"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["none"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["No non-human actor"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["chatgpt_agent"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["chatgpt"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ChatGPT Agent"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["chatgpt_atlas"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["chatgpt"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ChatGPT Atlas"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["chatgpt_extension"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["chatgpt"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["ChatGPT Extension"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["codex_agent"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["codex"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["OpenAI Codex"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["claude_code_browser"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["claude"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Claude Code (embedded browser)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["claude_extension"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["claude"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Claude for Chrome"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["comet"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["perplexity"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Comet"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["perplexity_computer"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["perplexity"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Perplexity Computer"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["cloudflare_browser_rendering"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["cloudflare"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Cloudflare Browser Rendering"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["cursor_browser"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["cursor"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Cursor (embedded browser)"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["devin"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["devin"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Devin"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["manus"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["manus"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Manus"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["genspark_browser"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["genspark"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Genspark Browser"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["genspark_extension"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["genspark"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Genspark Extension"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["automa_extension"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["automa"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Automa Extension"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["harpa_extension"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["harpa"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["HARPA AI Extension"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["kitesurf_agent"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["kitesurf"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Kitesurf Agent"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["muse_agent"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["muse"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Muse Agent"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["openclaw"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["openclaw"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["OpenClaw"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["openwork"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["openwork"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["OpenWork"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["skyvern"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["skyvern"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Skyvern"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["cybaa_agent"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["cybaa"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Cybaa Agent"]}]},{"$$mdtype":"Tag","name":"tr","attributes":{},"children":[{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["google_prometheus_bot"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":[{"$$mdtype":"Tag","name":"code","attributes":{},"children":["google_prometheus"]}]},{"$$mdtype":"Tag","name":"td","attributes":{},"children":["Google Prometheus Bot"]}]}]}]}]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"step-4-publish-the-ruleset","__idx":5},"children":["Step 4: Publish the ruleset"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Save the ruleset, then publish it and choose the mode:"]},{"$$mdtype":"Tag","name":"ul","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Monitor"]},": Agent Governance evaluates the ruleset on your real data and logs the result, but does not perform any action. Use it to check the ruleset before it affects your application."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Enforce"]},": Agent Governance evaluates the ruleset and returns the result for your backend to act on."]}]},{"$$mdtype":"Tag","name":"Admonition","attributes":{"type":"info","name":"Note"},"children":[{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Publishing locks the ruleset's data source. You can still edit the rules in the draft and publish again. You can promote a ruleset from ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Monitor"]}," to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Enforce"]},". You cannot move it from ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Enforce"]}," back to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Monitor"]},"."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"example-deny-every-agent","__idx":6},"children":["Example: deny every agent"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["For example, suppose you want to deny any session where an agent is acting, and let people through. The following ruleset has a single rule."]},{"$$mdtype":"Tag","name":"ol","attributes":{},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Create a ruleset and name it, for example, ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Restrict agents"]},"."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Add the ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Agent Intelligence"]}," data source."]},{"$$mdtype":"Tag","name":"li","attributes":{},"children":["In the rule, set the condition ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Current Actor"]}," ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Is"]}," ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["AGENT"]},", and set the result to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Deny"]},". With no other rule, every session that is not an agent falls through to the default ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Allow"]},"."]}]},{"$$mdtype":"Tag","name":"figure","attributes":{"style":{"margin":"0"}},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/assets/policy-rule-current-actor.3a3a3b791c39091cbd337792bdbb95ce41ef4ae5a9a28d529f122a418a77a5c5.e95a590b.png","target":"_blank"},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/policy-rule-current-actor.3a3a3b791c39091cbd337792bdbb95ce41ef4ae5a9a28d529f122a418a77a5c5.e95a590b.png","alt":"A rule that denies the session when the current actor is an agent","style":{"maxWidth":"100%","border":"1px solid #E4E4E4"}},"children":[]}]},{"$$mdtype":"Tag","name":"figcaption","attributes":{"style":{"color":"grey","fontStyle":"italic","fontSize":"14px"}},"children":["Click to open the image in a dedicated tab."]}]},{"$$mdtype":"Tag","name":"ol","attributes":{"start":4},"children":[{"$$mdtype":"Tag","name":"li","attributes":{},"children":["Publish the ruleset. Start in ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Monitor"]}," to confirm the result on your real traffic, then promote it to ",{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Enforce"]},"."]}]},{"$$mdtype":"Tag","name":"figure","attributes":{"style":{"margin":"0"}},"children":[{"$$mdtype":"Tag","name":"a","attributes":{"href":"/assets/policy-publish.9c2625abcc2bed8cdb9054110f279f0b7d5bc23049b899d589c49448a92a0757.e95a590b.png","target":"_blank"},"children":[{"$$mdtype":"Tag","name":"img","attributes":{"src":"/assets/policy-publish.9c2625abcc2bed8cdb9054110f279f0b7d5bc23049b899d589c49448a92a0757.e95a590b.png","alt":"Publish dialog with Monitor and Enforce options","style":{"maxWidth":"100%","border":"1px solid #E4E4E4"}},"children":[]}]},{"$$mdtype":"Tag","name":"figcaption","attributes":{"style":{"color":"grey","fontStyle":"italic","fontSize":"14px"}},"children":["Click to open the image in a dedicated tab."]}]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"next","__idx":7},"children":["Next"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["To call an enforced ruleset from your backend and act on the result, see ",{"$$mdtype":"Tag","name":"MarkdownLink","attributes":{"href":"/guides/governance/integrate_with_agent_intelligence"},"children":["Integrate Governance with Agent Intelligence"]},"."]}]},"headings":[{"value":"Create rulesets","id":"create-rulesets","depth":1},{"value":"Step 1: Create a ruleset","id":"step-1-create-a-ruleset","depth":2},{"value":"Step 2: Add a data source","id":"step-2-add-a-data-source","depth":2},{"value":"Step 3: Add rules","id":"step-3-add-rules","depth":2},{"value":"Agent Intelligence signals","id":"agent-intelligence-signals","depth":3},{"value":"Step 4: Publish the ruleset","id":"step-4-publish-the-ruleset","depth":2},{"value":"Example: deny every agent","id":"example-deny-every-agent","depth":2},{"value":"Next","id":"next","depth":2}],"frontmatter":{"title":"Create rulesets","markdown":{"toc":{"depth":2}},"seo":{"title":"Create rulesets"}},"lastModified":"2026-11-22T12:38:43.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/guides/governance/manage_policies","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}