Most active commenters
  • cperry(22)
  • thimabi(4)
  • nprateem(4)
  • _ryanjsalva(3)
  • (3)
  • akrauss(3)

←back to thread

Gemini CLI

(blog.google)
1342 points sync | 114 comments | | HN request time: 1.571s | source | bottom
1. cperry ◴[] No.44377336[source]
Hi - I work on this. Uptake is a steep curve right now, spare a thought for the TPUs today.

Appreciate all the takes so far, the team is reading this thread for feedback. Feel free to pile on with bugs or feature requests we'll all be reading.

replies(38): >>44377379 #>>44377463 #>>44377522 #>>44377570 #>>44377664 #>>44377874 #>>44378010 #>>44378095 #>>44378282 #>>44378477 #>>44378483 #>>44378624 #>>44378661 #>>44378918 #>>44378935 #>>44379294 #>>44379599 #>>44379809 #>>44379831 #>>44380039 #>>44380415 #>>44380918 #>>44380943 #>>44381462 #>>44381702 #>>44382998 #>>44383306 #>>44383505 #>>44384705 #>>44385575 #>>44385992 #>>44386024 #>>44386107 #>>44386388 #>>44387079 #>>44387136 #>>44387432 #>>44388145 #
2. elashri ◴[] No.44377379[source]
Hi, Thanks for this work.

currently it seems these are the CLI tools available. Is it possible to extend or actually disable some of these tools (for various reasons)?

> Available Gemini CLI tools:

    - ReadFolder
    - ReadFile
    - SearchText
    - FindFiles
    - Edit
    - WriteFile
    - WebFetch
    - ReadManyFiles
    - Shell
    - Save Memory
    - GoogleSearch
replies(4): >>44377462 #>>44377496 #>>44377796 #>>44379265 #
3. _ryanjsalva ◴[] No.44377462[source]
I also work on the product. You can extend the tools with MCP. https://github.com/google-gemini/gemini-cli/blob/main/docs/t...
replies(2): >>44378125 #>>44380322 #
4. ebiester ◴[] No.44377463[source]
So, as a member of an organization who pays for google workspace with gemini, I get the message `GOOGLE_CLOUD_PROJECT environment variable not found. Add that to your .env and try again, no reload needed!`

At the very least, we need better documentation on how to get that environment variable, as we are not on GCP and this is not immediately obvious how to do so. At the worst, it means that your users paying for gemini don't have access to this where your general google users do.

replies(3): >>44377507 #>>44377677 #>>44381397 #
5. cperry ◴[] No.44377496[source]
I had to ask Gemini CLI to remind myself ;) but you can add this into settings.json:

{ "excludeTools": ["run_shell_command", "write_file"] }

but if you ask Gemini CLI to do this it'll guide you!

6. cperry ◴[] No.44377507[source]
https://github.com/google-gemini/gemini-cli/blob/main/docs/c...
replies(2): >>44377605 #>>44378257 #
7. carraes ◴[] No.44377522[source]
it would be cool to work with my google ai pro sub
replies(1): >>44377691 #
8. nojito ◴[] No.44377570[source]
How often did you use gemini-cli to build on gemini-cli?
replies(2): >>44377628 #>>44377798 #
9. ebiester ◴[] No.44377605{3}[source]
While I get my organization's IT department involved, I do wonder why this is built in a way that requires more work for people already paying google money than a free user.
replies(1): >>44378351 #
10. _ryanjsalva ◴[] No.44377628[source]
We started using Gemini CLI to build itself after about week two. If I had to guess, I'd say better than 80% of the code was written with Gemini CLI. Honestly, once we started using the CLI, we started experimenting a lot more and building waaaaay faster.
11. mkagenius ◴[] No.44377664[source]
Hi - I integrated Apple Container on M1 to run[1] the code generated by Gemini CLI. It works great!

1. CodeRunner - https://github.com/BandarLabs/coderunner/tree/main?tab=readm...

replies(1): >>44377766 #
12. thimabi ◴[] No.44377677[source]
I believe Workspace users have to pay a separate subscription to use the Gemini CLI, the so-called “Gemini for Google Cloud”, which starts at an additional 19 dollars per month [^1]. If that’s really the case, it’s very disappointing to me. I expected access to Gemini CLI to be included in the normal Workspace subscription.

[^1]: https://console.cloud.google.com/marketplace/product/google/...

replies(4): >>44377710 #>>44378080 #>>44384811 #>>44387130 #
13. cperry ◴[] No.44377691[source]
working on it
14. cperry ◴[] No.44377710{3}[source]
[edit] all lies - I got my wires crossed, free tier for Workspace isn't yet supported. sorry. you need to set the project and pay. this is WIP.

Workspace users [edit: cperry was wrong] can get the free tier as well, just choose "More" and "Google for Work" in the login flow.

It has been a struggle to get a simple flow that works for all users, happy to hear suggestions!

replies(3): >>44377891 #>>44377944 #>>44378044 #
15. cperry ◴[] No.44377766[source]
<3 amazing
16. bdmorgan ◴[] No.44377796[source]
I also work on the product :-)

You can also extend with the Extensions feature - https://github.com/google-gemini/gemini-cli/blob/main/docs/e...

17. bdmorgan ◴[] No.44377798[source]
100% of the time
18. rtaylorgarlock ◴[] No.44377891{4}[source]
I can imagine. Y'all didn't start simple like some of your competitors; 'intrapraneurial' efforts in existing contexts like yours come with well-documented struggles. Good work!
19. Workaccount2 ◴[] No.44377944{4}[source]
Just get a pop-up or something in place to make it dead simple, because workspace users are probably the core users of the product.
20. javier123454321 ◴[] No.44378010[source]
one piece of feedback. Please do neovim on top of vim or have a way to customize the editor beyond your list.
replies(1): >>44382064 #
21. thimabi ◴[] No.44378044{4}[source]
Thanks for your clarification. I've been able to set up Gemini CLI with my Workspace account.

Just a heads-up: your docs about authentication on Github say to place a GOOGLE_CLOUD_PROJECT_ID as an environment variable. However, what the Gemini CLI is actually looking for, from what I can tell, is a GOOGLE_CLOUD_PROJECT environment variable with the name of a project (rather than its ID). You might want to fix that discrepancy between code and docs, because it might confuse other users as well.

I don’t know what constraints made you all require a project ID or name to use the Gemini CLI with Workspace accounts. However, it would be far easier if this requirement were eliminated.

replies(1): >>44378193 #
22. 827a ◴[] No.44378080{3}[source]
Having played with the gemini-cli here for 30 minutes, so I have no idea but best guess: I believe that if you auth with a Workspace account it routes all the requests through the GCP Vertex API, which is why it needs a GOOGLE_CLOUD_PROJECT env set, and that also means usage-based billing. I don't think it will leverage any subscriptions the workspace account might have (are there still gemini subscriptions for workspace? I have no idea. I thought they just raised everyone's bill and bundled it in by default. What's Gemini Code Assist Standard or Enterprise? I have no idea).
23. bsenftner ◴[] No.44378095[source]
Thank you for your work on this. I spent the afternoon yesterday trying to convert an algorithm written in ruby (which I do not know) to vanilla JavaScript. It was a comedy of failing nonsense as I tried to get gpt-4.1 to help, and it just led me down pointless rabbit holes. I installed Gemini CLI out of curiosity, pointed it at the Ruby project, and it did the conversion from a single request, total time from "think I'll try this" to it working was 5 minutes. Impressed.
replies(2): >>44378148 #>>44384650 #
24. silverlake ◴[] No.44378125{3}[source]
I tried to get Gemini CLI to update itself using the MCP settings for Claude. It went off the rails. I then fed it the link you provided and it correctly updates it's settings file. You might mention the settings.json file in the README.
25. cperry ◴[] No.44378148[source]
<3 love to hear it!
26. cperry ◴[] No.44378193{5}[source]
sorry, I was wrong about free tier - I've edited above. this is WIP.

noted on documentation, there's a PR in flight on this. also found some confusion around gmail users who are part of the developer program hitting issues.

replies(2): >>44378306 #>>44378606 #
27. Maxious ◴[] No.44378257{3}[source]
I'd echo that having to get the IT section involved to create a google cloud project is not great UX when I have access to NotebookLM Pro and Gemini for Workplace already.

Also this doco says GOOGLE_CLOUD_PROJECT_ID but the actual tool wants GOOGLE_CLOUD_PROJECT

replies(1): >>44380571 #
28. streb-lo ◴[] No.44378282[source]
Is there a reason all workspace accounts need a project ID? We pay for gemini pro for our workspace accounts but we don't use GCP or have a project ID otherwise.
replies(2): >>44378600 #>>44379000 #
29. thimabi ◴[] No.44378306{6}[source]
> free tier for Workspace isn't yet supported. sorry. you need to set the project and pay.

Well, I've just set up Gemini CLI with a Workspace account project in the free tier, and it works apparently for free. Can you explain whether billing for that has simply not been configured yet, or where exactly billing details can be found?

For reference, I've been using this panel to keep track of my usage in the free tier of the Gemini API, and it has not been counting Gemini CLI usage thus far: https://console.cloud.google.com/apis/api/generativelanguage...

Unfortunately all of that is pretty confusing, so I'll hold off using Gemini CLI until everything has been clarified.

30. rtaylorgarlock ◴[] No.44378351{4}[source]
@ebiester, my wife's maiden name is E. Biester. I did a serious double take. Got you on X :)
31. danavar ◴[] No.44378477[source]
Is there a way to instantly, quickly prompt it in the terminal, without loading the full UI? Just to get a short response without filling the terminal page.

like to just get a short response - for simple things like "what's a nm and grep command to find this symbol in these 3 folders". I use gemini alot for this type of thing already

Or would that have to be a custom prompt I write?

replies(5): >>44378594 #>>44378617 #>>44378653 #>>44378886 #>>44380297 #
32. conception ◴[] No.44378483[source]
Google Gemini Google Gemini Ultra AI Studio Vertex AI Notebook LLM Jules

All different products doing the sameish thing. I don’t know where to send users to do anything. They are all licensed differently. Bonkers town.

replies(1): >>44383967 #
33. peterldowns ◴[] No.44378594[source]
I use `mods` for this https://github.com/charmbracelet/mods

other people use simon willison's `llm` tool https://github.com/simonw/llm

Both allow you to switch between models, send short prompts from a CLI, optionally attach some context. I prefer mods because it's an easier install and I never need to worry about Python envs and other insanity.

replies(1): >>44378637 #
34. thimabi ◴[] No.44378600[source]
The reason is that billing is separate, via the paid tier of the API. Just a few minutes ago, I was able to test Gemini CLI using a Workspace account after setting up a project in the free tier of the API. However, that seems to have been a bug on their end, because I now get 403 errors (Forbidden) with that configuration. The remaining options are either to set up billing for the API or use a non-Workspace Google account.
35. bachmeier ◴[] No.44378606{6}[source]
> noted on documentation, there's a PR in flight on this. also found some confusion around gmail users who are part of the developer program hitting issues.

Maybe you have access to an AI solution for this.

36. ◴[] No.44378617[source]
37. GenerWork ◴[] No.44378624[source]
I'm just a hobbyist, but I keep getting the error "The code change produced by Gemini cannot be automatically applied. You can manually apply the change or ask Gemini to try again". I assume this is because the service is being slammed?

Edit: I should mention that I'm accessing this through Gemini Code Assist, so this may be something out of your wheelhouse.

replies(1): >>44378648 #
38. indigodaddy ◴[] No.44378637{3}[source]
Didn't know about mods, looks awesome.
39. cperry ◴[] No.44378648[source]
odd, haven't seen that one - you might file an issue https://github.com/google-gemini/gemini-cli/issues

I don't think that's capacity, you should see error codes.

replies(1): >>44388083 #
40. cperry ◴[] No.44378653[source]
-p is your friend
replies(1): >>44384133 #
41. taupi ◴[] No.44378661[source]
Right now authentication doesn't work if you're working on a remote machine and try to authenticate with Google, FYI. You need an alternate auth flow that gives the user a link and lets them paste a key in (this is how Claude Code does it).
replies(1): >>44380628 #
42. hiAndrewQuinn ◴[] No.44378886[source]
gemini --prompt "Hello"
43. ciwchris ◴[] No.44378918[source]
Using the Gemini CLI the first thing I tried to do was "Create GEMINI.md files to customize your interactions with Gemini." The command ran for about a minute before receiving a too many requests error.

> You exceeded your current quota, please check your plan and billing details. For more information on this error, head to: https://ai.google.dev/gemini-api/docs/rate-limits.

Discouraging

replies(1): >>44380618 #
44. hiAndrewQuinn ◴[] No.44378935[source]
Feature request! :)

I'm a Gemini Pro subscriber and I would love to be able to use my web-based chat resource limits with, or in addition to, what is offered here. I have plenty of scripts that are essentially "Weave together a complex prompt I can send to Gemini Flash to instantly get the answer I'm looking for and xclip it to my clipboard", and this would finally let me close the last step in that scripts.

Love what I'm seeing so far!

replies(1): >>44380631 #
45. cperry ◴[] No.44379000[source]
the short answer is b/c one of our dependencies requires it and hasn't resolved it.
46. SafeDusk ◴[] No.44379265[source]
Pretty close to what I discovered is essential in https://github.com/aperoc/toolkami, 7 tools will cover majority of the use cases.
47. imjonse ◴[] No.44379294[source]
Hi. It is unclear from the README whether the free limits apply also when there's an API key found in the environment - not explicitly set for this tool - and there is no login requirement.
replies(1): >>44380617 #
48. Freedom2 ◴[] No.44379599[source]
Pointed it at a project directory and asked it to find and fix an intentionally placed bug without referencing any filenames. It seemed to struggle finding any file or constructing a context about the project unless specifically asked. FWIW, Claude Code tries to build an 'understanding' of the codebase when given the same prompt. For example, it struggled when I asked to "fix the modal logic" but nothing was specifically called a modal.

Is the recommendation to specifically ask "analyze the codebase" here?

49. yomismoaqui ◴[] No.44379809[source]
I have been evaluating other tools like Amp (from Sourcegraph) and when trying Gemini Cli on VsCode I found some things to improve:

- On a new chat I have to re-approve things like executing "go mod tidy", "git", write files... I need to create a new chat for each feature, (maybe an option to clear the current chat on VsCode would work)

- I have found some problems with adding some new endpoint on an example Go REST server I was trying it on, it just deleted existing endpoints on the file. Same with tests, it deleted existing tests when asking to add a test. For comparison I didn't find these problems when evaluating Amp (uses Claude 4)

Overall it works well and hope you continue with polishing it, good job!!

replies(1): >>44382295 #
50. sandGorgon ◴[] No.44379831[source]
i have a Google AI Pro subscription - what kind of credits/usage/allowance do i get towards gemini cli ?
replies(1): >>44380622 #
51. kingsleyopara ◴[] No.44380039[source]
Thanks so much for this! I’d really appreciate a more consumer oriented subscription offering, similar to Claude Max, that combines Gemini CLI (with IP compliance) and the Gemini app (extra points for API access too!).
replies(2): >>44380577 #>>44380971 #
52. irthomasthomas ◴[] No.44380297[source]
If you uv install llm Then grab my shelllm scripts github.com/irthomasthomas/shelllm and source them in your terminal then you can use premade prompt functions like shelp "what's a nm and grep command to find this symbol in these 3 folders" -m gemini-pro

There's also wrappers that place the command directly in your terminal prompt if you run shelp-c

replies(1): >>44386575 #
53. ericb ◴[] No.44380322{3}[source]
Feedback: A command to add MCP servers like claude code offers would be handy.
replies(1): >>44380862 #
54. Xmd5a ◴[] No.44380415[source]
Hey the interface on YouTube loads super slowly for me. The change appeared a few months ago. I'm not talking about the video streams, but the ajax loading of the UI. Whether it's opening a new youtube tab or navigating between videos within youtube, it takes forever. Chrome/Safari -> same deal, 30 seconds delays is what I observe. My macbook pro is 10 years old, the problem doesn't appear on more recent hardware, but still youtube shouldn't be the slowest website to load on my machine. I can load spotify.com just fine in about 5 seconds.
55. cperry ◴[] No.44380571{4}[source]
PR in flight to update docs (if not already in)
56. cperry ◴[] No.44380577[source]
working on it
57. cperry ◴[] No.44380617[source]
if you explicitly select the sign in with google you'll get the free tier - it won't use your API key.
58. fhinkel ◴[] No.44380618[source]
Super weird! I've been using it the last week, and never hit the quota limit for free users. We're having some capacity issues right now, but that should not affect the quota. Would love it if you can try tomorrow or so again!
replies(2): >>44381835 #>>44383818 #
59. cperry ◴[] No.44380622[source]
not connected yet
60. cperry ◴[] No.44380628[source]
correct, sorry, known issue
61. cperry ◴[] No.44380631[source]
working on it!
62. _ryanjsalva ◴[] No.44380862{4}[source]
100% - It's on our list!
63. jadbox ◴[] No.44380918[source]
Does it have LSP (language server) support? How should I think of this as different from Aider?
64. nprateem ◴[] No.44380943[source]
Please, for the love of God, stop your models always answering with essays or littering code with tutorial style comments. Almost every task devolves into "now get rid of the comments". It seems impossible to prevent this.

And thinking is stupid. "Show me how to generate a random number in python"... 15s later you get an answer.

replies(2): >>44380960 #>>44381300 #
65. msgodel ◴[] No.44380960[source]
They have to do that, it's how they think. If they were trained not to do that they'd produce lower quality code.
replies(1): >>44384052 #
66. upcoming-sesame ◴[] No.44380971[source]
this seems to be the number one topic in this thread
67. mpalmer ◴[] No.44381300[source]
Take some time to understand how the technology works, and how you can configure it yourself when it comes to thinking budget. None of these problems sound familiar to me as a frequent user of LLMs.
replies(1): >>44384058 #
68. fooey ◴[] No.44381397[source]
workspace accounts always seems like an unsupported mess at google, which is a very strange strategy
69. ◴[] No.44381462[source]
70. kridsdale3 ◴[] No.44381702[source]
Congrats on your success. May you all be promoted and may your microkitchens be stocked.
replies(1): >>44383256 #
71. jrbuhl ◴[] No.44381835{3}[source]
It's happening to me with API Key usage. I assume there are no Terms of Use protections on our data unless we access Gemini CLI in a paid manner?

     [API Error: {"error":{"message":"{\n  \"error\": {\n    \"code\": 429,\n    \"message\": \"Resource has been exhausted (e.g. check quota).\",\n    
  \"status\": \"RESOURCE_EXHAUSTED\"\n  }\n}\n","code":429,"status":"Too Many Requests"}}]
    Please wait and try again later. To increase your limits, request a quota increase through AI Studio, or switch to another /auth method
However, in the Google cloud console I don't see any of the quotas going above their default limits.
replies(2): >>44381947 #>>44382037 #
72. cryptoz ◴[] No.44381947{4}[source]
Yeah this exact thing is happening to me also. Minutes of runtime and only errors. I guess I’ll try again later? I have billing up and I’m Tier 1. Wouldn’t expect to hit limits like this on the first prompt.
73. klipklop ◴[] No.44382037{4}[source]
Same here. I wish API users got priority over free Google account users...Guess I will wait until ~5pm when people go home for the day to try it.
74. newnimzo ◴[] No.44382064[source]
someone has already sent out a PR for this! https://github.com/google-gemini/gemini-cli/pull/1448
replies(1): >>44382301 #
75. cperry ◴[] No.44382295[source]
thank you kind stranger!
76. cperry ◴[] No.44382301{3}[source]
bless them
77. atlgator ◴[] No.44382998[source]
Thank you for supporting Windows natively.
78. cperry ◴[] No.44383256[source]
thank you kind stranger! may gemini only return you perfection on the first response.
79. owebmaster ◴[] No.44383306[source]
Why does this CLI don't support google's A2A?
80. jskherman ◴[] No.44383505[source]
Hello, thanks for the work for finally having an analog to Claude Code.

A natural question to ask is, if in the near future, can Google One "Google AI Pro" subscribers have higher limits than what is offered for free users?

81. ◴[] No.44383818{3}[source]
82. sagarm ◴[] No.44383967[source]
Is it really that confusing? Gemini is the equivalent of ChatGPT; AI Studio is for advanced users that want to control e.g. temperature; Vertex AI is the GCP integrated API; Notebook LLM is basically personal RAG; and Jules is a developer agent.

Many of these are not even remotely similar.

replies(1): >>44386951 #
83. nprateem ◴[] No.44384052{3}[source]
So why don't Claude and Open AI models do this?
replies(1): >>44384121 #
84. nprateem ◴[] No.44384058{3}[source]
Take some time to compare the output of Gemini vs other models instead of patronising people.
85. 8n4vidtmkvmk ◴[] No.44384121{4}[source]
O3 does, no? 2.5 Pro is a thinking model. Try flash if you want faster responses
replies(1): >>44385118 #
86. 8n4vidtmkvmk ◴[] No.44384133{3}[source]
And if prompt is too long for -p due to shell arg limits, pipe into stdio instead
87. dtech ◴[] No.44384650[source]
I did something very similar last week with Claude Code, which also had good results. Good to know Gemini CLI is on the same level of power.
88. manmal ◴[] No.44384705[source]
The thing that had me close it and go back to Claude Code immediately was how often Gemini CLI failed to make file changes. This doesn’t instill confidence at all, with it retrying edits multiple times - who knows what it ends up editing, then.

CC has this issue too, but way less often, and second shot almost always works.

89. CJefferson ◴[] No.44384811{3}[source]
So to be clear (this isn't your fault of course, this is a Google problem), as someone with my own domain for my email:

* First google forced me to start paying for my email domain.

* Then they increased the cost to force me to pay for AI features

* Now, I can't actually use the AI features without spending even more money, I could use them if I just had a gmail address and didn't pay google.

Well done Google, you've finally pursaded me to get around to transfering my custom email domain off google. Anyone have any preferences?

replies(2): >>44387228 #>>44388402 #
90. nprateem ◴[] No.44385118{5}[source]
No. We're not talking a few useful comments, but verbosity where typically the number of comments exceeds the actual code written. It must think we're all stupid or it's documenting a tutorial. Telling it not to has no effect.
91. bloppe ◴[] No.44385575[source]
Requests for documentation clarification:

- Here [1] it says "Project settings override user settings." How does gemini determine if we're in a project? Does it look for a `.gemini` folder in the current working directory as well as every parent directory up to the root? Would Gemini be able to read the contents of a subfolder of the CWD if the subfolder contains a different `.gemini` folder?

- I don't see documentation for the `selectedAuthType` field in the documentation for settings.json. Mine says `oauth-personal`. I could've sworn I signed in with my Google Workspace account. Does `oauth-personal` apply to Workspace accounts?

And a feature request: it would be nice to add a restriction in the settings.json file forcing anybody who uses gemini in that project to sign in to a Workspace account in a specific org (or use a specific project, I guess).

[1]: https://github.com/google-gemini/gemini-cli/blob/main/docs/c...

92. blitzar ◴[] No.44385992[source]
F for the TPUs.
93. ripped_britches ◴[] No.44386024[source]
Hi cperry - do you have an idea of when Gemini 2.5 live API will make GA? I saw a new GA label was created last week.
94. redhale ◴[] No.44386107[source]
Is LiteLLM integration on the roadmap? I get that part of the motivation to build this is to funnel usage to Google models, but it would be nice to be able to go through OpenRouter and/or use local models too. Open source is nice, but open model configuration would be nicer :)
95. bravura ◴[] No.44386388[source]
Thanks for building this! The tool shows a lot of promise. Coming from Claude Code, the core functionality feels solid - just needs some permission refinements to match enterprise use cases. This is based upon quickly skimming the current code.

High ROI feature requests:

• Pattern-based permissions - Bash(git:) to allow git but not rm, Write(logs/.txt) for path scoping

• CLI permission flags - --allowedTools "Read,Bash(npm test)" --deniedTools "Write" for session overrides

• Allow/deny precedence rules - explicit deny should override general allow (security principle)

• Config file hierarchy - system → user → project precedence for policy enforcement

Medium ROI improvements:

• Command argument filtering - whitelist git commit but not git --exec-path=/bin/sh

• Multiple config formats - support both simple arrays and structured permission objects

• Runtime permission diagnostics - gemini permissions list to debug what's actually enabled

• Environment variable injection - top-level env config for OTEL endpoints, API keys, etc.

The permission engine is really the key piece - once you can express "allow X but not Y within X", it unlocks most advanced use cases. Keep up the great work!

replies(2): >>44387468 #>>44388536 #
96. Game_Ender ◴[] No.44386575{3}[source]
The link you have posted 404’s and I could seem to find a command like that in your repos. Can you be more specific?
97. andyferris ◴[] No.44386951{3}[source]
I guess I don’t get why this wouldn’t be Jules CLI (or Jules wouldn’t be Gemini <something meaning cloud-ish not CLI-ish>).

So Vertex is like AWS Bedrock for GCP?

98. akrauss ◴[] No.44387079[source]
One thing I'd really like to see in coding agents is this: As an architect, I want to formally define module boundaries in my software, in order to have AI agents adhere to and profit from my modular architecture.

Even with 1M context, for large projects, it makes sense to define boundaries These will typically be present in some form, but they are not available precisely to the coding agent. Imagine there was a simple YAML format where I could specify modules and where they can be found in the source tree, and the APIs of other modules it interacts with. Then it would be trivial to turn this into a context that would very often fit into 1M tokens. When an agent decides something needs to be done in the context of a specific module, it could then create a new context window containing exactly that module, effetively turning a large codebase into a small codebase, for which Gemini is extraordinarily effective.

99. wkat4242 ◴[] No.44387130{3}[source]
It probably is more powerful though. I know the $30 copilot M365 from microsoft is way better than what they offer to consumers for free. I don't have a google account so I didn't check that.
100. akrauss ◴[] No.44387136[source]
There is one feature in Claude Code which is often overlooked and I haven't seen it in any of the other agentic tools: There is a tool called "sub-agent", which creates a fresh context windows in which the model can independently work on a clearly defined sub-task. This effectively turns Claude Code from a single-agent model to a hierarchical multi-agent model (I am not sure if the hierarchy goes to depths >2).

I wonder if it is a concious decision not to include this (I imagine it opens a lot of possibilities of going crazy, but it also seems to be the source of a great amount of Claud Code's power). I would very much like to play with this if it appears in gemini-cli

Next step would be the possibility to define custom prompts, toolsets and contexts for specific re-occuring tasks, and these appearing as tools to the main agent. Example for such a thing: create_new_page. The prompt could describe the steps one needs to create the page. Then the main agent could simply delegate this as a well-defined task, without cluttering its own context with the operational details.

replies(3): >>44387448 #>>44388153 #>>44388529 #
101. peatmoss ◴[] No.44387228{4}[source]
I use and like Fastmail.
102. leguy ◴[] No.44387432[source]
Could Gemini CLI be used for PR reviews? For example, would you expect that asking Gemini to compare two git commit hashes and analyze the code changes for potential bugs/conciseness/adhesion to the idiomatic project style, etc. to work well?

Edit: I tried it. The setup was a breeze. I fed the CLI two git commit IDs and some light prompting on what to look for. It gave a reasonable response. I'll try on a real PR shortly.

103. indigodaddy ◴[] No.44387448[source]
Would Gemini non-interactive mode be a stop gap if they don't have sub-agent equivalent yet?

https://github.com/google-gemini/gemini-cli/blob/main/docs/c...

replies(1): >>44387786 #
104. Phlogistique ◴[] No.44387468[source]
On the one hand, yes this has obviously high immediate value; on the other hand, I can't help but feel like you are giving access to multiple tools that can be used for arbitrary code execution anyway (i.e. running tests, installing dependencies, or running any linter that has a plugin system...), so blacklisting `git --exec-path=/bin/sh` for example is... Misguided? You would have a better time containing the agent in an environment without internet access?
replies(1): >>44387838 #
105. akrauss ◴[] No.44387786{3}[source]
Possibly. One could think about hooking this in as a tool or simple shell command. But then there is no management when multiple tools modify the codebase simultaneously.

But it is still worth a try and may be possible with some prompting and duct tape.

106. MrDarcy ◴[] No.44387838{3}[source]
It’s not misguided. The goal isn’t prefect security, the goal is mitigating risk and collaborating with cross functional security, compliance, platform, operations, etc… teams.

Use Jules, also by Google if you need what you describe.

replies(1): >>44388194 #
107. boplicity ◴[] No.44388083{3}[source]
This is happening to me as well, and it seems to be editing a slightly wrong file path which is presumably why the issue is occurring.
replies(1): >>44388429 #
108. desireco42 ◴[] No.44388145[source]
Overall it looks and feels good. I gave it a problem, like, what was it... to update website pages to use single layout, it wasn't trivial but it wasn't that hard. It burned through 7M tokens and like 20-25mins didn't accomplished it. I stopped it because I didn't want to waste more resources.

I think with better prompting on my end, as I have good experience with Gemini, this will be awesome. You probably could tweak a lot on your end as well, don't let it get stuck in cycles.

109. ramirond ◴[] No.44388153[source]
"sub-agent" sounds incredible! All tools should implement that.
110. kortilla ◴[] No.44388194{4}[source]
Aka security theater to please corporate security teams that are having trouble keeping up with the new world.
111. wordsalad ◴[] No.44388402{4}[source]
> First google forced me to start paying for my email domain.

Do you mean that they stopped offering the legacy free tier and you had to upgrade to a paid plan? If that's the case, they reverted their decision and it was possible to go back to the free tier. I don't know if it is still possible, as this was 3 years ago, but here's a thread outlining how to do it. https://www.reddit.com/r/gsuitelegacymigration/comments/urky...

112. foobar10000 ◴[] No.44388429{4}[source]
Double spaces in paths seem to screw it up - as well as high-bit characters - like a username. Uppercase seems to be finicky as well.
113. cperry ◴[] No.44388529[source]
conscious decision not to include it mostly to cut a release we could ship to land yesterday ;)

various forms of this are being discussed, this commentary is helpful thanks!

114. cperry ◴[] No.44388536[source]
feedback is a gift - thank you!!