Dependency Agent Tracking Issue #672
Labels
agent
enhancement
New feature or request
priority/important-longterm
Important over the long term, but may not be staffed and/or may need multiple releases to complete.
prompt-engineering
Issues related to changes for prompts or tweaks for specific models
rpc-server
Dependency Agent's Tracking
Today, we have three agents that I would consider to make up the dependency maven flow:
Reason for This Issue
I want to use this issue to keep track of the current problems and to discuss and track long-term changes to this agent's flow. This is going to be a great deal of work.
Current Issues
Many issues exist today with these agents, from insufficient context to find the proper dependency to trying to revert a valid change because a dependency was not found. Sometimes, the update (javax.sql -> jakarta.sql) will be re-tried indefinitely because the LLM was incorrect, which should not have been changed.
First thoughts for new implementation
We need a planning agent, and related tasks are collapsed into a single task for the planner. We need the planner to use sub-agents to do specific tasks; the more specific, the better. The biggest hurdle we will have here is context windows. We will need to be able to have stop points or summarize where we are to the planner agent. We should consider tool use if and only if necessary to complete the task. We also need to bake in some assumptions about the specifics of adding BOM files, for instance, or if one does exist, what that means when searching and adding dependencies.
Making Some plans
I think the planner agents needs to know a couple of things to help it make the right choice:
The planner should then devise a plan for how to solve this. More specifics should be written out, and I think we will need to iterate on this.
With the Plan in Hand, We Control the Flow
The code should now be responsible for executing the plan, only returning to the planner when things go wrong.
The text was updated successfully, but these errors were encountered: