GitHub conceptsGH-600: Developing in Agentic AI Systems (GitHub Certified: Agentic AI Developer)AI guardrails
GH-600 implement guardrails and accountability, explained
What GH-600 asks about agent guardrails: scoped access, human approval gates, pull request review and audit records.
3 min read
A quiz question shows an agent that just opened a pull request, and every option sounds responsible. An agent can decide on intermediate steps, use tools and take action inside a workflow. So GitHub adds brakes: by default, the cloud agent has a firewall to prevent exfiltration of code.
01 What does GH-600 test about guardrails and accountability?
It tests two habits: limit what an agent can do, and keep a human answerable for its changes. Accountability is one of the six responsible AI principles GitHub adheres to.
Picture it: the agent proposes changes on a branch and opens a pull request.
What this domain asks you to show
- GuardrailsOnly the tools and permissions the task needs.
- Human approvalWhere a write-access user must approve.
- AccountabilityHooks that add audit logging to tool calls.
How this domain sits among the exam's domains
The whole exam
- 1Prepare agent architecture and SDLC processes15–20%
- 2Implement tool use and environment interaction20–25%
- 3Manage memory, state, and execution10–15%
- 4Perform evaluation, error analysis, and tuning15–20%
- 5Orchestrate multi-agent coordination15–20%
- 6Implement guardrails and accountability10–15%
Save the 'How this domain sits among the exam's domains' graphic as a PNG image PNG for LinkedIn or Pinterest
In GitHub's pull request model, an agent's change waits for review before the merge.
02 How do you limit what an agent can touch?
By default, Copilot CLI's file access is scoped to the directory where it was started. Each SDK session should get only the tools and permissions its task requires.
That matters for untrusted input: for an event-triggered automation, you choose exactly which tools it may use.
Pick narrow scoping over broad access.
03 Where does a human have to approve?
So find the gates. By default, workflows do not run on the cloud agent's code until a write-access user clicks Approve and run workflows. The agent's pull request then waits for review before the merge.
From agent change to merge
- Agent changes a branch
- Agent opens a pull request
- Human approves runs
- Human reviews and merges
Copilot code review should supplement human reviews, not replace them.
04 How do you prove what an agent did?
Accountability needs a record. SDK hooks such as onPreToolUse add safety checks and audit logging around tool calls. The audit log records the action, when it ran, and which account performed it.
MockCert's free quizzes explain each answer at once and track your readiness by domain. MockCert is independent and not affiliated with GitHub.
The audit log tells you who did what, and when.
Summary
- Scope each agent to the tools its task needs.
- By default, agent workflows wait for a write-access user to approve them.
Sources
- Define agentic AI in the SDLC - Training | Microsoft Learn (opens in a new tab)
- Application card: GitHub Copilot Agents - GitHub Docs (opens in a new tab)
- Risks and mitigations for GitHub Copilot cloud agent - GitHub Docs (opens in a new tab)
- Secure use reference - GitHub Docs (opens in a new tab)
- MockCert: free study guides, quizzes and mock exams