---
title: "The Interaction Changes Everything: Treating AI Agents as Collaborators, Not Automation"
description: "Microsoft's Entra SDK v1-to-v2 migration across hundreds of repositories succeeded with an AI coding agent only after the team replaced step-by-step checklists with prompts that give the agent a role, mission and permission to use judgment."
url: "https://swe.quest/articles/the-interaction-changes-everything-treating-ai-agents-as-collaborators-not-e493683d4eddf19c"
canonical: "https://devblogs.microsoft.com/engineering-at-microsoft/the-interaction-changes-everything-treating-ai-agents-as-collaborators-not-automation/"
source: "Engineering@Microsoft"
published: "2025-12-03"
difficulty: "medium"
kind: "How-to"
reading_minutes: 9
tags: ["ai-agents","ai-coding","llms","refactoring"]
---

# The Interaction Changes Everything: Treating AI Agents as Collaborators, Not Automation

A post on [Engineering@Microsoft](https://swe.quest/sources/ms-engineering.md), published 2025-12-03, 9 min read, How-to. Original: [https://devblogs.microsoft.com/engineering-at-microsoft/the-interaction-changes-everything-treating-ai-agents-as-collaborators-not-automation/](https://devblogs.microsoft.com/engineering-at-microsoft/the-interaction-changes-everything-treating-ai-agents-as-collaborators-not-automation/)

## Summary

Microsoft's Entra SDK v1-to-v2 migration across hundreds of repositories succeeded with an AI coding agent only after the team replaced step-by-step checklists with prompts that give the agent a role, mission and permission to use judgment. The result was 80–90% accuracy, with each repository done in under 2 hours instead of 4–6 weeks. The shared eight-part prompt template covers identity and mission, purpose, prioritized goals, steps with examples and escalation triggers, never/always security boundaries, self-validation and PR documentation, an explicit escalation process (including stopping after the same error twice), and a closing of recognition. Reported effects include more escalation instead of guessing, better PR descriptions, more graceful failures, and reuse of the template for security analysis, code review and documentation.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [AI agents](https://swe.quest/tags/ai-agents.md) (AI & ML)
- [AI for coding](https://swe.quest/tags/ai-coding.md) (AI & ML)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [Refactoring & migrations](https://swe.quest/tags/refactoring.md) (Engineering practices)

## Prerequisites

- LLM prompting basics ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))
- AI coding agents ([easy posts on AI for coding](https://swe.quest/tags/ai-coding.md?difficulty=easy))

## Keywords

GitHub Copilot, Copilot Coding Agent, Entra SDK, Microsoft Ignite

## Related posts

- [Agent-driven development in Copilot Applied Science](https://swe.quest/articles/agent-driven-development-in-copilot-applied-science-57df9b7433878456.md): GitHub Engineering · 2026-03-31 · Medium · 9 min read · AI for coding, AI agents, Developer productivity, Evaluation, Testing
  A Copilot Applied Science researcher built eval-agents, a set of Copilot SDK-based agents that automate analysis of coding-agent trajectories from benchmarks like TerminalBench2 and SWEBench-Pro, and developed it primarily through coding agents.
- [Accelerating Delivery: How AI Agents Can Own the Initial Code Draft](https://swe.quest/articles/accelerating-delivery-how-ai-agents-can-own-the-initial-code-draft-da9fd13a9d30a074.md): 8th Light · 2026-05-05 · Easy · 6 min read · AI agents, AI for coding, Developer productivity
  A multi-agent workflow turns a Jira ticket prompt like "Let's work on FEAT-123" into a review-ready pull request.
- [Continuous AI for accessibility: How GitHub transforms feedback into inclusion](https://swe.quest/articles/continuous-ai-for-accessibility-how-github-transforms-feedback-into-inclusion-c36ff177f3a2d142.md): GitHub Engineering · 2026-03-12 · Medium · 14 min read · Accessibility, AI agents, LLMs, CI/CD
  GitHub built an event-driven accessibility feedback pipeline on GitHub Actions, Copilot and the GitHub Models API that turns every user report into a tracked, prioritized issue.
- [Four minutes after midnight, Codex said the page was live](https://swe.quest/articles/four-minutes-after-midnight-codex-said-the-page-was-live-25ae19da11733480.md): Render · 2026-08-16 · Medium · 9 min read · AI for coding, AI agents, Code review, Developer productivity
  OpenAI's Dominik Kundel argues that with agentic delegation, code is no longer the bottleneck.
- [Automating cross-repo documentation with GitHub Agentic Workflows](https://swe.quest/articles/automating-cross-repo-documentation-with-github-agentic-workflows-e38fd8e813d70616.md): GitHub Engineering · 2026-07-08 · Medium · 9 min read · AI agents, Documentation, CI/CD, Supply chain security, Developer productivity
  Aspire's team uses GitHub Agentic Workflows to auto-draft documentation pull requests in a separate docs repo whenever a product pull request merges, with the shipping engineer assigned as reviewer.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
