Skip to content

Python: Remove indices in FHA sample names - #7405

Open
TaoChenOSU wants to merge 1 commit into
microsoft:mainfrom
TaoChenOSU:samples/remove-indices-in-fha-sample-names
Open

Python: Remove indices in FHA sample names#7405
TaoChenOSU wants to merge 1 commit into
microsoft:mainfrom
TaoChenOSU:samples/remove-indices-in-fha-sample-names

Conversation

@TaoChenOSU

@TaoChenOSU TaoChenOSU commented Jul 29, 2026

Copy link
Copy Markdown
Contributor

Motivation & Context

Teh FHA samples are numbered, which makes it difficult to remove samples.

Description & Review Guide

  • What are the major changes?
    • Remove the numbering on the FHA samples and rely on the README to instruct customers on how to start.
  • What is the impact of these changes?
    • Sample URLs are changed. Documentation and Blog post links need to be updated.

Related Issue

Fixes #7378

Contribution Checklist

  • The code builds clean without any errors or warnings
  • All unit tests pass, and I have added new tests where possible
  • The PR follows the Contribution Guidelines
  • This PR is linked to an issue and there is no other open PR for this issue (see Related Issue above).
  • This is not a breaking change. If it is a breaking change, add the breaking change label (or add "[BREAKING]" to the title prefix, before or after any language prefix) — a workflow keeps the label and title prefix in sync automatically.

@TaoChenOSU TaoChenOSU self-assigned this Jul 29, 2026
Copilot AI review requested due to automatic review settings July 29, 2026 20:07
@TaoChenOSU TaoChenOSU added python Usage: [Issues, PRs], Target: Python foundry Usage: [Issues, PRs], Target: all Foundry integrations hosting Usage: [Issues, PRs], Target: all hosting related solutions labels Jul 29, 2026
@TaoChenOSU
TaoChenOSU temporarily deployed to github-app-auth July 29, 2026 20:07 — with GitHub Actions Inactive
@TaoChenOSU
TaoChenOSU temporarily deployed to github-app-auth July 29, 2026 20:07 — with GitHub Actions Inactive
@TaoChenOSU
TaoChenOSU temporarily deployed to github-app-auth July 29, 2026 20:07 — with GitHub Actions Inactive
@TaoChenOSU
TaoChenOSU temporarily deployed to github-app-auth July 29, 2026 20:07 — with GitHub Actions Inactive
@TaoChenOSU
TaoChenOSU temporarily deployed to github-app-auth July 29, 2026 20:08 — with GitHub Actions Inactive
@TaoChenOSU
TaoChenOSU temporarily deployed to github-app-auth July 29, 2026 20:08 — with GitHub Actions Inactive
@github-actions github-actions Bot changed the title Remove indices in FHA sample names Python: Remove indices in FHA sample names Jul 29, 2026
@agent-framework-automation agent-framework-automation Bot added the documentation Usage: [Issues, PRs], Target: documentation in the code base and learn docs label Jul 29, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR renames the Python Foundry Hosted Agents (FHA) samples to remove numeric prefixes from directory names, and updates the corresponding documentation and sample assets so the set can evolve without reindexing.

Changes:

  • Renamed FHA sample directories (e.g., responses/01_basicresponses/basic, invocations/01_basicinvocations/basic) and updated cross-links accordingly.
  • Added/updated per-sample READMEs, manifests, Dockerfiles, and entrypoints under the new names.
  • Updated the FHA top-level README sample table to point at the new paths.

Reviewed changes

Copilot reviewed 4 out of 138 changed files in this pull request and generated no comments.

Show a summary per file
File Description
python/samples/04-hosting/foundry-hosted-agents/responses/workflows/requirements.txt Dependencies for the renamed workflows sample.
python/samples/04-hosting/foundry-hosted-agents/responses/workflows/README.md Workflows sample documentation under the new path.
python/samples/04-hosting/foundry-hosted-agents/responses/workflows/main.py Workflows sample host entrypoint.
python/samples/04-hosting/foundry-hosted-agents/responses/workflows/Dockerfile Container build for workflows sample.
python/samples/04-hosting/foundry-hosted-agents/responses/workflows/agent.yaml Agent configuration for workflows sample.
python/samples/04-hosting/foundry-hosted-agents/responses/workflows/agent.manifest.yaml Agent manifest/template for workflows sample.
python/samples/04-hosting/foundry-hosted-agents/responses/workflows/.env.example Local env template for workflows sample.
python/samples/04-hosting/foundry-hosted-agents/responses/workflows/.dockerignore Docker build context exclusions for workflows sample.
python/samples/04-hosting/foundry-hosted-agents/responses/tools/requirements.txt Dependencies for the renamed tools sample.
python/samples/04-hosting/foundry-hosted-agents/responses/tools/README.md Tools sample documentation under the new path.
python/samples/04-hosting/foundry-hosted-agents/responses/tools/main.py Tools sample host entrypoint.
python/samples/04-hosting/foundry-hosted-agents/responses/tools/Dockerfile Container build for tools sample.
python/samples/04-hosting/foundry-hosted-agents/responses/tools/agent.yaml Agent configuration for tools sample.
python/samples/04-hosting/foundry-hosted-agents/responses/tools/agent.manifest.yaml Agent manifest/template for tools sample.
python/samples/04-hosting/foundry-hosted-agents/responses/tools/.env.example Local env template for tools sample.
python/samples/04-hosting/foundry-hosted-agents/responses/tools/.dockerignore Docker build context exclusions for tools sample.
python/samples/04-hosting/foundry-hosted-agents/responses/observability/requirements.txt Dependencies for the renamed observability sample.
python/samples/04-hosting/foundry-hosted-agents/responses/observability/README.md Observability sample documentation under the new path.
python/samples/04-hosting/foundry-hosted-agents/responses/observability/main.py Observability sample host entrypoint.
python/samples/04-hosting/foundry-hosted-agents/responses/observability/Dockerfile Container build for observability sample.
python/samples/04-hosting/foundry-hosted-agents/responses/observability/agent.yaml Agent configuration for observability sample.
python/samples/04-hosting/foundry-hosted-agents/responses/observability/agent.manifest.yaml Agent manifest/template for observability sample.
python/samples/04-hosting/foundry-hosted-agents/responses/observability/.env.example Local env template for observability sample.
python/samples/04-hosting/foundry-hosted-agents/responses/observability/.dockerignore Docker build context exclusions for observability sample.
python/samples/04-hosting/foundry-hosted-agents/responses/monty_codeact/README.md Monty CodeAct sample documentation under the new path.
python/samples/04-hosting/foundry-hosted-agents/responses/monty_codeact/pyproject.toml Monty CodeAct sample packaging/deps (uv-based).
python/samples/04-hosting/foundry-hosted-agents/responses/monty_codeact/main.py Monty CodeAct sample host entrypoint.
python/samples/04-hosting/foundry-hosted-agents/responses/monty_codeact/Dockerfile Container build for Monty CodeAct sample.
python/samples/04-hosting/foundry-hosted-agents/responses/monty_codeact/agent.yaml Agent configuration for Monty CodeAct sample.
python/samples/04-hosting/foundry-hosted-agents/responses/monty_codeact/agent.manifest.yaml Agent manifest/template for Monty CodeAct sample.
python/samples/04-hosting/foundry-hosted-agents/responses/mcp/requirements.txt Dependencies for the renamed MCP sample.
python/samples/04-hosting/foundry-hosted-agents/responses/mcp/README.md MCP sample documentation under the new path.
python/samples/04-hosting/foundry-hosted-agents/responses/mcp/main.py MCP sample host entrypoint.
python/samples/04-hosting/foundry-hosted-agents/responses/mcp/Dockerfile Container build for MCP sample.
python/samples/04-hosting/foundry-hosted-agents/responses/mcp/agent.yaml Agent configuration for MCP sample.
python/samples/04-hosting/foundry-hosted-agents/responses/mcp/agent.manifest.yaml Agent manifest/template for MCP sample.
python/samples/04-hosting/foundry-hosted-agents/responses/mcp/.env.example Local env template for MCP sample.
python/samples/04-hosting/foundry-hosted-agents/responses/mcp/.dockerignore Docker build context exclusions for MCP sample.
python/samples/04-hosting/foundry-hosted-agents/responses/foundry_toolbox/toolbox.yaml Toolbox definition used by the toolbox sample.
python/samples/04-hosting/foundry-hosted-agents/responses/foundry_toolbox/scripts/list-foundry-connectors.sh Bash helper for listing connectors.
python/samples/04-hosting/foundry-hosted-agents/responses/foundry_toolbox/scripts/list-foundry-connectors.ps1 PowerShell helper for listing connectors.
python/samples/04-hosting/foundry-hosted-agents/responses/foundry_toolbox/requirements.txt Dependencies for Foundry toolbox sample.
python/samples/04-hosting/foundry-hosted-agents/responses/foundry_toolbox/README.md Foundry toolbox sample docs + updated relative links.
python/samples/04-hosting/foundry-hosted-agents/responses/foundry_toolbox/main.py Foundry toolbox sample host entrypoint.
python/samples/04-hosting/foundry-hosted-agents/responses/foundry_toolbox/Dockerfile Container build for Foundry toolbox sample.
python/samples/04-hosting/foundry-hosted-agents/responses/foundry_toolbox/agent.yaml Agent configuration for Foundry toolbox sample.
python/samples/04-hosting/foundry-hosted-agents/responses/foundry_toolbox/agent.manifest.yaml Agent manifest/template for Foundry toolbox sample.
python/samples/04-hosting/foundry-hosted-agents/responses/foundry_toolbox/.env.example Local env template for Foundry toolbox sample.
python/samples/04-hosting/foundry-hosted-agents/responses/foundry_toolbox/.dockerignore Docker build context exclusions for Foundry toolbox sample.
python/samples/04-hosting/foundry-hosted-agents/responses/foundry_toolbox/.azdignore azd scaffolding exclusions for Foundry toolbox sample.
python/samples/04-hosting/foundry-hosted-agents/responses/foundry_toolbox_mcp_skills/toolbox.yaml Toolbox definition for MCP-served skills sample.
python/samples/04-hosting/foundry-hosted-agents/responses/foundry_toolbox_mcp_skills/skills/support-style/SKILL.md Bundled skill content (support style).
python/samples/04-hosting/foundry-hosted-agents/responses/foundry_toolbox_mcp_skills/skills/escalation-policy/SKILL.md Bundled skill content (escalation policy).
python/samples/04-hosting/foundry-hosted-agents/responses/foundry_toolbox_mcp_skills/requirements.txt Dependencies for toolbox MCP skills sample.
python/samples/04-hosting/foundry-hosted-agents/responses/foundry_toolbox_mcp_skills/README.md Toolbox MCP skills sample docs + updated relative links.
python/samples/04-hosting/foundry-hosted-agents/responses/foundry_toolbox_mcp_skills/main.py Toolbox MCP skills sample host entrypoint.
python/samples/04-hosting/foundry-hosted-agents/responses/foundry_toolbox_mcp_skills/Dockerfile Container build for toolbox MCP skills sample.
python/samples/04-hosting/foundry-hosted-agents/responses/foundry_toolbox_mcp_skills/agent.yaml Agent configuration for toolbox MCP skills sample.
python/samples/04-hosting/foundry-hosted-agents/responses/foundry_toolbox_mcp_skills/agent.manifest.yaml Agent manifest/template for toolbox MCP skills sample.
python/samples/04-hosting/foundry-hosted-agents/responses/foundry_toolbox_mcp_skills/.env.example Local env template for toolbox MCP skills sample.
python/samples/04-hosting/foundry-hosted-agents/responses/foundry_toolbox_mcp_skills/.dockerignore Docker build context exclusions for toolbox MCP skills sample.
python/samples/04-hosting/foundry-hosted-agents/responses/foundry_toolbox_mcp_skills/.azdignore azd scaffolding exclusions for toolbox MCP skills sample.
python/samples/04-hosting/foundry-hosted-agents/responses/foundry_skills/skills/support-style/SKILL.md Bundled skills source (support style) for Foundry Skills sample.
python/samples/04-hosting/foundry-hosted-agents/responses/foundry_skills/skills/escalation-policy/SKILL.md Bundled skills source (escalation policy) for Foundry Skills sample.
python/samples/04-hosting/foundry-hosted-agents/responses/foundry_skills/requirements.txt Dependencies for Foundry Skills sample.
python/samples/04-hosting/foundry-hosted-agents/responses/foundry_skills/README.md Foundry Skills sample documentation under the new path.
python/samples/04-hosting/foundry-hosted-agents/responses/foundry_skills/provision_skills.py One-time provisioning script for importing skills.
python/samples/04-hosting/foundry-hosted-agents/responses/foundry_skills/main.py Foundry Skills sample host entrypoint.
python/samples/04-hosting/foundry-hosted-agents/responses/foundry_skills/Dockerfile Container build for Foundry Skills sample.
python/samples/04-hosting/foundry-hosted-agents/responses/foundry_skills/agent.yaml Agent configuration for Foundry Skills sample.
python/samples/04-hosting/foundry-hosted-agents/responses/foundry_skills/agent.manifest.yaml Agent manifest/template for Foundry Skills sample.
python/samples/04-hosting/foundry-hosted-agents/responses/foundry_skills/.gitignore Ignores locally downloaded skill artifacts.
python/samples/04-hosting/foundry-hosted-agents/responses/foundry_skills/.env.example Local env template for Foundry Skills sample.
python/samples/04-hosting/foundry-hosted-agents/responses/foundry_skills/.dockerignore Docker build context exclusions for Foundry Skills sample.
python/samples/04-hosting/foundry-hosted-agents/responses/foundry_memory/requirements.txt Dependencies for Foundry Memory sample.
python/samples/04-hosting/foundry-hosted-agents/responses/foundry_memory/README.md Foundry Memory sample documentation under the new path.
python/samples/04-hosting/foundry-hosted-agents/responses/foundry_memory/provision_memory_store.py One-time provisioning script for the memory store.
python/samples/04-hosting/foundry-hosted-agents/responses/foundry_memory/main.py Foundry Memory sample host entrypoint.
python/samples/04-hosting/foundry-hosted-agents/responses/foundry_memory/Dockerfile Container build for Foundry Memory sample.
python/samples/04-hosting/foundry-hosted-agents/responses/foundry_memory/agent.yaml Agent configuration for Foundry Memory sample.
python/samples/04-hosting/foundry-hosted-agents/responses/foundry_memory/agent.manifest.yaml Agent manifest/template for Foundry Memory sample.
python/samples/04-hosting/foundry-hosted-agents/responses/foundry_memory/.env.example Local env template for Foundry Memory sample.
python/samples/04-hosting/foundry-hosted-agents/responses/foundry_memory/.dockerignore Docker build context exclusions for Foundry Memory sample.
python/samples/04-hosting/foundry-hosted-agents/responses/files/resources/file-upload-portal.png Screenshot asset for the files sample.
python/samples/04-hosting/foundry-hosted-agents/responses/files/resources/contoso_q1_2026_report.txt Sample document content for the files sample.
python/samples/04-hosting/foundry-hosted-agents/responses/files/requirements.txt Dependencies for the files sample.
python/samples/04-hosting/foundry-hosted-agents/responses/files/README.md Files sample docs + updated relative link to toolbox sample.
python/samples/04-hosting/foundry-hosted-agents/responses/files/main.py Files sample host entrypoint.
python/samples/04-hosting/foundry-hosted-agents/responses/files/Dockerfile Container build for files sample.
python/samples/04-hosting/foundry-hosted-agents/responses/files/agent.yaml Agent configuration for files sample.
python/samples/04-hosting/foundry-hosted-agents/responses/files/agent.manifest.yaml Agent manifest/template for files sample.
python/samples/04-hosting/foundry-hosted-agents/responses/files/.env.example Local env template for files sample.
python/samples/04-hosting/foundry-hosted-agents/responses/files/.dockerignore Docker build context exclusions for files sample.
python/samples/04-hosting/foundry-hosted-agents/responses/declarative_customer_support/workflow.yaml Declarative workflow definition under the new path.
python/samples/04-hosting/foundry-hosted-agents/responses/declarative_customer_support/requirements.txt Dependencies for declarative workflow sample.
python/samples/04-hosting/foundry-hosted-agents/responses/declarative_customer_support/README.md Declarative workflow sample docs.
python/samples/04-hosting/foundry-hosted-agents/responses/declarative_customer_support/main.py Declarative workflow sample host entrypoint.
python/samples/04-hosting/foundry-hosted-agents/responses/declarative_customer_support/Dockerfile Container build including .NET runtime dependency.
python/samples/04-hosting/foundry-hosted-agents/responses/declarative_customer_support/agent.yaml Agent configuration for declarative workflow sample.
python/samples/04-hosting/foundry-hosted-agents/responses/declarative_customer_support/agent.manifest.yaml Agent manifest/template for declarative workflow sample.
python/samples/04-hosting/foundry-hosted-agents/responses/declarative_customer_support/.env.example Local env template for declarative workflow sample.
python/samples/04-hosting/foundry-hosted-agents/responses/declarative_customer_support/.dockerignore Docker build context exclusions for declarative workflow sample.
python/samples/04-hosting/foundry-hosted-agents/responses/basic/requirements.txt Dependencies for the renamed basic sample.
python/samples/04-hosting/foundry-hosted-agents/responses/basic/README.md Basic sample documentation under the new path.
python/samples/04-hosting/foundry-hosted-agents/responses/basic/main.py Basic sample host entrypoint.
python/samples/04-hosting/foundry-hosted-agents/responses/basic/Dockerfile Container build for basic sample.
python/samples/04-hosting/foundry-hosted-agents/responses/basic/agent.yaml Agent configuration for basic sample.
python/samples/04-hosting/foundry-hosted-agents/responses/basic/agent.manifest.yaml Agent manifest/template for basic sample.
python/samples/04-hosting/foundry-hosted-agents/responses/basic/.env.example Local env template for basic sample.
python/samples/04-hosting/foundry-hosted-agents/responses/basic/.dockerignore Docker build context exclusions for basic sample.
python/samples/04-hosting/foundry-hosted-agents/responses/azure_search_rag/requirements.txt Dependencies for Azure AI Search RAG sample.
python/samples/04-hosting/foundry-hosted-agents/responses/azure_search_rag/README.md Azure AI Search RAG sample docs.
python/samples/04-hosting/foundry-hosted-agents/responses/azure_search_rag/provision_index.py One-time provisioning script for the search index.
python/samples/04-hosting/foundry-hosted-agents/responses/azure_search_rag/main.py Azure AI Search RAG sample host entrypoint.
python/samples/04-hosting/foundry-hosted-agents/responses/azure_search_rag/Dockerfile Container build for Azure AI Search RAG sample.
python/samples/04-hosting/foundry-hosted-agents/responses/azure_search_rag/agent.yaml Agent configuration for Azure AI Search RAG sample.
python/samples/04-hosting/foundry-hosted-agents/responses/azure_search_rag/agent.manifest.yaml Agent manifest/template for Azure AI Search RAG sample.
python/samples/04-hosting/foundry-hosted-agents/responses/azure_search_rag/.env.example Local env template for Azure AI Search RAG sample.
python/samples/04-hosting/foundry-hosted-agents/responses/azure_search_rag/.dockerignore Docker build context exclusions for Azure AI Search RAG sample.
python/samples/04-hosting/foundry-hosted-agents/README.md Updates sample table links to non-indexed sample paths.
python/samples/04-hosting/foundry-hosted-agents/invocations/break_glass/requirements.txt Dependencies for invocations “break glass” sample.
python/samples/04-hosting/foundry-hosted-agents/invocations/break_glass/README.md Invocations “break glass” sample documentation under new path.
python/samples/04-hosting/foundry-hosted-agents/invocations/break_glass/main.py Invocations “break glass” sample host entrypoint.
python/samples/04-hosting/foundry-hosted-agents/invocations/break_glass/Dockerfile Container build for invocations “break glass” sample.
python/samples/04-hosting/foundry-hosted-agents/invocations/break_glass/agent.yaml Agent configuration for invocations “break glass” sample.
python/samples/04-hosting/foundry-hosted-agents/invocations/break_glass/agent.manifest.yaml Agent manifest/template for invocations “break glass” sample.
python/samples/04-hosting/foundry-hosted-agents/invocations/break_glass/.env.example Local env template for invocations “break glass” sample.
python/samples/04-hosting/foundry-hosted-agents/invocations/break_glass/.dockerignore Docker build context exclusions for invocations “break glass” sample.
python/samples/04-hosting/foundry-hosted-agents/invocations/basic/requirements.txt Dependencies for invocations basic sample under new name.
python/samples/04-hosting/foundry-hosted-agents/invocations/basic/README.md Invocations basic sample docs under new path.
python/samples/04-hosting/foundry-hosted-agents/invocations/basic/main.py Invocations basic sample host entrypoint.
python/samples/04-hosting/foundry-hosted-agents/invocations/basic/Dockerfile Container build for invocations basic sample.
python/samples/04-hosting/foundry-hosted-agents/invocations/basic/agent.yaml Agent configuration for invocations basic sample.
python/samples/04-hosting/foundry-hosted-agents/invocations/basic/agent.manifest.yaml Agent manifest/template for invocations basic sample.
python/samples/04-hosting/foundry-hosted-agents/invocations/basic/.env.example Local env template for invocations basic sample.
python/samples/04-hosting/foundry-hosted-agents/invocations/basic/.dockerignore Docker build context exclusions for invocations basic sample.

@TaoChenOSU
TaoChenOSU marked this pull request as ready for review July 29, 2026 20:15
@TaoChenOSU
TaoChenOSU temporarily deployed to github-app-auth July 29, 2026 20:15 — with GitHub Actions Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Usage: [Issues, PRs], Target: documentation in the code base and learn docs foundry Usage: [Issues, PRs], Target: all Foundry integrations hosting Usage: [Issues, PRs], Target: all hosting related solutions python Usage: [Issues, PRs], Target: Python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Python: Rename FHA samples to remove numbering

2 participants