I Spent Three Months Solving the One Thing Keeping AI Agents Out of Production
Summary
Enterprise AI agent adoption faces a significant hurdle, with a March 2026 survey of 650 leaders showing 78% running pilots but only 14% in production. The primary blocker is not model quality, but the inability to attribute agent actions to a specific human user, leading to security and compliance risks. Agents typically operate via shared service accounts, which can expose data or return incorrect, generic information. The solution, "per-user identity," ensures every agent call executes with the real user's permissions and audit trail. This involves an identity relay where a user's token is exchanged and validated by the backend. A practical implementation connects ChatGPT to ServiceNow using Keycloak for identity, with a mediating service injecting user tokens into every tool call, enabling accurate, personalized responses.
Key takeaway
For AI Engineers or MLOps teams aiming to deploy AI agents into production, prioritizing per-user identity is crucial. Your agents must operate with the specific permissions and audit trail of the human user, not a generic service account, to satisfy security and compliance requirements. Building this identity relay early prevents significant rework and transforms agents from productivity toys into defensible, production-ready systems that can withstand regulatory scrutiny.
Key insights
Per-user identity is critical for AI agents to move from pilot to production by ensuring proper attribution and security.
Principles
- AI agent production requires per-user identity for accountability.
- Shared service accounts create attribution and security risks.
- Identity plumbing is foundational, not an afterthought.
Method
Implement an identity relay: user logs in, token exchanged for backend trust, backend validates token and runs query under user's name and permissions.
In practice
- Integrate ChatGPT with ServiceNow via an identity-aware bridge.
- Utilize Keycloak for robust identity management.
- Inject user tokens into every agent tool call.
Topics
- AI Agents
- Enterprise AI
- Identity Management
- Per-User Identity
- AI Security
- Production Deployment
Best for: CTO, AI Architect, Entrepreneur, AI Engineer, MLOps Engineer, AI Security Engineer
Related on AIssential
See Counsel's argued verdicts on the open AI decisions leaders are weighing →
Editorial summary, takeaway, and curation by AIssential. Original article published by The AI Agent Architect.