Urgent.News

What's breaking now, across thousands of outlets.

Tech

Does a LangGraph subagent inherit its parent's tool permissions? I tested it.

I gave a supervisor agent in Deep Agents 0.7.6 exactly one tool, write_brief . It spawned a writer subagent. The writer ran a web search for site:exfil.example internal customer list , because a note in its input told it to. Nothing checked that call against what the supervisor held. This isn't a bug. LangChain's Deep Agents permissions page says a subagent spec "replaces the parent's rules…

A LangGraph subagent does not inherit its parent's tool permissions by default. In the testing conducted, a supervisor agent with write_brief permission spawned a writer subagent that ran a web search. The subagent executed the web search despite lacking write_brief permission and there was no mechanism to restrict it. Deep Agents documentation states that subagents replace the parent's rules entirely with their own tool sets.

To bound a subagent, a middleware named BoundedByParent can be added to its spec which checks that the subagent can only use tools held by the parent. Attenu-guard library extends this functionality with scopes, ceilings and lifetimes for finer control of permissions.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

Zapp Chess: 3-Minute Chess Battles From the Middlegame

Zapp Chess skips the part of chess most people don't have time for. Every game starts from a curated middlegame position, so you're straight into tactics instead of building up an opening.

  • Zapp Chess focuses on middlegame battles, not openings.
  • Matches conclude within three minutes, no extended endgames.
  • Browser play is free, no downloads or accounts required.

More from Wednesday 2 September →