Add the sublayer generate agent command #93
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Interactive agent generator similar to the
sublayer generate generatorcommand.You get asked to confirm that you'll be making a call to an AI service and will incur costs to generate the code, then you'll be asked for the provider and model you want to use.
After that, you'll be asked a series of questions about the agent you want to build, describe it, what triggers it, what its goal is, how it checks status, and how it takes a step. After that it generates the agent for you to start working with.
Need to play with it a bit more, but the confirmation step and selecting models should be optional I think or at least have a way to turn it off, can get annoying one you know what you want, but is also nice to be able to try out generation between different models.
Also noticing we probably want to be able to officially support a locally running model in the CLI at some point...