{
  "schema": "aibast-deployment-recipe/1.0",
  "name": "@aibast-agents-library/procurement-supplier-collaboration",
  "display_name": "Procurement and Supplier Collaboration Agent",
  "registry_url": "https://raw.githubusercontent.com/microsoft/aibast-agents-library/main/registry.json",
  "source_url": "https://raw.githubusercontent.com/microsoft/aibast-agents-library/main/agents/@aibast-agents-library/energy_stacks/procurement_supplier_collaboration_stack/procurement_supplier_collaboration_agent.py",
  "source_path": "agents/@aibast-agents-library/energy_stacks/procurement_supplier_collaboration_stack/procurement_supplier_collaboration_agent.py",
  "target_filename": "procurement_supplier_collaboration_agent.py",
  "expected_tool": "ProcurementSupplierCollaborationAgent",
  "brainstem": {
    "health_url": "http://localhost:7071/health",
    "chat_url": "http://localhost:7071/chat",
    "ui_url": "http://localhost:7071",
    "installers": {
      "macos_linux": "https://microsoft.github.io/aibast-agents-library/install.sh",
      "windows_powershell": "https://microsoft.github.io/aibast-agents-library/install.ps1",
      "windows_cmd": "https://microsoft.github.io/aibast-agents-library/install.cmd"
    },
    "default_source_dir": "~/.brainstem/src/rapp_brainstem",
    "default_agents_dir": "~/.brainstem/src/rapp_brainstem/agents",
    "policy_clean_launcher_dir": "~/.copilot/bin"
  },
  "smoke_test": {
    "prompt": "What requisitions are waiting, how should we buy each one, and who should we invite for the transformer order?",
    "arguments": {
      "operation": "sourcing_plan"
    },
    "must_call": "ProcurementSupplierCollaborationAgent",
    "must_include": [
      "Sourcing Plan",
      "REQ-7712"
    ]
  },
  "copilot_studio": {
    "plugin": "mcs-assistant@copilot-studio-plugin",
    "minimum_pac_version": "2.9.3",
    "authoring_mode": "cli-copilot",
    "status": "source-package-ready-not-deployed",
    "operations": [
      "sourcing_plan",
      "supplier_query",
      "bid_evaluation",
      "delivery_tracking",
      "invoice_match"
    ],
    "manual_global_instructions": "manual/GLOBAL-INSTRUCTIONS.md",
    "manual_knowledge_files": [
      "manual/knowledge/aibast_procurement-supplier-collaboration-synthetic-records.md",
      "manual/knowledge/aibast_procurement-supplier-collaboration-rules-and-guardrails.md"
    ],
    "manual_skill_count": 5,
    "required_connections": [
      "Microsoft Dataverse tables filled by Power Automate from the ERP: requisitions, frameworks, purchase orders, goods receipts and invoices (read-only)",
      "Power Apps supplier portal for RFQs, bids, clarifications, acknowledgements and advance shipping notices, with authenticated supplier access",
      "ERP finance module for payment approval, used only by accounts payable after the three-way match",
      "Microsoft Entra ID user identity for buyers, category managers and accounts payable approvers"
    ],
    "publish_requires_confirmation": true,
    "validated_manual": {
      "display_name": "Procurement and Manual",
      "bot_id": "a65d5086-a9fc-4c82-816a-664750ebe7eb",
      "environment_name": "kodyv8",
      "environment_id": "ee67a404-325c-e726-a18a-886fe708ca0b",
      "skills": 5,
      "knowledge_files": 2
    },
    "validated_pilot": {
      "display_name": "Procurement and Supplier",
      "bot_id": "57f6ace4-a600-4da6-bc07-f476a3c55e4e",
      "schema_name": "aibast_ProcurementandSupplier",
      "environment_name": "kodyv8",
      "environment_id": "ee67a404-325c-e726-a18a-886fe708ca0b",
      "published": true
    },
    "export_agent": {
      "display_name": "Procurement and Manual",
      "schema_name": "cr2bf_procurementandmanual_o9rQuM",
      "solution_unique_name": "aibast_ProcurementAndManualBuild",
      "bot_id": "a65d5086-a9fc-4c82-816a-664750ebe7eb",
      "environment_name": "kodyv8",
      "environment_id": "ee67a404-325c-e726-a18a-886fe708ca0b",
      "status": "Draft",
      "published": false,
      "packaging": "pac copilot pack"
    }
  },
  "demo_scenarios": [
    "procurement-supplier-collaboration-sourcing-plan",
    "procurement-supplier-collaboration-supplier-query",
    "procurement-supplier-collaboration-bid-evaluation",
    "procurement-supplier-collaboration-delivery-tracking",
    "procurement-supplier-collaboration-invoice-match"
  ],
  "write_controls": {
    "authenticated_tools_required": true,
    "explicit_human_approval_required": true,
    "authorization_check_required": true,
    "audit_log_required": true,
    "local_demo_performs_writes": false
  }
}
