Skip to content
STIRUP

TECHNOLOGY INTELLIGENCE

Understand what's next.

JetBrains Air Integrates GitHub Copilot as AI Assistant

JetBrains Air now supports GitHub Copilot integration, allowing developers to use their existing Copilot plan without consuming JetBrains AI credits, both locally and in the cloud via Air Teams.

Share
AI-generated conceptual illustration accompanying: JetBrains Air Integrates GitHub Copilot as AI Assistant
AI-generated editorial illustration of the article topic; not a photograph, product screenshot or measured result.

Integration of GitHub Copilot in JetBrains Air

JetBrains Air now supports the integration of GitHub Copilot as an agentic AI assistant, available both within the JetBrains IDE and in the cloud through Air Teams. This integration allows developers to leverage their existing GitHub Copilot plan without consuming JetBrains AI credits. According to JetBrains, tasks executed via GitHub Copilot in Air operate on the user's existing Copilot plan, ensuring that users can continue to use their preferred AI assistant without additional costs. This feature is part of JetBrains' ongoing efforts to provide flexible and powerful development environments that support multiple AI tools. The integration was announced by Vladimir Gromozdin, highlighting the collaboration between GitHub and JetBrains to enhance the developer experience.

Running GitHub Copilot in the Cloud with Air Teams

Running GitHub Copilot in the Cloud with Air Teams allows developers to offload tasks to remote environments, enabling uninterrupted progress even when their local machine is closed. According to JetBrains, with Air Teams, GitHub Copilot can take over a cloud task and continue processing on a sandboxed machine. This capability is particularly useful for handling repetitive or time-consuming tasks, such as fixing a flaky test or updating a dependency. JetBrains highlights an example of initiating a GitHub Copilot cloud task directly from IntelliJ IDEA, demonstrating seamless integration with JetBrains IDEs. For best results, JetBrains suggests starting with a small, well-defined task—something straightforward that can be completed without ambiguity. This approach ensures that developers can leverage the power of cloud-based Copilot without overcomplicating their initial setup.

Local Execution and Task Management

JetBrains Air enables local execution of GitHub Copilot within JetBrains IDEs through the Air Copilot Plugin (ACP). This integration allows developers to use GitHub Copilot directly in their local projects, with all changes reviewed in Air as with any other agent. To activate GitHub Copilot, users can return to their IDE and select it from the agent picker. This setup ensures seamless collaboration between local development environments and the Air platform, maintaining consistency in code suggestions and reviews. The local execution capability enhances productivity by reducing reliance on cloud-based processing, while still leveraging the power of GitHub Copilot's AI-driven code completion features.

Authentication and Usage Tracking

Authentication for GitHub Copilot in JetBrains Air is handled automatically through the existing GitHub connection. When a task begins, Air uses this connection to sign in to GitHub Copilot on the cloud machine, eliminating the need for a separate sign-in process. If the connection fails, users are prompted to ensure that GitHub is properly connected and that their account has an active Copilot subscription. GitHub Copilot runs within a Docker container, which is signed in to GitHub using the user’s account, ensuring seamless integration and access to Copilot features both within the IDE and in the cloud environment.

Automation and Credit Management

JetBrains Air allows GitHub Copilot to run on a schedule or in response to events like new pull requests, automating code suggestions without manual intervention. If GitHub Copilot is selected as the agent, each execution consumes credits from your Copilot plan, as noted by the service provider. However, JetBrains Air does not display or manage Copilot usage metrics, leaving users responsible for tracking their plan consumption directly through GitHub. This setup requires developers to monitor their Copilot credits independently, ensuring they stay within their allocated limits. Automation features enhance productivity but necessitate careful credit management to avoid unexpected overages.

Sources and reporting notes

Based on published source material. No independent hands-on testing is claimed.

Read more