#22602·gemini-cli

Utilize Generalist to help solve build fix use case

Author: abhipatel12Created Mar 16, 2026Updated Sep 17, 2026
Labelspriority/p3area/agentkind/customer-issue🔒 maintainer onlyworkstream-rollupstatus/bot-triaged

In certain cases, the main agent spends many turns, iterations, making incremental changes in hopes of solving a small issue. For example, if a typecheck or linter comes back with numerous failures. The main agent may spend many turns/tokens to help get the build into a healthy state.

This is one such subtask (also including fixing a broken build) that could be delegated to a subagent such as the generalist to outsource the fix and return to the main agent with a working build.

Considerations/Objectives:

  • Investigate getting the model to use the generalist in subtasks such as this
  • evaluate if calling is consistent and provides enough feedback back to the main agent to prevent any hallucinations of state (does the generalist let the main agent know what changes it had to make / if the fix couldn't be fixed without further changes)
  • Does the main agent provide enough context for the generalist to successfully accomplish its tasks? Or could this require a way for the main agent to share more context?
  • Add behavior evals to see if the behavior is followed consistently.

Source: google-gemini/gemini-cli