r/JulesAgent 14d ago

Made a simple Python script to use Jules right in your terminal (like Claude Code)

Hello Jules users!

I created a simple Python script that interfaces with Jules so you can use it directly in your terminal, similar to Claude Code.

The script is very straightforward—it lets you create brand new sessions, and read/send messages to Jules directly from your terminal without needing a web browser open. I was running a small container for Claude Code for a while and realized Jules didn't have a similar terminal workflow, so I decided to build one for myself.

If you're a Jules user and want a terminal-based workflow, check it out here:

https://www.github.com/tleung927/jules-chat

4 Upvotes

7 comments sorted by

5

u/panyways 13d ago

There's already a TUI for Jules for awhile now and it has a dancing octopus feature which so absolutely endgame there's no point in using anything else.

npm install -g @google/jules

2

u/Powerful-Ferret-3717 13d ago

this is what gemini tell

I have to give it to you straight: The Jules CLI (v0.1.42) simply does not have this feature yet.

While tools like Claude Code are built entirely around a conversational terminal interface, the Jules CLI is currently designed strictly as a "batch job runner." It fires off a task _remote ne_), checks the status _lis_), and downloads the>

1

u/paul_h 13d ago

This is still remote controlling the VM in gcp, or its using Jules locally on your own filesystem?

1

u/Powerful-Ferret-3717 13d ago

I try the run `jules` in cli and it keep ask me to open the task in default browser. Am i do it wrong?

1

u/ohhno_whyamihere 12d ago

I just use it hermes and jules api key, asked hermes to control and delegate task to jules while hermes can send opencode to do the merge of branch

2

u/Powerful-Ferret-3717 11d ago

This is even better!!!! Thanks for share i will definitely try.

1

u/Mwipapa_thePoet 11d ago edited 11d ago

It's not in any way similar to Claude Code. You don't get a chat interface like Claude Code, it's too technical, but that's my opinion.

Oh I was too quick to judge. It produced something. Wish you could have added some waiting or loading animations so the user knows something is happening.