AI Coding-Agent Guardrails

AI coding agents के लिए परतदार guardrails डिज़ाइन करें: permissions, sandboxes, secret व network नियंत्रण, Git और CI gates, hooks, logging और incident response।

कोर्स शुरू करें →

पाठ्यक्रम

Threat Model

  1. Guardrails क्यों
  2. क्या बिगड़ सकता है
  3. Trust Boundaries
  4. Defence in Depth

Permissions और Command Policy

  1. Allow, Ask, Deny
  2. Prefix Allowlists क्यों विफल होते हैं
  3. Parse किया हुआ Allowlist
  4. Allowed Commands भी कोड चला सकते हैं

Filesystem और Sandbox

  1. Path Guards और Symlinks
  2. Containers और Dev Environments
  3. Protected Paths

Secrets और Network

  1. Secrets को पहुँच से बाहर रखना
  2. Secrets Redact करना
  3. Network Egress Allowlists

Git और CI Guardrails

  1. Branches, कभी Main नहीं
  2. Diff आकार और दायरे के Gates
  3. CI और Review अंतिम प्राधिकार के रूप में

Hooks, Policy as Code और Budgets

  1. Pre-Action Hooks
  2. Policy as Code और Managed Settings
  3. Budgets और Rate Limits

पहचान और प्रतिक्रिया

  1. Audit Logging
  2. अपने Guardrails की Red-Teaming
  3. Incident Response और Kill Switch

सब कुछ जोड़ना

  1. केस स्टडी: टीम में Agents लाना
  2. Revision: Cheat Sheet और Self-Check