Introducing the Jules extension for Gemini CLI

Introducing the Jules extension for Gemini CLI, an autonomous sidekick for developers. It accelerates coding workflows by offloading tasks like asynchronous work, bug fixes, and changes in new branches to Jules, while you stay in flow with Gemini CLI. Get started by installing the extension and using the /jules command to initiate and check task statuses.

Alexis Cox, AK Kulkarni
3 min readintermediate
--
View Original

Overview

The article introduces the Jules extension for Gemini CLI, designed to enhance coding workflows by allowing developers to offload tasks asynchronously. It details the functionalities of the extension, including task delegation and background processing, while providing installation instructions and usage examples.

What You'll Learn

1

How to install the Jules extension for Gemini CLI

2

How to delegate tasks to the Jules extension while using Gemini CLI

3

How to check the status of tasks assigned to Jules

Prerequisites & Requirements

  • Gemini CLI installed
  • Have a Jules Account
  • Connect your GitHub repository to your account in the Jules console

Key Questions Answered

What tasks can be offloaded to the Jules extension?
The Jules extension can handle asynchronous tasks, fix bugs in the background, and submit changes to a new branch after addressing issues on GitHub. This allows developers to maintain focus on synchronous tasks in the Gemini CLI while Jules works autonomously.
How do you install the Jules extension for Gemini CLI?
To install the Jules extension, run the command 'gemini extensions install https://github.com/gemini-cli-extensions/jules --auto-update' in your terminal. Ensure you have Gemini CLI version 0.4.0 or newer for compatibility.
How do you initiate a task with the Jules extension?
You can initiate a task by using the command '/jules' followed by your prompt, such as '/jules Convert commonJS modules to ES modules'. This allows Jules to work on the task in the background while you continue with your work.
What are the prerequisites for using the Jules extension?
Before using the Jules extension, you need to have Gemini CLI installed, create a Jules account, and connect your GitHub repository to your Jules console. These steps ensure that you can effectively utilize the extension's capabilities.

Technologies & Tools

Backend
Gemini CLI
Serves as the primary command-line interface for developers to interact with the Jules extension.
Backend
Jules
Functions as an autonomous sidekick that handles coding tasks in the background.

Key Actionable Insights

1
Leverage the Jules extension to enhance your productivity by offloading repetitive tasks.
By using the Jules extension, you can focus on more complex coding tasks while it handles simpler, asynchronous operations in the background, allowing for a smoother workflow.
2
Regularly check for updates to the Jules extension to benefit from new features and improvements.
Using the '--auto-update' option during installation ensures that you always have the latest version, which can include bug fixes and new functionalities that enhance your coding experience.
3
Utilize the command '/jules what is the status of my last task?' to keep track of ongoing tasks.
This command helps you stay informed about the progress of tasks assigned to Jules, ensuring you can manage your workflow effectively without interruption.

Common Pitfalls

1
Failing to install the correct version of Gemini CLI can lead to compatibility issues with the Jules extension.
Ensure that you have Gemini CLI version 0.4.0 or newer installed, as older versions may not support the features of the Jules extension.

Related Concepts

Gemini CLI Extensions
Asynchronous Programming
Task Automation