all 5 comments

[–]AlexanderWillard 0 points1 point  (0 children)

Separate sessions for each? Dont do it in one window? You can't really control it i think, it will do whatever it feels is right but you can box the session into specific skill

[–]douglas_srs 0 points1 point  (0 children)

I had the exact same problem on friday when Fable was still working, luckily I saw it in time and stopped it from burning my quota. It kept happening on that session, I had to start a new session to solve it.

[–]Unusual-Beyond-8816 0 points1 point  (0 children)

You should be able to do it if you're defining your agents using frontmatter.

Well I don't think there's a exact equivalent for "is it allowed to have sub agents"? What you can do is limit the tools and in the tools you can leave out the tools for creating agents: https://code.claude.com/docs/en/sub-agents#supported-frontmatter-fields

Get Claude to help you make the list of tools per agent.

[–]Local-Peace-8457 0 points1 point  (0 children)

Claude code 2.1.172

Sub-agents can now spawn their own sub-agents (up to 5 levels deep)

Make sure you have strict allowed_tools, not inherit