Skip to main content

Using a demo agent

Learn about how you can use a demo agent to explore how Copilot Extensions work.

Note

GitHub Copilot Extensions is in public preview and subject to change.

About demo agents

If you're not ready to build your own Copilot agent from scratch, you can clone and use a demo agent to experiment with GitHub Copilot Extensions. You can use the demo agent as a basis for your own agent, or you can use it to familiarize yourself with the Copilot Extensions development and deployment process.

GitHub provides a few different demo agents that you can use. You can find them in the copilot-extensions organization.

This article provides instructions for running the Blackbeard demo agent on your local machine, but should be similar for other demo agents.

  1. Clone the repository. Run the following command in your terminal (Mac or Linux) or Git Bash (Windows):

    Shell
    git clone https://github.com/copilot-extensions/blackbeard-extension.git
    
  2. Open the agent repository locally by running the following command in your terminal (Mac or Linux) or Git Bash (Windows):

    Shell
    cd blackbeard-extension
    
  3. To install the necessary dependencies, run the following command in your terminal (Mac or Linux) or Git Bash (Windows):

    Shell
    npm install
    
  4. To start your server, run the following command in your terminal (Mac or Linux) or Git Bash (Windows):

    Shell
    npm start
    

    Note

    Keep the terminal window open while you are using your agent.

Next steps