Step 2 15 min

Register Agents and Create Policies

Register your AI agents and add your own policies on top of partner defaults.

Register an Agent

Register Agenttypescript
const agent = await client.agents.create({
  name: 'Data Analyst Bot',
  description: 'Reads and summarizes customer data',
  capabilities: ['read', 'summarize'],
});

Add Your Own Policies

Your partner's default policies already protect you. Add your own policies for your specific use cases.

Customer-Specific Policytypescript
await client.policies.create({
  subject: agent.id,
  action: 'escalate',
  rules: {
    match: {
      intent: 'summarize',
      data_type: 'customer_pii',
    },
  },
  priority: 30,
  escalation: {
    timeout_hours: 4,
    notify: ['privacy@acme.com'],
  },
});