agentleFS
MicrosoftKnown publishermicrosoft-foundry/foundry-samples/samples/python/hosted-agents/bring-your-own/voicelive/github-copilot-responses-voicelive/AGENTS.md

foundry-samples / github-copilot-responses-voicelive

AGENTS.md454 starsChanged 3 months agoMITView on GitHub

This sample is a Microsoft Foundry hosted agent. It uses the GitHub Copilot SDK with the Responses protocol and a Foundry BYOK model to provide streamed, voice-friendly output for VoiceLive scenarios. It runs in Foundry Agent Service, which manages hosting, security, scaling, and observability. - Direct code deployment: codeConfiguration declares the Python runtime and entry point. A Dockerfile is not required. - azure.yaml - azd manifest for the Foundry project, model deployment, hosted agent, environment variables, and deployment mode -…

The file

We split this AGENTS.md into the rules it gives an agent

3 rules. About 0 are common, 0 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Do not commit .vscode launch or task files generated by the Foundry Toolkit.

    line 25
  2. Very specific:

    Run the dependency-policy checker with --resolve before completing dependency changes.

    line 38
  3. Very specific:

    Use the standard logging module for hosted diagnostics.

    line 43

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

Coding Agent Instructions - GitHub Copilot Responses VoiceLive

This sample is a Microsoft Foundry hosted agent. It uses the GitHub Copilot SDK with the Responses protocol and a Foundry BYOK model to provide streamed, voice-friendly output for VoiceLive scenarios. It runs in Foundry Agent Service, which manages hosting, security, scaling, and observability.

Deployment mode

  • Direct code deployment: codeConfiguration declares the Python runtime and entry point. A Dockerfile is not required.

Key files

  • azure.yaml - azd manifest for the Foundry project, model deployment, hosted agent, environment variables, and deployment mode
  • src/github-copilot-responses-voicelive/main.py - Copilot SDK integration and Responses protocol streaming handler
  • src/github-copilot-responses-voicelive/requirements.txt - portable, fully resolved Python runtime dependencies
  • README.md - prerequisites and supported local run, VoiceLive, test, and deployment paths

Do not commit .vscode launch or task files generated by the Foundry Toolkit.

Dependency workflow

Follow samples/python/hosted-agents/DEPENDENCY_POLICY.md.

requirements.txt must pin the complete direct and transitive runtime graph. Regenerate it from requirements.in with:

pip-compile --no-annotate --output-file=requirements.txt requirements.in

Run the dependency-policy checker with --resolve before completing dependency changes.

Runtime logging

Use the standard logging module for hosted diagnostics. E2E log assertions must target deliberate sample-owned events rather than framework wording.

Development workflow

azd provision
azd ai agent run
azd ai agent invoke --local "What is two plus two?"
azd deploy
azd ai agent invoke "What is two plus two?"
azd down

Microsoft Foundry Skill

Install the Microsoft Foundry Skill for guided deployment and troubleshooting:

npx skills add https://github.com/microsoft/azure-skills --skill microsoft-foundry

References

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.