Engineering · AI Agent Architecture
Enterprise Agent Permissions and Multi-Tenant Isolation
Tenant boundaries, tool authz, data residency, and audit logs for internal rollout and SaaS compliance baselines.
1. Identity on every hop
Carry tenant_id and subject_id; partition vectors, memory, and credentials. Hard-reject cross-tenant retrieval. Child agents inherit caller identity and cannot escalate.
2. Tool-level ABAC
Tools declare sensitivity and required_roles. A policy engine decides before execution. Bulk export and outbound mail need step-up verification.
3. Audit and residency
Write WORM audit rows with who, what, tool, and artifact_hash. Keep model and index regions aligned with contracts; cross-border calls use scrubbed summaries.
4. Engineering checklist
- Default-deny cross-tenant tool aliases
- Hold secrets in KMS; agents only get handles
- Run quarterly privilege-penetration tests
5. Sample configuration
policy:
tenant_isolation: strict
tool_authz: abac
audit_retention_days: 3656. FAQ
- Should an agent call every user API?
- No—register least-privilege tools and narrow scopes per session.