Kiro icon indicating copy to clipboard operation
Kiro copied to clipboard

No ability to disable delegation to sub agents and removal of critical functionality from main agent!

Open dpevni1 opened this issue 9 months ago • 12 comments

Before opening, please confirm:

Operating System

MacOS 15.6.1

Kiro Version

0.10.16

Bug Description

I have multiple steering rules and workflows implemented based on the way Kiro used to work having a single agent and not delegating tasks to other agents (including context linking, rules, etc). This was big setup that grow over many months.

After last updates its impossible any more to prevent delegation of tasks to agents as the main agent (the one the chat works in when I use spec mode) have available very limited functionality (no file write at all... )

It's irresponsible to do such architecture change without ability to block it, make it optional or ability to downgrade the software for paying customers! as this change effectively renders my entire work (and my whole team of 30 people entire work) as impossible!

with delegation to sub agents the work can not be iterative, they miss a lot of context from the conversation with does not allow me to steer the code generation when something go sidewise (which always do at some point) and attempts to reexecute are very expensive as it run again entire process and eat through tokens 10 times faster then before!

The entire approach of making sub-agents mandatory and removing file editing tools from the main agent is really unacceptable (may be some people like the agent delegation approach but it really gives terrible results and cost much more).

If this is by design please state so as a response so I would know I need to move away from kiro to other tools. if not please update when this will be fixed as currently I have a big team that is not able to work with the tool at all.

Steps to Reproduce

  1. work in spec mode on any spec
  2. create a steering rule telling the IDE to NOT delegate tasks to other agents
  3. the agent loose ability to edit create or remove files (all write operations are blocked and the tool say he does not have this tools available in the main agent)

Expected Behavior

ability to work in single agent without delegating tasks to sub agents (loosing a lot of context) - to clarify creating a rule to pass on the context help very little the results are still very bad! including: getting stuck in a loop of doing same not working change over and over again, ignore prompts and commands from the developer (as the commands are not really passed to the sub agent but stay in the main one so same bad code generation happens again), bassicly loosing control over the work of the model!

Conversation ID

No response

Additional Context

No response

dpevni1 avatar Feb 21 '26 17:02 dpevni1

🤖 Potential Duplicate Detected

This issue appears to be similar to:

What happens next?

  • ⏰ This issue will be automatically closed in 3 days
  • 🏷️ If this is not a duplicate, you can prevent automatic closure by adding a comment or reacting with 👎 to this message.
  • 💬 Comment on the original issue if you have additional information

Why is this marked as duplicate? Both report tools/functionality not being available in chat sessions - the new issue describes file editing tools being unavailable in the main agent, while #5476 reports tools returning 'No tool found' errors

github-actions[bot] avatar Feb 21 '26 17:02 github-actions[bot]

This is not a duplicate! the one you mention is a "weard issue in CLI usage" i am talking about an entire shift in way of work and architecture without ability to roll it out gradually or downgrade based on need. and not from CLI but from the chat and spec mode!

On Sat, Feb 21, 2026 at 7:09 PM github-actions[bot] < @.***> wrote:

github-actions[bot] left a comment (kirodotdev/Kiro#5928) https://github.com/kirodotdev/Kiro/issues/5928#issuecomment-3939104673

🤖 Potential Duplicate Detected

This issue appears to be similar to:

What happens next?

  • ⏰ This issue will be automatically closed in 3 days
  • 🏷️ If this is not a duplicate, you can prevent automatic closure by adding a comment or reacting with 👎 to this message.
  • 💬 Comment on the original issue if you have additional information

Why is this marked as duplicate? Both report tools/functionality not being available in chat sessions - the new issue describes file editing tools being unavailable in the main agent, while #5476 https://github.com/kirodotdev/Kiro/issues/5476 reports tools returning 'No tool found' errors

— Reply to this email directly, view it on GitHub https://github.com/kirodotdev/Kiro/issues/5928#issuecomment-3939104673, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFNCOV5KSLELYIJAN2XD54D4NCGN3AVCNFSM6AAAAACV3NC53GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTSMZZGEYDINRXGM . You are receiving this because you authored the thread.Message ID: @.***>

-- Daniel Pevni R&D group leader

dpevni1 avatar Feb 21 '26 17:02 dpevni1

Thank you for your feedback! 🙏

The duplicate label has been removed and this issue has been sent back for maintainer review.

A maintainer will review this issue shortly.

github-actions[bot] avatar Feb 21 '26 17:02 github-actions[bot]

I completely agree with the author. Major architectural shifts, especially those affecting token usage and context handling, should always be introduced behind a feature toggle or setting. Forcing multi-agent delegation without an opt-out disables established workflows. Please consider adding a switch to use the legacy single-agent mode

Ntxfloy avatar Feb 21 '26 22:02 Ntxfloy

Hi @dpevni1,

Thank you for raising this — we understand the severity of having your entire team blocked and we take this seriously.

Two things to address here:

  1. Tool Execution Failures The main agent losing access to file writing tools was a bug in v0.10.16, not an intentional removal. This has been fixed in Kiro v0.10.32. Please update immediately — this should restore full file editing capabilities to the main agent.

  2. Subagent Delegation Feedback Your concerns around context loss, higher token consumption, loss of developer control, and no opt-out for delegation are heard. We'll share this feedback directly with our team, along with the request for a feature toggle to control delegation behavior.

Next Steps Update to v0.10.32 Test your spec mode workflows and let us know how the experience is Share conversation IDs if issues persist so we can investigate further @Ntxfloy — Thank you, the request for a single-agent mode toggle is noted and will be shared with the team.

We'll keep this open pending your feedback after updating. 🙏

AnilMaktala avatar Feb 24 '26 21:02 AnilMaktala

I followed up on your suggestion and upgraded. The quality result stay poor and token consumption high sadly. then I introduced steering rule to always use "general" purpose agent as a final workaround attempt, but that ruins really glitchy. by chance of luck I saved one of my older dmg files of kiro and for time being downgraded to 0.7.45 (before the architectural change). - this buy me a little time but...

The whole sub-agent approach for complex iterative work is really not good one both in terms of cost-efficiency and in terms of quality. I can see cases where such feature would be good, but loosing the ability to explicitly and exactly define the context that an agent gets (and not what's delegated from the orchestration agent) is far from being good on many occasions.

creating "skills" takes you so far on iterative work (its good when every thing works on first attempt, but it usually does not) the entire idea of useing subagents to "save context window size" is a bad one for power users.

we have practices and flows of work where I control my on context size and exactly what goes in to each prompt that is much more efficient then what the orchestrator does and always will be because that's the whole point of iterative work. I adjust to the results and act upon them, the orchestrator agent does not.

so my ability to downgrade as mentioned does buy me some time, but if ability to disable usage of sub agents "feature" and go back to single one (at least on the quality it was on v0.7.45) is not planned to be added and this architectural shift and direction is going to remain enforced, we likely will use this time to check which tool will be migrating to...

dpevni1 avatar Feb 25 '26 17:02 dpevni1

is there any update on this? should I understand that the change is intentionally enforced and there is nothing to do about it? (please if that's the case just own it and state that clearly so me and my team will not waste time on workarounds waiting for it to be addressed... ) thanks

dpevni1 avatar Mar 10 '26 23:03 dpevni1

I can't comment from my work account, but we are affected too (team of 9).

What is the justification / reasoning for this change from AWS side?

kiro-cli chat --agent {agent-name}

Still allows to maintain interaction with a single custom agent (but there are new bugs appeared - linked or not linked to your change).

We work in a regulated industry, allowedTools feature of custom agents is a very important one for us. With this change, and the broken "delegation" game to sub-agents, its almost unusable anymore.

AlexeySolonenko avatar Mar 12 '26 16:03 AlexeySolonenko

I realize that this is optimistic to the extent of foolishness but giving another attempt here before abandoning the tool, as I did see initially a lot of potential in it...

Will I be able to work in spec mode without useing subagents? or the enforcement of sub agents is permanent? (not a suggested workaround, and not another promise that in new version the subagents will be a real miracle and make me coffee in the morning... just a plain yes or no on ability to work without sub agents! not because of their quality but because of the approach it self with is neither performant nor cost efficient)

I would really appreciate a response here...

dpevni1 avatar Mar 25 '26 17:03 dpevni1

well i got to say that not getting any answer from Feb 24 while github is the only way to get support (even though i am a paying customer) is kind of an answer on its own.

This is very unexpected level of support by AWS that basically tells me that this tool is not in focus and likely should not be trusted for business use.

good luck!

dpevni1 avatar Apr 22 '26 04:04 dpevni1

@AnilMaktala Does AWS labelling this as a "Feature" indicate this is working as designed but the team is considering additional features to give back the desired behavior, when will there be an update from AWS? Since you said in February "Thank you for raising this — we understand the severity of having your entire team blocked and we take this seriously." seems strange that there is been no / little response from AWS since February, are you missing something specific that the author or others have missed giving you?

melutovich avatar May 23 '26 19:05 melutovich

Adding a dimension I haven't seen raised in this thread: automatic delegation silently breaks knowledge accumulation. (IDE side, paying user, same core ask as the original post — a switch to turn automatic delegation off. Kiro IDE 1.0.411 )

Context: one workspace, two repos (C#/.NET backend + React/TS frontend). I maintain an LLM-facing wiki in the repo so the agent stops re-discovering the same non-obvious facts every sprint — multi-meaning columns, inverted boolean flags, cross-module hidden couplings, "looks like A but is actually B" naming traps. The rule for writing a note is deliberately cost-based: 3+ files traced, several exploration rounds, or an assumption I had to correct. Cost is the only honest signal, because the moment you understand something it looks obvious and you underestimate its future value.

Automatic delegation destroys exactly that signal. The cost is paid inside the subagent's context; the main session receives a clean conclusion and cannot perceive that anything was expensive, so the trigger to write it down never fires. And subagents return the settled conclusion while dropping the wrong turns and corrections — which is the highest-value material for a persistent knowledge layer. Months of accumulated notes now depend on a signal the architecture hides.

Three costs that show up daily, independent of the above:

  1. Information loss. The main session holds a summary, not the source. The first follow-up question re-runs the entire investigation. For requirement work — where the next step is editing that same code — that context belonged in the main session from the start. The only benefit of delegation is keeping the parent context small, so for any task that continues into edits the net result is negative.
  2. Single point of failure. A subagent is one long transaction. A network timeout loses the whole run with no partial result. The same reads done inline are many small steps, where a failure costs one step.
  3. Conclusions cannot self-verify. I caught a subagent reporting a Service method as renamed when the differing name was actually the Controller action method. So every conclusion needs sampling re-verification against the source — which means reading that code anyway, paying for it twice.

Delegation is a good fit for read-and-discard research whose output is a document. It is the wrong default for iterative work on code I am about to change, and iterative work is where the tool's value is supposed to be: I adjust based on what I see, and the orchestrator does not.

Steering rules are not a substitute. Telling the agent not to delegate is model-side self-discipline, not enforcement — it holds early in a session and degrades as context fills up (see #6518 on steering not being reliably followed). A config switch does not degrade.

Ask: a setting that disables automatic delegation while keeping explicit invocation available. #10881 is the narrower, surgical version of the same need (make built-in subagents individually toggleable) and would also work for me.

wumings1025 avatar Sep 01 '26 03:09 wumings1025