Compare
Ask vs Edit vs Agent mode
30-second answer
Use Ask to understand code or get an answer; it changes nothing by itself. Use Edit when you know which files should change and want to review each diff. Use Agent when you want Copilot to work out the files, make the changes, run commands and tests and iterate until the task is done.
Simulate it »Side by side
↔ Swipe the table to see every column.
| Ask | Edit | Agent | |
|---|---|---|---|
| Changes your files | No (suggests code blocks) | Yes, the files you add | Yes, files it finds itself |
| Runs terminal commands | No | No | Yes, after asking you |
| Uses tools / MCP servers | No | No | Yes |
| Iterates on errors | No | You ask again | Yes, reads errors and retries |
| Best for | Explaining, learning, small snippets | Targeted multi-file edits | Whole tasks: features, fixes with tests |
| Your control | Copy or insert | Keep or Undo each change | Approve commands, then Keep or Undo |
Prices are illustrative pay-as-you-go list prices converted at approximate rates, for "price feel" only. Check the Azure pricing calculator for real quotes.
Which one should I pick?
Ask
Pick it when you want to understand code, compare approaches or get a quick snippet
Edit
Pick it when you know the files and want a reviewable change across them
Agent
Pick it when the task needs searching, several edits and running tests until it works
Simulate it
🖱️ Drag to rotate · scroll or pinch to zoom
Ask mode
Ask answers questions about code and concepts and can suggest code blocks. It doesn’t change your files by itself.
🤔 What happens if…
Read this tour as text
- Ask mode. Ask answers questions about code and concepts and can suggest code blocks. It doesn’t change your files by itself.
- Edit mode (Copilot Edits). Edit applies changes to the files you choose, across several files at once. You see each diff and Keep or Undo it.
- Agent mode. Agent works out which files to touch, edits them, runs commands and tests, reads errors and keeps going until the task is done. It asks before running terminal commands unless you’ve approved them.
- MCP servers add tools. The Model Context Protocol (MCP) lets Copilot use external tools: the GitHub MCP server, a browser, a docs search or your own API. Configure servers in
.vscode/mcp.json(VS Code) or with/mcp(CLI). Organizations can restrict which servers are allowed. - Sessions and sub-agents. Long tasks fill the context window. Agent sessions keep work separate, and a sub-agent can do a side task in its own context and hand back only a summary.
- Copilot coding agent. Assign an issue to Copilot on github.com (or
/delegatefrom the CLI). The coding agent works in a GitHub Actions environment on its own branch and opens a draft pull request with its changes. - Review stays human. You review the agent’s PR like any other. Copilot code review can comment and suggest changes, but its review doesn’t count as an approval. A person merges.
- Copilot CLI. The same agent in the terminal:
copilotfor a session with slash commands,copilot -p "…"for one prompt, and--allow-tool/--deny-toolto control what it may run.
Questions people ask
Is Copilot Edits the same as Edit mode?
Yes. Copilot Edits is the multi-file editing experience; in the Chat view it appears as the Edit mode next to Ask and Agent.
Can agent mode run any command?
It asks before running terminal commands unless you approved that command for the session, and an organization can turn agent features and MCP servers off with policies.