Live data from Hacker News

Gemini CLI tips and tricks for agentic coding

github.com

11–20 of 152 posts

Re: Gemini CLI tips and tricks for agentic coding

#12

My tip: Move away from Google to an LLM that doesn't respond with "There was a problem getting a response" 90% of the time.

I had a terrible first impression with Gemini CLI a few months ago when it was released because of the constant 409 errors.

With Gemini 3 release I decided to give it another go, and now the error changed to: "You've reached the daily limit with this model", even though I have an API key with billing set up. It wouldn't let me even try Gemini 3 and even after switching to Gemini 2.5 it would still throw this error after a few messages.

Google might have the best LLMs, but its agentic coding experience leaves a lot to be desired.

Re: Gemini CLI tips and tricks for agentic coding

#13
Gemini 3 with CLI is relentless if you give it detailed specs and other than API errors, it just is great. I'd still rank Claude models higher but Gemini 3 is good too.

And the GPT-5 Codex has a very somber tone. Responses are very brief.

Re: Gemini CLI tips and tricks for agentic coding

#15

I have never had a luck with using Gemini. I had a pretty good app create with CODEX. Due to the hype I thought let me give Gemini a try. I asked it find all way to improve security and architecture / design. sure enough it gave a me a list of components etc that didn’t match best patterns and practices. So I let it refactor the code. It Fucked up the entire repot. It hard coded tenant ids and used ids, it completely…

Do you use AI agents on repos without version control?

Re: Gemini CLI tips and tricks for agentic coding

#16
>this lets you use Gemini 2.5 Pro for free with generous usage limits

Considering that access is limited to the countries on the list [0], I wonder what motivated their choices, especially since many Balkan countries were left out.

[0]: https://developers.google.com/gemini-code-assist/resources/a...

Re: Gemini CLI tips and tricks for agentic coding

#17

I have never had a luck with using Gemini. I had a pretty good app create with CODEX. Due to the hype I thought let me give Gemini a try. I asked it find all way to improve security and architecture / design. sure enough it gave a me a list of components etc that didn’t match best patterns and practices. So I let it refactor the code. It Fucked up the entire repot. It hard coded tenant ids and used ids, it completely…

> Set me back 2 weeks of work.

How did this happen?

Did you let the agent loose without first creating its own git worktree?

Re: Gemini CLI tips and tricks for agentic coding

#19
post #17

I have never had a luck with using Gemini. I had a pretty good app create with CODEX. Due to the hype I thought let me give Gemini a try. I asked it find all way to improve security and architecture / design. sure enough it gave a me a list of components etc that didn’t match best patterns and practices. So I let it refactor the code. It Fucked up the entire repot. It hard coded tenant ids and used ids, it completely…

> Set me back 2 weeks of work. How did this happen? Did you let the agent loose without first creating its own git worktree?

tfw people are running agents outside containers

Re: Gemini CLI tips and tricks for agentic coding

#20
post #10
post #6

Why is this AI generated slop so highly upvoted?

Even thought the doc _might_ be AI generated, that repo is Addy Osmani's. Of Addy Osmani fame. I seriously doubt he went to Gemini and told it "Give me a list of 30 identifiable issues when agentic coding, and tips to solve them".

[deleted]
Post reply on HN