was riffing about RLMs recently… decided there are two "most interesting" dimensions
preface - my simple definition of RLM is just N-depth subagents, and wielding context well there
but… what if you frame it as:
RLM = f(max_subagent_depth, min_subagent_depth)
where max_subagent_depth is self-explanatory
and min_subagent_depth is "how many layers do you have to go before tools other than Agent() are allowed"
so RLM(3,1) means max 3 levels and the root agent can only invoke subagents, no other tools
bu tyou could have RLM(1,0) - claude code default where the parent gets tools + one layer of subagents
or RLM(2,1) or RLM(5,2) where parent AND its subs are blocked from all tools and tool calling agents must start at layer 3
(h/t allison for the inspo)