google-gemini / google-gemini/gemini-cli

Utilize Generalist to help solve build fix use case

Open
#22,602 1 comment 0 reactions 0 assignees View on GitHub
🔒 maintainer only area/agent kind/customer-issue priority/p3 status/bot-triaged workstream-rollup
Dominant language
TypeScript
Stars
107k
Forks
14.6k
Avg merge
2d 3h
Merged PRs (30d)
45

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.