About Agent Contracts
An agent contract is a written set of rules, in natural language, that defines what an AI agent is and isn't allowed to do, what data it can access, and what outcomes it is responsible for. An agent contract turns natural-language rules, policies, and expectations about agent behavior into a reviewable, auditable record that Guardian Agents can enforce at runtime.
Each rule in an agent contract is a natural-language statement, for example:
- "The AI agent must not include a customer's personal data, such as contact details or financial details, in any message or record it produces."
- "The AI agent must request human sign-off for amounts above $200."
- "The AI agent should never call any tool that deletes an account (anything starting with 'delete_')."
Before you can create or update an Agent Contract, your AI assistant must be connected to the Collibra MCP server. For setup instructions, go to Collibra MCP-compatible integrations. For the steps, go to Create or update an Agent Contract.
There are two kinds of agent contracts:
- Global agent contract: Applies automatically to every AI Agent asset in your environment.
- Specialized agent contract: Applies only to the AI Agent assets it's related to.
Enabling the feature
Agent Contracts must be enabled before you can create one. In Settings, under AI Command Center, click the Guardian and contract tab, and switch on AI Agent contracts. For complete steps, go to Set up AI Command Center.
Permissions
The following permissions apply to Agent Contracts:
- Open the Agent contracts and Guardian agents pages: You have a global role with the Product Rights > AI Governance global permission. The Agent contracts page is available when AI Agent contracts is switched on.
- View an Agent Contract: There's no dedicated permission. You can view an Agent Contract if you can view the Contract tab of an AI Agent asset page. Agent Contracts that you can't view aren't listed, and you can't see their rules.
- Create an Agent Contract: You have a global role with the AI Governance > Register Agent Contract global permission. The AI Business User global role has this permission by default, and you become the Owner of the Agent Contracts you create.
- Update an Agent Contract: You have a resource role with the Asset > Update resource permission on the Agent Contract, such as the Owner resource role.
- Delete an Agent Contract: You have a resource role with the Asset > Remove resource permission on the Agent Contract, such as the Owner resource role. To delete one, click the delete icon in the last column of the Agent Contracts table on the Agent contracts page, and enter the Agent Contract's name to confirm. You can't recover a deleted Agent Contract. Deleting the global Agent Contract recompiles the rules for every agent.
- Change the settings: You have a global role with the Product Rights > System Administration global permission.
Note Out of the box, only the AI Business User role has the Register Agent Contract permission.
Rules and limits
When you create or update an Agent Contract, the following limits apply:
- An Agent Contract has a name of 1 to 2,000 characters, which must be unique among all assets in the domain, of any type.
- An Agent Contract has at least 1 and at most 200 rules.
- A rule is a natural-language statement of up to 2,000 characters. A rule can't be blank.
- Two rules that are identical, after extra spaces are removed, aren't allowed in the same Agent Contract. Capitalization is taken into account.
- Only one global Agent Contract can exist. All other Agent Contracts are specialized.
- An Agent Contract is stored in a Governance Asset domain.
Every change to the rules, including changing their order, creates a new version of the Agent Contract. Pushing the same rules in the same order as the active version doesn't create a new version. A reworded rule is treated as a new rule. The new version becomes the active version immediately. Guardian keeps enforcing the previous rules until you apply the latest rules and restart the agent.
The text of a rule isn't checked for syntax when you save it. Whether Guardian can enforce a rule is determined later, when it compiles the Agent Contract. Rules that Guardian can't enforce are not applied. A specialized contract can add rules for things the global contract doesn't cover. If a global rule and a specialized rule call for different actions on the same thing, the global rule takes precedence, even if it's less strict. For how rules are combined, go to How rules are combined.
Note Guardian resolves conflicts between rules automatically when it compiles them, and a rule that's overridden isn't enforced. The product doesn't flag conflicts. To check which rules Guardian couldn't enforce, or which rules were overridden, open the Contract tab of the AI agent and switch to the YAML view. Each rule is listed with its compile outcome and the reason. Rules with the outcome bound are enforced.
Example scenarios
A customer-support agent is authorized to access customer account information, but not employee HR data. If an agent contract rule establishes that boundary and the agent attempts to access an HR dataset, Guardian identifies the action as a violation and applies the appropriate response, before any sensitive information is exposed.
A procurement agent is authorized to search approved suppliers and prepare purchasing recommendations, but not to execute transactions above a defined threshold. An agent contract rule captures that limit, and Guardian intervenes if the agent attempts an action that exceeds it.
Agent contracts page
The Agent contracts page shows an overview of all Agent Contract assets that you can view:
- Guardian pass rate: The percentage of turns over the last 30 days in which Guardian found no violation. A turn is one run of an agent, from the user's request to the final answer. The rate is rounded up to a whole percentage, so a pass rate of 100% can still include a small number of issues, for example 1 in 1,000 turns. When there was no activity in the period, the card shows No data.
- Issues: The number of turns over the last 30 days in which Guardian's most severe verdict wasn't Allow. A turn with several violations counts as one issue.
- Agents using Guardian: The number of AI agents for which Guardian recorded at least one turn over the last 30 days. Agents without activity in the period aren't counted.
The statistics only include agents that you can view.
Below these metrics, a table lists each Agent Contract that you can view in your environment. The global Agent Contract is always listed first, and you can sort the table by name, number of rules, or last updated date, and you can filter it by name:
| Column | Description |
|---|---|
| Name | The Agent Contract's name, linking to its rules and details. |
| Number of rules | The number of rules in the active (latest) version of the Agent Contract. Each rule is a single plain-language statement describing something the agent is allowed, required, or forbidden to do, as in the examples earlier in this topic. |
| Governed agents | The number of AI Agent assets this Agent Contract currently applies to, counted when you open the page. For the global agent contract, this is every AI Agent asset in your environment that you can view; for specialized agent contracts, it's the AI Agent assets that are directly related to it. |
| Last updated | The date the active version of the Agent Contract was created, when a new version was last pushed. Renaming the Agent Contract, or pushing the same rules in the same order, doesn't change it. For details, go to Create or update an Agent Contract. |
| Updated by |
The user who created the active version of the Agent Contract. Because your AI assistant connects to Collibra with your own credentials, this is the person whose assistant pushed the new version. |
Global agent contract and specialized agent contracts
A specialized agent contract can add rules for the agents it's related to. If a global rule and a specialized rule call for different actions on the same thing, the global rule takes precedence, even if it's less strict. If they only partly overlap, both apply.
Example: A global rule flags any refund above 100 euros, and a specialized rule for the Support agent blocks refunds above 500 euros. The global rule covers every refund the specialized rule does, so it takes precedence: Guardian flags a 600-euro refund from the Support agent instead of blocking it. To block those refunds for the Support agent, change the global rule or add the block to the global contract.
To apply a specialized agent contract to AI agents, go to Agent contracts and click the contract. In the Contract status panel, click + (Link agents) next to Governed agents, and select the agents.
Each AI Agent asset page shows its combined contract, the set of rules currently applying to it, and lets you apply the latest rules so that Guardian uses them. For details, go to Contract tab on AI Agent asset pages.
- Create or update an agent contract.
- Learn more about guardian agent runtime enforcement.
- Learn about the Contract tab on AI Agent asset pages.