Some Bits: Nelson's log

First impressions of Jules, Google’s coding agent

Google has a coding agent product called Jules. It’s similar to Claude Code. But it’s designed foremost as a web interface. And to run in the cloud, on Google ephemeral containers from code stored on GitHub. It’s also more asynchronous: you give it big tasks and it comes back in ~10 minutes with a pull request. There’s some interactive back and forth when making the plan if you want.

I think this web async design is a better fit for me, I don’t like Claude Code’s text UI and I don’t like how I have to install and run parts of it on a local machine. Update: Claude has “Code on the Web” which is more like Jules.

One other difference is Jules is using Google’s models. That would have been a bad experience with Gemini 2.5, which is what the free Jules still uses. But if you pay $20/mo for Google AI it includes access to Gemini 3.1 Pro which has proven to be a very good model for general queries. Not sure if it’s as good at coding as Claude but so far so good. There’s also a Gemini Flash which is faster and specifically coding optimized, I’m trying that out now instead of Pro and it seems fine.

Working with Jules has been a good experience so far. I feel like I’m instructing a junior engineer. I have to be explicit about what I want and check everything it does. Sometimes it says it did things that it didn’t, and sometimes it tries to do things it shouldn’t. Sometimes it does things wrong. But it’s very good at doing a lot of things and the use of GitHub pull requests as a review mechanism lets me fix things t hat are problems. It sure looks like Jules is doing high-order reasoning about algorithms and side effects and how systems work. I think I can trust Jules to understand this code better than I do.

A project

I’m using Jules to work on Feditrends, a simple scraper / link ranker that I maintain. I’ve never really touched this code, I took it over from someone else, and honestly I wasn’t excited to get my hands deep into it. Perfect thing to experiment with an AI instead.

I started by asking it to read all the code and make suggestions for what to change. Then I had it make a simple test suite. (It’s not great, but it’s a start. I’m a fan of test driven development and ordinarily would have more tests. I think that’s important for AI coding but we gotta start somewhere.) All that done, now I’m having it make one improvement at a time as it suggests things.

Here’s an example pull request for a very simple change: reformat a list of server names and then remove a duplicate. The code change is trivial and I was quite pedantic about it, building trust. But not shown here... Jules spotted this little code problem itself when I asked it to review the code and make suggestions. It found the duplicate. It also correctly reasoned about how this change might affect the algorithm (it doesn’t)

AI chat transcript (partial)

Nelson: I want to work on your suggestion “Fix Server Duplication: Remove the duplicate sfba.social in fetch.py.” look at the code and verify that the server is duplicated. then tell me, if we remove that does it change the algorithm results significantly? I’m guessing sfba.social gets double weighting in the ranking because it’s done twice.

Jules: Regarding your question about the algorithm results: The ranking algorithm in mastodon/build.py uses count(distinct instance) to calculate the number of instances a link appears on. Because of the distinct keyword, having the same instance name twice in the database for the same snapshot should not increase the “instance count” part of the score.

Jules: It also uses max(uses_1d) and max(rank). If the data on sfba.social changes slightly between the two fetch cycles, max(uses_1d) would take the higher value and max(rank) would take the higher (which means numerically larger, but lower/worse ranking) value. So if anything, it might slightly penalize a link if its rank drops during those few seconds, or slightly boost it if uses_1d increases, but it certainly doesn’t “double” the weighting in a straightforward way.

Nelson: let’s go ahead and proceed with the plan to remove it. but before you remove it: please reformat the code so the list of instances in fetch.py is no longer all one line. break it up into one line per server name. but keep the duplicate. make a pull request for me to be sure you did it right. we will then remove the duplicate later, as a second change.

It did exactly what I wanted in this case, a good result. Some other changes it gets wrong at the start and I have to catch it in review but so far I’ve been able to redirect it to success every time.

Update: CoPilot

A friend encouraged me to compare Jules to CoPilot Agents, built into GitHub. Roughly speaking they are very similar. CoPilot has nicer integration with GitHub, so some of the git stuff feels a bit more reliable and featureful. Different set of models of course, with CoPilot mostly being OpenAI models. It’s $10 or $20/mo to use and has some limits. I’m already getting Jules as part of my Google $20/mo AI subscription and it has no disclosed limits but only a choice of two Gemini models.

I suspect there are meaningful differences in the two products, particularly in how they manage code environments and the details of the prompt engineering. I’m not equipped to compare them very deeply. Jules is doing well for me so far so I’ll stick with it.

Comments

johnhlamar 

You should really try Cursor, it's an amazing agent!