Skip to content

wip: refactor of cli interface to include prompt, agent, list.#6

Merged
vsoch merged 2 commits intoadd-manager-agentfrom
refactor-cli
Feb 27, 2026
Merged

wip: refactor of cli interface to include prompt, agent, list.#6
vsoch merged 2 commits intoadd-manager-agentfrom
refactor-cli

Conversation

@vsoch
Copy link
Member

@vsoch vsoch commented Feb 26, 2026

Insights include: The planner agent should not be tasked with multiple steps, but just one. I am finding the using single steps (each an agent with full access to tools and ability to respond to error) is a more robust approach than a pre-encoded state machine. We can still combine sub agents for more complex orchestration, and probably when this maps to multi-scheduling we will need that separation anyway. Hugely problematic when we do not tell it about data or how to find software. When it has trouble with something, it starts getting messy with other details. We also need a more intelligent mcp server that handles task queues and event delivery. I can build it. Note that the changes are well documented for this WIP but it is not working yet - I need time to work on it.

Insights include: The planner agent should not be tasked with multiple steps, but just one. I am finding the using single steps (each an agent with full access to tools and ability to respond to error) is a more robust approach than a pre-encoded state machine. We can still combine sub agents for more complex orchestration, and probably when this maps to multi-scheduling we will need that separation anyway. Hugely problematic when we do not tell it about data or how to find software. When it has trouble with something, it starts getting messy with other details. We also need a more intelligent mcp server that handles task queues and event delivery. I can build it. Note that the changes are well documented for this WIP but it is not working yet - I need time to work on it.

Signed-off-by: vsoch <vsoch@users.noreply.github.com>
@vsoch
Copy link
Member Author

vsoch commented Feb 27, 2026

Listing of available sub-agents. Defaults:

image

Adding the optimize on the fly:

image

That prints as json too. I can also probably make this a verbose mode (and non-verbose is just the names and descriptions).

The manager is now a general manager sub-agent. We still use
it alongside the state machine, but now other tools can decide
to use it too.

Signed-off-by: vsoch <vsoch@users.noreply.github.com>
@vsoch vsoch merged commit ace7e90 into add-manager-agent Feb 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant