Create an Agent Contract with the Collibra skill

You write the contract in plain language, one rule per sentence. The skill helps you make each rule precise, tells you which rules can be enforced, and saves the contract to Collibra only after you say yes.

Understand the two kinds of contract

You need the Register Agent Contract permission to create a contract, and a Governance Asset domain in Collibra that you can save to. If you can't see a domain, ask a Collibra admin for access to one.

How to start it

What the skill asks you

  1. New or existing? To edit a contract, you choose it from the list that the skill reads from Collibra. The skill always starts from the rules that Collibra holds, never from rules that you paste in.
  2. Global or specialized? If a global contract already exists, the skill tells you and offers to edit it or to write a specialized one.
  3. Which agents should I check the rules against? (Specialized only.) Name your agent. The skill checks your rules against what the agent can do and against its other contracts. This does not link the contract to the agent.
  4. The name and the domain. The skill proposes a name, such as "[Your organization] - Global Guardian contract", and a Governance Asset domain, usually the one where your other contracts are. A name must be unique within its domain. Do not put an agent's name in the contract name, because you can link the contract to other agents later.
  5. How would you like to start? Choose one, or mix them.
    1. Tell me the rules: Type what the agent must and must not do, in your own words.
    2. Give me a policy document: Attach it or paste the relevant text, and the skill extracts candidate rules and shows them in a table with the section each came from.
    3. Draft it for me: The skill proposes a starting contract from your use case and recognized AI governance standards, and you edit it.

How to write a rule that can be enforced

Guardian checks a rule at the moment the agent is about to act. A rule can be enforced when it is specific enough to check at that moment. Write each rule as one sentence with one obligation, and name the action the agent takes. Name the tool and its argument, so that Guardian can check the call itself. For example, write "The agent must not call approve_loan with an amount above 10,000", not "Be careful with large loans". Rules that depend on judging the meaning of free text usually come back marked Needs a change.

Instead of Write
Be careful with customer data. The agent must not include a customer's contact details in any message it posts to a shared channel.
Don't do anything dangerous in the database. The agent must not run a statement that changes or removes anything in the warehouse.
Human in the loop for big decisions. The agent must not approve a refund above 500 euros without a support lead.
Be transparent. Every message the agent sends a customer must state that it came from an automated assistant.
Stay on topic. The agent must not discuss anything other than the customer's open order.

What you see in the review

The skill shows your contract as a table with a mark for each rule:

Mark Meaning
Enforceable Guardian can check this rule while the agent runs.
Partly enforceable Guardian can check part of it. The skill tells you which part.
Policy only The rule is kept in the contract and recorded, but Guardian cannot check it while the agent runs.
Needs a change The rule has a problem, such as two obligations in one sentence. The skill suggests a rewrite.
Not about this agent The rule does not apply to the agent you named.

Review the table and change anything you like. The skill also shows the exact version it saves.

Save the contract

Nothing is saved until you answer yes, publish when the skill asks. The skill then reads the contract back from Collibra and tells you what Collibra holds. After that:

For more information, go to About Agent Contracts and Create or update an Agent Contract.

Note Guardian enforces rules that it can check at a single moment in the agent's run, for example a call to a named tool, a limit on a tool's argument, or a word or pattern in text, such as UPDATE or DELETE in a SQL query. Rules that depend on meaning, on earlier steps or totals over time, or on a human approval are marked as policy only. They stay in the contract, but Guardian doesn't check them while the agent runs. After you compile the rules, your AI assistant tells you how many rules Guardian will check. To see the result for each rule, open the Contract tab of the AI agent and switch to the YAML view. Rules with the outcome bound are enforced.

What's next