Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,3 @@ FROM mcr.microsoft.com/devcontainers/python:3.12

# Copy binaries from the official
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/

# Remove after production
RUN pip install --no-cache-dir fastmcp
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"workspaceFolder": "/workspaces",
"onCreateCommand": "uv venv .venv --seed",
"postCreateCommand": "REPO_NAME=$(basename $GITHUB_REPOSITORY) && cat $REPO_NAME/.devcontainer/init.sh >> ~/.bashrc && mkdir .vscode && cp $REPO_NAME/.devcontainer/mcp.json .vscode/",
"postCreateCommand": "REPO_NAME=$(basename $GITHUB_REPOSITORY) && cat $REPO_NAME/.devcontainer/init.sh >> ~/.bashrc",
"hostRequirements": {
"cpus": 16,
"memory": "64gb",
Expand Down
10 changes: 0 additions & 10 deletions .devcontainer/mcp.json

This file was deleted.

1 change: 0 additions & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

/doc/ @Azure/act-quality-productivity-squad
/tools/ @Azure/act-platform-engineering-squad @Azure/act-experience-enablement-squad @Azure/act-codegen-extensibility-squad
/tools/aaz-flow @Azure/act-experience-enablement-squad @Azure/act-codegen-extensibility-squad
/scripts/ @Azure/act-platform-engineering-squad @Azure/act-experience-enablement-squad @Azure/act-codegen-extensibility-squad
/scripts/live_test @Azure/act-platform-engineering-squad
/src/azure-cli-testsdk/ @Azure/act-quality-productivity-squad
Expand Down
Binary file removed doc/assets/codespace_copilot.png
Binary file not shown.
Binary file removed doc/assets/codespace_mcp.png
Binary file not shown.
Binary file removed doc/assets/codespace_mcp_start.png
Binary file not shown.
21 changes: 1 addition & 20 deletions doc/hands_on_codespace.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@ GitHub Codespace is a great option for developers who prefer to work in containe
2. Above the file list, click **Code** > **Codespaces** > **Create codespace on dev**.
![](https://raw.githubusercontent.com/Azure/azure-cli/refs/heads/dev/doc/assets/codespace_entry.png)

With Codespace, all pre-requisites are installed for you, including the [AAZ Flow MCP server](https://github.com/Azure/azure-cli/tree/dev/tools/aaz-flow).
![](https://raw.githubusercontent.com/Azure/azure-cli/refs/heads/dev/doc/assets/codespace_mcp.png)

## Authenticate with GitHub
Once codespace is created (takes a while), you will see the following prompt in the integrated terminal:
![](https://raw.githubusercontent.com/Azure/azure-cli/refs/heads/dev/doc/assets/codespace_login.png)
Expand Down Expand Up @@ -51,25 +48,9 @@ When you have completed all the editing in Workspace Editor and clicked EXPORT i
Sometimes, the generated code may not fully meet the requirements. In such cases, you'll need to make some customizations based on it. This process can be relatively complex, so please refer to the [relevant documentation](https://azure.github.io/aaz-dev-tools/pages/usage/customization/).

### Test via real-world scenarios
With the help of the AAZ Flow MCP server, you can now generate some test cases. However, no one understands how to design better test scenarios better than you do. Please refer to the [relevant documentation](https://azure.github.io/aaz-dev-tools/pages/usage/command-usage-testing/) to author your own tests.
You understand your test scenarios best. Please refer to the [relevant documentation](https://azure.github.io/aaz-dev-tools/pages/usage/command-usage-testing/) to author your own tests.

### Provide meaningful examples
While the codegen tool provides some initial examples, their quality directly impacts the quality of future documentation. Therefore, you should strive for continuous improvement. Please refine your command examples in the Workspace Editor.

Once everything is ready, you can raise pull requests in [Azure/azure-cli-extensions](https://github.com/Azure/azure-cli-extensions) and [Azure/aaz](https://github.com/Azure/aaz).

## Introduction to AAZ Flow
AAZ Flow is the MCP server for the AAZ APIs, enabling pruning of command-line interfaces, implementing custom logic, generating test cases, and more.

Please note that AAZ Flow is currently in early development. The functionality and available tools are subject to change and expansion as we continue to develop and improve the server.

### Tools
You can easily start the MCP server within your codespace environment:
![](https://raw.githubusercontent.com/Azure/azure-cli/refs/heads/dev/doc/assets/codespace_mcp_start.png)

Please setup your Copilot to use the AI features (**Ctrl** + **Alt** + **I** to open a chat):
![](https://raw.githubusercontent.com/Azure/azure-cli/refs/heads/dev/doc/assets/codespace_copilot.png)

After that, set the mode to `Agent` and the model to `Claude Sonnet`. The following is the use case of the tools:
1. "generate test for chaos module" to generate test cases in _chaos_ module.
2. "generate code for azure cli" to generate models AND codes.
207 changes: 0 additions & 207 deletions tools/aaz-flow/.gitignore

This file was deleted.

17 changes: 0 additions & 17 deletions tools/aaz-flow/CHANGELOG.md

This file was deleted.

21 changes: 0 additions & 21 deletions tools/aaz-flow/LICENSE

This file was deleted.

15 changes: 0 additions & 15 deletions tools/aaz-flow/README.md

This file was deleted.

19 changes: 0 additions & 19 deletions tools/aaz-flow/pyproject.toml

This file was deleted.

5 changes: 0 additions & 5 deletions tools/aaz-flow/src/aaz-flow/__init__.py

This file was deleted.

Loading
Loading