Set up Guardian Agents and Agent Contracts

Use your AI tool to set up an Agent Contract and a Guardian Agent that govern what your AI agent does. An Agent Contract holds the rules for your agent, and a Guardian Agent enforces those rules while the agent runs. For more information, go to About Guardian Agents and Agent Contracts.

Your AI tool does most of the work. It asks you questions and waits for your approval before every change. You can give this topic to your AI tool, or follow the steps yourself.

In this guide, you:

What to expect

Choose how to enforce your rules

Guardian can enforce your Agent Contracts in two ways. Both use the same policy engine, so you create your Agent Contracts once, as described in Create your contract. The enforcement setup is different.

Prerequisites

Global permission You need it to
System Administration Switch on the AI Agent contracts and Guardian settings.
Register Agent Contract Create an Agent Contract in Create your contract.

Set up with your AI tool

To have your AI tool do the whole setup for you, copy the following prompt, replace the placeholders, and paste it into your AI tool.

Open your AI assistant in the folder that contains your agent's code. If the folder has several agents, the assistant asks which one to set up. Run the prompt once for each agent.

Set up Agent Contracts and Guardian Agents for the AI agent in this folder, end to end, by following the setup guide at https://productresources.collibra.com/docs/collibra/latest/Content/AICommandCenter/GuardianAgents/ta_guardian-setup-guide.htm.
Use the Collibra MCP server for all Collibra steps.
If something is not available to you or you do not know it, ask me. If a required tool is missing, ask me before you install it.
Do not assume anything.
Do not ask me to paste passwords or tokens in this chat. Tell me where to enter them myself.

My Collibra instance: [YOUR COLLIBRA URL]
My deployment platform, for example Databricks: [YOUR PLATFORM URL]

What's next