{
  "slug": "azd-automatically-enables-no-prompt-mode-for-detected-coding-agents-6f0fc4a27b23",
  "title": "azd automatically enables no-prompt mode for detected coding agents",
  "tools": [
    "azd"
  ],
  "tags": [
    "agent"
  ],
  "introduced_at": "2026-01-30T21:04:39.000Z",
  "announced_at": "2026-01-30T21:04:39.000Z",
  "effective_at": null,
  "date_basis": "source-publication",
  "status": "unknown",
  "how": {
    "incantation": "When `azd` detects an AI-agent environment, it enables no-prompt mode automatically. Run the `azd` command you need; pass `--no-prompt` to request no-prompt mode explicitly.",
    "examples": [
      "azd <command> [args...]",
      "azd <command> [args...] --no-prompt"
    ],
    "gotchas": [
      "Version: 1.23.3",
      "--no-prompt: Runs without prompts, using existing values; fails if a required value or decision cannot be resolved automatically.",
      "Detection covers 15+ AI agents, including Claude Code, GitHub Copilot, Cursor, Windsurf, Gemini CLI, Amazon Q, and Aider.",
      "Detection uses environment variables, `AZURE_DEV_USER_AGENT` parsing, and parent process tree walking.",
      "Cross-platform support is stated for Windows, Linux, and macOS.",
      "Docs conflict: The current reference documents `AZD_NON_INTERACTIVE=false` to opt out of automatic no-prompt enablement. The card says to use `--no-prompt=false`; the current documentation does not confirm that override syntax."
    ]
  },
  "why_it_matters": "When running azd from a supported AI coding agent, automate azd commands without interactive prompts.",
  "sources": [
    "https://github.com/Azure/azure-dev/releases/tag/azure-dev-cli_1.23.3",
    "https://github.com/Azure/azure-dev/pull/6633",
    "https://learn.microsoft.com/en-us/azure/developer/azure-developer-cli/reference"
  ],
  "rank": 0.95057,
  "judge": {
    "publish": true,
    "judge_model": "codex-cli/gpt-6-luna+typesafe/jev-1.13.0",
    "prompt_version": "extract-v7+enrich-v2+judge-v2x3+jev-publish-v1"
  },
  "review_state": "approved",
  "provenance": {
    "run_id": "wave2a-20261017",
    "verdict_id": "wave2a-20261017:wave2a-20261017-b6c76aed56944133-0:gate",
    "evidence_hash": "21a6105e4ec39234f114d8419b24fcb5cf2506bc14445e9b89555f3ab3ac6c63"
  },
  "review": {
    "draft_hash": "49aef8d052780fea4e50e50caf02c6ce8bea6eb352933b3bd1df15362e366b07",
    "reviewer": "publication-gate",
    "reviewed_at": "2026-10-07T00:00:00.000Z",
    "decision": "wave2a-20261017:gate",
    "reason": "3 of 3 judge runs approved with p_yes >= 0.9 (mean 0.95 >= 0.9; 2 needed) and Jev gave 0.65 (>= 0.6 needed)."
  }
}
