{"meta":{"title":"Concepts for GitHub Copilot CLI","intro":"Learn how you can use GitHub Copilot in your terminal.","product":"GitHub Copilot","breadcrumbs":[{"href":"/en/copilot","title":"GitHub Copilot"},{"href":"/en/copilot/concepts","title":"Concepts"},{"href":"/en/copilot/concepts/agents","title":"Agents"},{"href":"/en/copilot/concepts/agents/copilot-cli","title":"Copilot CLI"}],"documentType":"subcategory"},"body":"# Concepts for GitHub Copilot CLI\n\nLearn how you can use GitHub Copilot in your terminal.\n\n## Links\n\n* [About GitHub Copilot CLI](/en/copilot/concepts/agents/copilot-cli/about-copilot-cli)\n\n  Find out about using Copilot from the command line.\n\n* [Comparing GitHub Copilot CLI customization features](/en/copilot/concepts/agents/copilot-cli/comparing-cli-features)\n\n  Find out about the various ways you can customize Copilot: what they do, and when to use them.\n\n* [About using Copilot CLI in GitHub Actions](/en/copilot/concepts/agents/copilot-cli/copilot-cli-in-github-actions)\n\n  You can run Copilot CLI in a GitHub Actions workflow using either a personal access token or the built-in GITHUB\\_TOKEN. The two approaches differ in how AI credits are billed and what setup is required.\n\n* [Canceling a GitHub Copilot CLI operation and rolling back changes](/en/copilot/concepts/agents/copilot-cli/cancel-and-roll-back)\n\n  Find out about the different ways to cancel an active Copilot operation, and how to roll back changes made during a session if the result isn't what you expected.\n\n* [Managing context in GitHub Copilot CLI](/en/copilot/concepts/agents/copilot-cli/context-management)\n\n  Understand how Copilot manages conversation context, what happens during long sessions, and how to stay in control of your context window.\n\n* [About remote control of GitHub Copilot CLI sessions](/en/copilot/concepts/agents/copilot-cli/about-remote-control)\n\n  Remote control lets you monitor and steer a Copilot CLI session from GitHub.com or GitHub Mobile, even after you've stepped away from your machine.\n\n* [About custom agents](/en/copilot/concepts/agents/copilot-cli/about-custom-agents)\n\n  Custom agents enhance Copilot with assistance tailored to your needs.\n\n* [Allowing GitHub Copilot CLI to work autonomously](/en/copilot/concepts/agents/copilot-cli/autopilot)\n\n  The CLI's autopilot mode lets Copilot CLI work autonomously on a task, carrying out multiple steps until the task is complete.\n\n* [Running tasks in parallel with the <code>/fleet</code> command](/en/copilot/concepts/agents/copilot-cli/fleet)\n\n  The /fleet slash command lets Copilot CLI break down a complex request into smaller tasks and run them in parallel, maximizing efficiency and throughput.\n\n* [Researching with GitHub Copilot CLI](/en/copilot/concepts/agents/copilot-cli/research)\n\n  The /research slash command turns Copilot into your research assistant, gathering in-depth information and insights on a topic.\n\n* [About GitHub Copilot CLI session data](/en/copilot/concepts/agents/copilot-cli/chronicle)\n\n  Your Copilot CLI sessions build a searchable history of everything you have worked on. Query past sessions with natural language, generate standup reports, get personalized tips, and resume previous work.\n\n* [About the rubber duck agent](/en/copilot/concepts/agents/copilot-cli/rubber-duck)\n\n  The rubber duck agent is a built-in critic that gives Copilot a constructive second opinion on its own plans, code, and tests—using a different AI model from the one driving your session.\n\n* [Using LSP servers with GitHub Copilot CLI](/en/copilot/concepts/agents/copilot-cli/lsp-servers)\n\n  LSP servers give Copilot CLI precise code intelligence, enabling it to navigate definitions, find references, and rename symbols accurately across your project.\n\n* [About extensions for GitHub Copilot CLI](/en/copilot/concepts/agents/copilot-cli/about-cli-extensions)\n\n  Extensions let you add your own tools and slash commands to GitHub Copilot CLI, using only the SDK that ships with the CLI.\n\n* [Loading tools on demand with tool search](/en/copilot/concepts/agents/copilot-cli/tool-search)\n\n  Tool search keeps your context small by letting Copilot CLI load external tools only when a task needs them.\n\n* [Understanding filesystem policies for local sandboxing in GitHub Copilot CLI](/en/copilot/concepts/agents/copilot-cli/understanding-local-sandboxing)\n\n  When local sandboxing is enabled, Copilot CLI runs each sandboxed process or operation under a filesystem policy that controls which files and directories it can read and write. Learn how that policy is built and how to check the access it grants."}