Devs battle-test AI agent permissions: IAM, middleware or human approval?
SXOTW · reddit · 2026-10-03
A developer running AI agents in production asks how others handle permissions when agents can modify data, call internal APIs, send emails, issue refunds, or deploy code — and recently got burned.
The post lays out the main options and asks about their maintenance cost:
- Relying on IAM / service accounts
- Enforcing policies at the tool or API layer
- Custom middleware for fine-grained control
- Human approval for risky actions
- Adopting an existing permissions product
The author also wants to know why teams that rolled their own made that choice, and whether it's an ongoing headache or simple enough that a separate solution isn't worth paying for. It's a widely-hit pain point in agent engineering with few standard answers; the discussion is useful reference for teams shipping agents.
Related event: Practitioners Grapple with Governing AI Agents in Production(2 posts)→
More from coding & agent
- Victor Taelin's Bend2 talk from SF Lean Meetup explains the rationale behind the language design — pbaylies · 2026-11-20
- Drex Router cuts small-game build cost to $1.26 vs $13.44 on Claude Opus alone — testingcatalog · 2026-11-20
- User teaches AI companion to ignore "drop it" said to his dog, then fixes the over-pause — manosaie · 2026-11-20
- NVIDIA Dynamo cuts RL rollout bottlenecks with KV-aware routing and delta weight updates — NVIDIAAI · 2026-11-20
- LangChain Academy Answers: Can a Better Model Fix a Broken Agent? — LangChain · 2026-11-20
- Agents pull AI compute back to the CPU: AWS, Google, Microsoft, NVIDIA all build on Arm — kimmonismus · 2026-11-20