Re: LLM powered NetBeans

Maciej Jaros <[email protected]> Mon, 29 Sep 2025 10:10:12 +0200
Newsgroups gmane.comp.java.ide.netbeans.user
Organization MOL sp. z o.o.
Message-ID <[email protected]>
I would be more concerned that the project sends your secret keys or 
other secrets stored in your private files.

  * https://github.com/orgs/anahata-os/people - no public members...
  * https://github.com/anahata-os/anahata-netbeans-ai/commits/master/ --
    commits by "Your Name"...


Doesn't look great.

Cheers,
Maciej Nux

Owen Thomas (2025-09-29 03:09):
> I am interested in how an LLM could help make me work more 
> productively, but as always, I am concerned that an LLM could learn 
> from being exposed to my code... that wouldn't be so helpful.
>
> Just saying this is something I'm concerned about.
>
> On Mon, 29 Sept 2025 at 07:56, Pablo Rodriguez Pina 
> <[email protected]> wrote:
>
>     Hey Guys,
>
>     Just working on a plugin that simply turns netbeans into a VsCode
>     / Cursor type of IDE but at the same time can act as your
>     assistant and do things like do a security audit on your network
>     or turn off the lights in your house (its like gemini-cli and
>     alexa combined in one), it is fully capable of running shell,
>     writing, compiling and executing java code on the netbeans JVM
>     itself, you can tell the plugin to "close all the open tabs on my
>     editor" and open the ones you are talking about.
>
>     The llm gets your IDE alerts automatically: i can see you have a
>     warning there, do you want me to fix it?
>
>     You can "throw" as many free gemini api keys as you want, and it
>     will just poolm them at runtime, check it out, i havent got it on
>     the plugin portal, just after first thoughts, i am on discord if
>     anybody wants to chat
>
>     ---------- Forwarded message ---------
>     From: *Pablo Rodriguez Pina* <[email protected]>
>     Date: Sun, Sep 28, 2025 at 11:50 PM
>     Subject: Re: NbMavenProject
>     To: Gaurav Gupta <[email protected]>
>
>
>     Gaurav,
>     https://github.com/anahata-os/gemini-java-client
>     https://github.com/anahata-os/anahata-netbeans-ai
>
>
>     The plugin needs the other one to run, i havent got it in the
>     plugin portal, but you can check it out, right now it expects a
>     file called gemini_keys.txt to be in the "work directory"
>     (<user_dir>/.anahata/ai-assistant/gemini_keys.txt)
>
>     It is just basically like gemini-cli but pure java and inside
>     netbeans, has a chat, you can save your sessions, manages the
>     context window itself, will prompt you before
>     modifying code, running shell commands, accessing your file
>     system, it can take notes of your personal things: just say "take
>     a note of this blah blah blah"
>
>     It can even write, compile and run java code inside the netbeans
>     jvm and operate netbeans programmatically (close this tab, check
>     the output, etc)
>
>     It uses netbeans very own syntax highlighting to show you code
>     snippets
>
>     Let me know what you think, i am on discord
>
>     image.png
>
>     image.png
>
>     image.png
>
>
>
>     On Tue, Sep 16, 2025 at 6:11 PM Gaurav Gupta
>     <[email protected]> wrote:
>
>         Hey,
>
>         Since it’s in |org.netbeans.modules.maven| and restricted to
>         friend modules, you can’t directly depend on it with a public
>         API. What I did in *Jeddict AI* is declare it as an |impl|
>         dependency in the |nbm-maven-plugin| configuration (see
>         here<https://github.com/jeddict/jeddict-ai/blob/main/pom.xml#L151>).
>         That way the module is available on the runtime classpath of
>         the plugin, even though it’s not exposed as a regular API.
>
>         |<plugin> <groupId>org.apache.netbeans.utilities</groupId>
>         <artifactId>nbm-maven-plugin</artifactId> <configuration>
>         <moduleDependencies> <dependency>
>         <id>org.netbeans.modules:org-netbeans-modules-maven</id>
>         <type>impl</type> </dependency> </moduleDependencies>
>         </configuration> </plugin> |
>
>         This works, but of course it ties your plugin to an internal
>         API (so it might break across NetBeans versions). For AI
>         integration use cases, though, it’s often a practical compromise.
>
>         By the way, I’m based in *Lucknow, India*.  Do you have a link
>         to your GitHub project?
>
>         — Gaurav
>
>
>
>
>
>
>         On Tue, Sep 16, 2025 at 7:35 PM Pablo Rodriguez Pina
>         <[email protected]> wrote:
>
>             Gaurav,
>
>             I saw you fixed two deps on maven-embedder on github. Do
>             you know how to use NbMavenProject from inside a plugin, i
>             am also making an AI plugin, but mine just lets google
>             gemini call netbeans apis, right now it can do lots of
>             things but i can't get NbMabenProject on the runtime
>             /classloader of my plugin. It seems to be in modules-maven
>             but it is configured to only let "friend" modules use it.
>
>             Have you been there before? i lived in india for 3 years,
>             and i loved it. Mostly around bihar / jharkand.
>
>             Where about are you? i saw your jeddict plugin
>