Currently using an azd extension is a multi-step process i.e., find the extension, install it, then run the command. This makes extensions hard to discover and use, which could push us towards bundling them by default which is something we want to avoid.
Instead we can optimize it. If a user runs a command for an uninstalled extension (like azd ai agents init ), azd should ask them if they want to install it. If they say yes, it installs the extension and immediately runs the command.
Current flow:
azd extension list (querying available extensions)
azd extension install microsoft.ai.agents (installing it)
azd ai agents init (executing it)
Proposed new flow:
azd ai agents init (install and execute it)
This approach simplifies the user experience keeping installations intentional and avoids a bloating users environment.
Currently using an
azdextension is a multi-step process i.e., find the extension, install it, then run the command. This makes extensions hard to discover and use, which could push us towards bundling them by default which is something we want to avoid.Instead we can optimize it. If a user runs a command for an uninstalled extension (like
azd ai agents init),azdshould ask them if they want to install it. If they say yes, it installs the extension and immediately runs the command.Current flow:
azd extension list(querying available extensions)azd extension install microsoft.ai.agents(installing it)azd ai agents init(executing it)Proposed new flow:
azd ai agents init(install and execute it)This approach simplifies the user experience keeping installations intentional and avoids a bloating users environment.