MSBA-370 · Lesson 1 of 12 · 18 min
What an agent is
▶ Video coming soon A video version of this lesson is on the way.
Malik Osei had used GitHub Copilot for most of a year before he started to wonder what, exactly, was happening when he typed "fix the failing test" into agent mode and walked away to make tea. When he came back the test passed, two files had changed, and a terminal he had not touched showed four runs of the test command. Something had made decisions while he was gone. He wanted to understand those decisions well enough to trust them, to limit them and to explain them to anyone who asked.
That curiosity, and the arrival of a new GitHub certification for exactly this kind of work, started the Thursday "agent design" sessions at Tidewater Trail Guides in Moncton. Priya Nair, who leads Tidewater's small engineering team and ran the Git lunches and Copilot sessions in earlier courses, agreed to run them. The regulars were Malik, who maintains the volunteer-built trail-report tools; Dmitri Kovac, who wrote the trail-units action; and Lena Fischer, who had just finished the Actions clinic. Seraphine Kowalik-Duarte, an application security engineer at Skerry Outdoor Group, the retailer that sponsors Tidewater's TrailCheck app, joined some sessions to show how a large enterprise handles the same questions.
This course covers the first half of the GH-600 outline: what agents are, how they fit into the software lifecycle, how they are built from models, tools and loops, how they use tools and the Model Context Protocol, how they interact with repositories and environments, how they are sandboxed, how GitHub's own cloud agent works, how custom agents and instructions shape them, which tasks suit them, and what they cost. MSBA-371 covers memory, evaluation, multi-agent orchestration and guardrails, and MSBA-379 prepares for the exam itself.
The GH-600 certification
GitHub Certified: Agentic AI Developer is an intermediate certification earned by passing Exam GH-600: Developing in Agentic AI Systems. Microsoft Learn describes the candidate as someone who operates agent workflows inside the software development lifecycle, supervises autonomous behaviour with GitHub controls, evaluates and tunes agent output using scans and artifacts, configures custom agents and coordinates several agents safely. The recommended experience includes software lifecycle practice, GitHub workflows and controls, code quality and review, coding agents including GitHub Copilot, MCP servers, and agent customization through custom instructions, custom agents, tools and Copilot setup steps.
The exam lasts 120 minutes, is proctored, is offered in English, is scheduled through Pearson VUE and has a passing score of 700. Its study guide on Microsoft Learn divides the skills into six domains.
| GH-600 domain | Weight | Where this program covers it |
|---|---|---|
| Prepare agent architecture and SDLC processes | 15 to 20 percent | Lessons 1 to 3 and 10 of this course |
| Implement tool use and environment interaction | 20 to 25 percent | Lessons 4 to 9 of this course |
| Manage memory, state and execution | 10 to 15 percent | MSBA-371 |
| Perform evaluation, error analysis and tuning | 15 to 20 percent | Lesson 12 of this course and MSBA-371 |
| Orchestrate multi-agent coordination | 15 to 20 percent | MSBA-371 |
| Implement guardrails and accountability | 10 to 15 percent | Lesson 7 of this course and MSBA-371 |
From completion to agent
The tools Tidewater had used so far sit on a scale of how much the software decides on its own. Code completion predicts the next few lines from the code around the cursor; you accept or ignore each suggestion. Chat answers a question or proposes a change; you decide whether to apply it. An agent is given a goal and decides for itself what to do next: which files to read, which commands to run, which changes to make, and when it has finished. The shift is not in the model, which may be the same in all three, but in who controls the sequence of actions.
A useful working definition, close to the one GitHub and most of the industry use, is this: an agent is a system in which a language model repeatedly chooses actions, carries them out through tools, observes the results and decides what to do next, until a goal is met or it needs a person. Three ideas are packed into that sentence. There is a goal that someone else set. There is a loop of decide, act and observe. And there are tools, which are the agent's only way to affect anything outside its own reply.
What an agent is not
Priya spent part of the first session on what agents are not, because most of the mistakes she had seen came from imagining more than was there. An agent is not a colleague with intentions; it has no stake in the outcome and no memory of last week unless something stores it. It is not a program that follows fixed steps; the same task can take a different path each time. It is not a source of truth; it produces plausible actions from patterns, and plausible is not the same as correct. And it is not responsible for anything. The person who assigned the task, reviewed the result and merged it is responsible, which is why every later lesson pairs agent capabilities with the human controls around them.
Worked problem
Spotting the agent
Dmitri listed four things that had happened in Tidewater's repositories that week and asked which involved an agent: (1) ghost text suggested the rest of a function in his editor; (2) Copilot Chat explained a regular expression; (3) agent mode ran the test command three times and edited two files to fix a failing test; (4) a pull request appeared from Copilot after Lena assigned it an issue.
Show solution
- Item 1 is completion: Dmitri decided whether to accept each suggestion.
- Item 2 is chat: it answered a question and took no action.
- Item 3 is an agent: the model chose to run tests, read the failure and change files in a loop.
- Item 4 is an agent too, running in the cloud rather than in the editor, and returning its work as a pull request.
The parts of every agent
Whatever product name is on the box, every coding agent has the same parts, and the rest of this course examines each one. The model reads the goal and the context and produces the next decision. The instructions tell it how to behave: system instructions set by the product, plus repository and organization instructions that the team writes. The tools are the actions it may take, such as reading a file, searching code, running a command or calling an API through an MCP server. The environment is where those tools run: a developer's machine, a container in the cloud, a CI runner. The controller, sometimes called the harness or the agent loop, is the ordinary software that sends the prompt to the model, runs the tool calls it asks for, enforces limits and decides when to stop. Finally, there is a human interface: the place where a person assigns the work, watches progress, approves risky steps and reviews the result.
That last distinction matters for design. Only the model is probabilistic. The controller, the tools, the permissions and the review process are deterministic software and settings, which means they can be tested, audited and relied on. Good agent design puts the things that must always be true, such as "never push to the default branch" or "never read production secrets", into the deterministic parts, and leaves the model to make the choices where variety is acceptable.
Agents at GitHub in 2026
GitHub offers several agent experiences, and the GH-600 outline assumes candidates know where each one runs. Agent mode in editors such as Visual Studio Code works in the developer's own workspace and asks before running risky commands. Copilot CLI, generally available since early 2026, brings the same loop to the terminal. The Copilot cloud agent, which GitHub called the Copilot coding agent until it was renamed in 2026, works in a cloud environment powered by GitHub Actions and returns its work as a branch or a pull request. Custom agents let a team define specialized agents with their own instructions and tools. Enterprises can also allow third-party coding agents to work through the same assignment and review surfaces, and GitHub's enterprise AI controls, generally available since February 2026, give administrators one place to govern and audit all of them.
| Experience | Where it runs | Typical control |
|---|---|---|
| Agent mode in the editor | The developer's machine and workspace | Approve commands; review and keep or undo edits |
| Copilot CLI | The developer's terminal | Approve commands and file changes; allow lists of tools |
| Copilot cloud agent | A cloud environment powered by GitHub Actions | Branch and pull request rules; human review and merge |
| Custom agents | Any of the above | Their own instructions and tool lists |
Malik's first homework was to write down, for one task he had given agent mode, which of the six parts had been involved and which decisions each had made. He found that the model had chosen the order of the work, the controller had enforced a limit on how long the terminal could run, the editor had asked him before a command that deleted a cache folder, and his repository's instructions file had told the agent which test command to use. He had approved the deletion without reading it. That was the first thing he changed.
Words that get used loosely
Malik kept a short glossary at the front of his study notes, because the same words meant different things in different articles. An agent in this course is software that pursues a goal by deciding its own next steps and using tools. An assistant is a broader word that vendors use for almost any AI feature, including ones that only answer questions. An agentic workflow usually means a fixed sequence of steps, some of which call a model, which lesson 3 distinguishes from an agent that chooses its own steps. Autonomy is a matter of degree, not a yes or no property: the same agent can be allowed to run tests on its own and still need a person to merge its work.
The distinction matters on the exam and in practice. A question that describes a scheduled workflow that summarizes new issues with a model is describing a workflow, even if a product page calls it an agent. A question that describes software that reads a failing test, decides which files to open, edits them and reruns the tests until they pass is describing an agent. Priya asked the group to apply the definitions to every new feature announcement they read for a month. It was a cheap way to stop marketing language from shaping their designs.
Why this course starts with architecture
It would be possible to learn agents product by product: one session on agent mode, one on the cloud agent, one on Copilot CLI. Priya chose not to, because products change faster than the ideas underneath them. The cloud agent changed its name during the year this course was written, gained research and planning modes, and moved from always opening a pull request to letting people decide when to open one. The loop, the tools, the permissions and the review gates stayed the same. A team that understands those parts can read a changelog entry and see at once what it changes and what it does not.
Malik's own test of the definitions was the open-trail-report action. Code completion helped him type it, chat explained a confusing API, and the cloud agent later fixed a small bug in it while he was at work. All three were useful; only the last was an agent in this course's sense.
Common mistakes
MistakeTreating any AI feature as an agent.
InsteadAn agent chooses and carries out actions in a loop; completion and chat leave each action to a person.
MistakeAssuming the agent is responsible for its output.
InsteadThe people who assign, review and merge the work are responsible.
MistakePutting must-never-happen rules only in the prompt.
InsteadEnforce them in deterministic parts: permissions, rulesets, controller limits and review.
MistakeCalling GitHub's cloud agent by its old name in current documentation.
InsteadGitHub renamed the Copilot coding agent to the Copilot cloud agent in 2026; older pages use the old name.
Summary and key terms
- GitHub Certified: Agentic AI Developer is earned with Exam GH-600: Developing in Agentic AI Systems, a 120-minute proctored exam with six domains and a passing score of 700.
- An agent repeatedly chooses actions, carries them out through tools and observes the results until a goal is met or a person is needed.
- Completion and chat leave each action to a person; agents decide the sequence themselves.
- Every agent has a model, instructions, tools, an environment, a controller and a human interface; only the model is probabilistic.
- GitHub offers agent mode, Copilot CLI, the Copilot cloud agent and custom agents, governed through enterprise AI controls.
- Agent
- A system in which a model repeatedly chooses and carries out actions through tools until a goal is met or it needs a person.
- Agent loop
- The cycle of deciding, acting through a tool and observing the result.
- Controller
- The ordinary software that runs the agent loop, executes tool calls and enforces limits; also called the harness.
- Tool
- An action an agent may request, such as reading a file or running a command.
- Copilot cloud agent
- GitHub's agent that works in a cloud environment powered by GitHub Actions; formerly called the Copilot coding agent.
- Agent mode
- An editor chat mode in which Copilot plans and carries out multi-step work in the developer's workspace.
Practice problems
Work each problem on paper first, then reveal the answer to check.
What are the three ideas in the working definition of an agent?
Show answer
A goal set by someone else, a loop of decide, act and observe, and tools.
Which part of an agent is probabilistic?
Show answer
Only the model.
How long is the GH-600 exam?
Show answer
120 minutes.
Lesson quiz · 5 questions
Score 60% or more to complete this lesson.
Create a free account to save your progress, take quizzes and earn a certificate.