Integrate agents into the software development lifecycle
Unlock the complete study guide.
Bundled into the existing Developing in Agentic AI Systems premium course — no separate purchase.
14-day money-back guarantee — no questions asked.
Included in this chapter:
- What this objective covers, and where its neighbours begin
- The contract: the mental model this page uses
- Triage before delegation: which work an agent should be given
- Local or cloud: placing work you have decided to delegate
- Working interactively: test-driven development and bulk migrations
- Custom agents for a recurring specialist role
- The assigned issue is a prompt: problem, criteria, scope, and evidence
- Preparing the repository so the agent can build, test, and validate
- Iterating on the agent's pull request
- When and how reviewers see the agent's approach
- Giving each agent workflow job the context it needs
- Reading an exam scenario: cues, boundaries, and the tempting wrong answer
Who owns each candidate task by default, and the property that decides it
| Candidate task | Default owner | The deciding property | What would move it |
|---|---|---|---|
| Fix a failing accessibility check on a settings page | Copilot cloud agent | Bounded, verifiable, and little can break if it goes wrong (a low blast radius): the class GitHub names for early delegation | The fix reaching into authentication or production-critical code, or no longer being small and easy to verify |
| Align a shared domain model across four repositories | Developer-led | Broad change needing design consistency and context that spans repositories | Splitting it into per-repository issues after the interfaces are agreed |
| Change how session tokens are validated in auth middleware | Developer-led | Authentication repercussions and production criticality, independent of difficulty | Nothing about agent capability; the impact decides, not the size of the diff |
| "Make onboarding better" | Neither, yet | Open-ended requirement with no agreed outcome and no acceptance criteria | Turning it into a defined change with complete acceptance criteria first |
| Refresh three README sections while you debug a race condition locally | Copilot cloud agent | Delegation is settled by the properties above; placement is the later decision, and it sends this one to the cloud with /delegate because the task is tangential to the local session and touches separate files | The task needing the same files the local session is editing |
| Fix the backoff bug in the retry layer you are trying to understand | Developer-led | Hands-on understanding is the point of the task | The learning goal no longer applying to this change |
Decision tree
Cheat sheet
Unlock with Premium — includes all practice exams and the complete study guide.