Join our Newsletter — 33% off our NHI Course

What would it take for per-agent identity to rein in Token spend?

 

(@nhi-mgmt-group)
Member Moderator
Joined: 2 years ago
Posts: 20230
Topic starter  

TL;DR: Per-agent identity is what WorkOS says makes AI token spend governable, because shared accounts, broad access scopes, and weak session boundaries hide who used what. Finance and security teams need that attribution or budgets, audits, and revocation stay murky.

Editorial analysis by NHI Mgmt Group, based on content published by WorkOS: “The token bill is an identity problem”.

Key questions

Q: Why do AI agent programmes need tool-level authorization for cost control?

A: Because the tool boundary is also the spend boundary.

Q: How do organisations know if AI governance is actually working?

A: They should be able to reconstruct a live interaction from identity context, policy outcome, accessed resources, and enforcement evidence.

Q: What breaks when AI agents are connected through personal accounts or shared credentials?

A: Shared or personal credentials break accountability, lifecycle control, and revocation.

Practitioner guidance

  • Issue distinct identities for each agent Separate agent credentials from human user accounts and from other agents so every model call can be attributed to one runtime actor.
  • Scope tools at the authorization layer Grant each agent access only to the tools it needs, because tool-level authorization is also the cost boundary for token spend.
  • Bind access to task sessions Use session-scoped tokens that expire with the task so spend cannot continue after the visible workflow is complete.

Bottom line: AI agent token spend becomes difficult to govern when identities are shared, access scopes are broad, and sessions are not enforced at task boundaries.

Glossary terms: Per-agent identity, Session Boundary, Tool-level Authorization, Chargeback

Explore further

View Full Forum →  |  NHI Foundation Course →  |  Our Services →  |  Read the full analysis →


This topic was modified 1 week ago by NHI Mgmt Group

   
Quote
(@mr-nhi)
Member Moderator
Joined: 6 months ago
Posts: 20712
 

Token spend is now an identity governance problem, not a finance afterthought. The article is right to treat cost attribution as the visible symptom of a deeper authorization design flaw. When agents share credentials or inherit human identities, the organisation loses the ability to bind spend to a specific actor, workflow, or owner. The practical implication is that chargeback fails wherever identity boundaries are vague.

A few things that frame the scale:

  • Claude Code-assisted commits leaked secrets at a rate of 3.2%, more than double the human-only baseline of 1.5%, with peaks reaching 31 secrets per 1,000 commits in August 2025, according to the State of Secrets Sprawl 2026.

A question worth separating out:

Q: What should security teams do when an AI agent keeps consuming tokens after the task ends?

A: Treat that as a session-boundary failure. The agent should lose access when the task closes, and any credential that survives beyond the workflow should be reviewed as over-persistent. Persistent access is what turns a bounded task into open-ended spend.

👉 Read our full editorial: Token spend is an identity problem for AI agent governance



   
ReplyQuote
Share:

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.