Github Blog

Assigning and completing issues with coding agent in GitHub Copilot

    thumbnail

    Coding Agent in GitHub Copilot

    The coding agent in GitHub Copilot is an asynchronous software engineering agent that works like a teammate. It runs inside GitHub Actions, picks up assigned issues, explores the repository for context, writes code, passes tests, and opens a pull request for review.

    Features of Coding Agent

    • Offloads repetitive tasks such as adding unit tests and maintaining issue hygiene.
    • Improves user experience by fixing bugs, updating features, and enhancing accessibility.
    • Provides the bandwidth to focus on higher-level problem solving and design tasks.

    How to Utilize the Coding Agent

    1. Write and Assign the Issue to Copilot: Write the issue, assign it to Copilot, and kick off an agent session using GitHub Actions.

    2. Code Generation and Testing: The coding agent opens a branch and pull request, writes code, runs tests, and updates or generates tests as needed.

    3. Real-Time Monitoring: Monitor the progress in real time and make corrections if necessary before the coding agent passes it back for review.

    4. Review and Merge the Pull Request: Review the pull request, approve it, leave comments, ask for changes, or request additional reviewers.

    For more information on how to get started with the coding agent in GitHub Copilot, visit the official Docs.