I’ll preface this by saying I’m not an AI buff. I use it (unpaid) mostly for a search aid or assistance with setting up services in my homeserver (new to homelabbing) when I get stuck, as I don’t have an unlimited amount of time to devote to it due to life obligations.

My question is: Do you feel it is ethical and/or moral to use AI to develop FOSS?

I’m genuinely torn on this issue. Part of me feels it’s counterintuitive, yet the another part of me knows the probability of it going away are slim to none and using it to develop FOSS is a way to “use it against itself”, for lack of a better term.

This is my first post on Lemmy. I’m asking to please keep it cordial. I’m not looking for an elitist lecture. I genuinely want to know the community’s thoughts.

P.S. I’ve toyed with local models, but I don’t have the hardware to make them remotely useful. I’m still learning and tweaking to see what can be achieved on limited hardware.

  • mystic-macaroni@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    3 hours ago

    This is a great question I’ve been meaning to ask myself. Thanks for asking it. Having been vehemently against, I’m a recent convert. For me it was a matter of ethics vs convenience and efficiency. There’s a limit to how fast we can type that an llm isn’t bound by. I first tried running ollama locally, but it didn’t give me the power I wanted, so now I’ve been using Lumo and ollama cloud models for coding. I’ve been impressed with the results and it’s within my ethical standards. (As someone who isn’t a programmer professionally my concerns were primarily based on capitalism. Ollama is “better” but complicated)

    I’ve found two different modalities for the way I work both with different results. It comes down to how granular I can make my queries. When I’m writing something I’m more familiar with, like bash, I typically ask for things I already know how to do, but it would be slower to type. Then there’s other cases like writing elisp for emacs. Completely different. Those cases I admittedly vibe code with about the results you’d expect. It’s really given me something to think about.

  • librekitty@lemmy.today
    link
    fedilink
    arrow-up
    8
    ·
    11 hours ago

    i don’t trust the quality/sustainability of fully vibe coded software (ephemeral scripts/tools excluded)

    but i think that AI-assisted coding (ex: ai agent wrote a patch) is good with a few conditions: as long as humans are doing most of the work, designing the overall archtecture of the project, and the AI code is reviewed

    AI completions are fine too, to me, it’s literally just “smarter autocomplete” on what i was going to write anyways

    this is all with the assumption that we are using local/FOSS models. chatgpt, claude, grok, gemini, and other closed LLMs can get in the bin with the other proprietary software 🗑️

  • John Colagioia@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    22
    ·
    16 hours ago

    Personally, I think that using LLMs is a terrible idea, especially for Free Software. It creates a reliance on proprietary software[1]. Generated code has uncertain provenance, for the same reason that researchers can provoke LLMs to “auto-complete” famous books, undermining the license. LLMs rewrite instead of fixing, since the latter requires intelligence, so it makes less-maintainable code. And studies show that using models slows work down, rather than speeding it up.

    I’ve only found two arguments in favor: The technology is (allegedly) here to stay. And sure, the studies say that it slows down work, creates bugs in most of its changes, makes everything harder to maintain, alienates the team, and erodes skill, but don’t worry, because I have a system.

    I wouldn’t risk it on any project of mine, and especially not for anything released under a public license where it needs to promise people that they can use the code for any purpose.


    1. Yeah, some claim to have open source licenses, and the OSI is desperately trying to figure out how to approve AI-specific licenses. But since there’s no (useful) way to modify the model without the training data, it’s proprietary. ↩︎

    • numeral_paver555@lemmy.ca
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      12 hours ago

      Why do you think it’s a reliance (without it things will break) rather than a substitutable service?

  • EnsignWashout@startrek.website
    link
    fedilink
    arrow-up
    26
    ·
    19 hours ago

    My experience with ethically run (if unethically created) local models has been similar. Lots odd hardware to get slow mediocre answers.

    But the biggest reason AI competes with plain old web search is that they’ve enshittified the web search available to us.

    Corporate assholes are breaking search to force people to use their centralized harmful AI answer guessers.

    We can fight back with Searx. https://wiki.debian.org/FreedomBox/Manual/Searx

    • Hundun@beehaw.org
      link
      fedilink
      arrow-up
      2
      ·
      2 hours ago

      As someone who has been working with this as an employee, I believe you have hit the nail on its head, and not enough people are talking about this.

  • Hexorg@beehaw.org
    link
    fedilink
    arrow-up
    9
    ·
    16 hours ago

    The problem is that FOSS projects that are popular already have a a high quality standard because they are developed by very smart people who’s been developing for a long time.

    There is inherently a problem with current AI - It doesn’t learn.

    When a new developer joins a FOSS project they first spend weeks or even months learning this project’s specific coding practices, standards, and reasoning. I’ve been programming for 20 years and have a PhD. I can’t “just start contributing” to something like KDE because I’ve never looked at its codebase. I don’t know assumptions, methodology, or challenges that are baked into the codebase. I need to spend time to learn those to be a useful contributor.

    AI can’t learn unless you do gradient descend. The problem that you mention about sounding elitist is that those FOSS developers spend a good amount of their time training new contributors and everyone is proud of their work. Now you have people who are not ready to be contributors tell AI to contribute and it’s doing its best but it just can’t learn and even having a 200K token context is not enough to fit all those project specific assumptions and rhetorics in.

      • Hexorg@beehaw.org
        link
        fedilink
        arrow-up
        2
        ·
        12 hours ago

        I have no ethical problem with that but I can’t speak for the masses. But also it’s a bit in a grey area legally since it’s unclear who owns LLM outputs.

        • numeral_paver555@lemmy.ca
          link
          fedilink
          arrow-up
          1
          arrow-down
          1
          ·
          11 hours ago

          I also think there’s no ethical problem. But the latter part seems to be completely legal (so it’s specific to a country’s laws) rather than ethical, which I also agree with.

  • ambitiousslab@feddit.uk
    link
    fedilink
    English
    arrow-up
    11
    ·
    edit-2
    18 hours ago

    I use AI at work, but not at home.

    There was an interesting post here which reasons through when it’s ethical to use proprietary software to further FOSS. I generally agree with the argument, but AI doesn’t meet that threshold for me.

    I think our goal should be for everyone to be able to use FOSS for everything. That means, if we use proprietary tools, we have to be able to replace them eventually. Otherwise, we’re just dependent.

    But that doesn’t seem possible with AI yet. If there was a project making a truly open AI (open weights, open, consensually retrieved and properly licensed training data, open harnesses, open training infra etc.), and using existing AIs somehow helped with that, I’d be all for it.

    Another aspect is how it shifts the way things are made. Projects are built on collaboration and shared understanding, but AI is such a different way of working - so what does it mean for some people in a project to use it and others not to? Why would I spend a week working on a very tight, clean patch when someone else can re-implement literally the whole project in an hour? And why would they contribute to this shared project at all, when they can build something tailored exactly to their needs by themselves?

    It makes me wonder if FOSS as we know it will become less important, but open standards will become more important. Since you can make software tailored exactly to your needs, clients will proliferate. But when you have to integrate with others, you still have to negotiate and come to an agreement on how to connect together, so that work will be even more valuable.

    • Avid Amoeba@lemmy.ca
      link
      fedilink
      arrow-up
      6
      ·
      16 hours ago

      A really important part of FOSS is testing and bug fixing. Often the bulk of code is done by a small number of people but what makes their software truly useful is the testing and fixing contributions. Unless LLMs could deliver bug-free code, the FOSS projects that have community and userbase would always be more reliable and therefore useful than bespoke LLM-written software. I wouldn’t write my own grep with some custom feature. I’d use GNU grep and augment it with another tool, or perhaps get an LLM to add the feature I need to it.

      • ambitiousslab@feddit.uk
        link
        fedilink
        English
        arrow-up
        5
        ·
        15 hours ago

        What made me think along those lines is that someone I know vibe-coded their own personal/private XMPP client recently. I’m sure it has lots of problems, but it does what they need and has a nice UI that looks how they wanted. In their case, it doesn’t need to be bug-free - just bug-free on their machine, for the tasks that they do with it.

        But for some software, I definitely agree about the reliability and edge-cases / environments. Knowing 1000s of people have tested my backup software and ironed out the bugs is a big plus. I can’t imagine many people would want to use a vibe-coded one.

        Thinking about Blender, IIRC, their filetype is effectively a memory dump of the process. So, if I worked in an animation studio and wanted a custom feature, I’d definitely write a plugin instead of making a bespoke tool. But then again, if I could export to .ofx or another common format, and have everything import perfectly, I’d be more tempted to go for a bespoke tool again. It’s interesting to think through the scenarios.

        • Avid Amoeba@lemmy.ca
          link
          fedilink
          arrow-up
          3
          ·
          13 hours ago

          That’s related to the proverb “writing code was never the main part of software engineering.” Also related to the difference in difficulty of writing the first 90% and the last 10% of useful software.

  • Mucki@feddit.org
    link
    fedilink
    arrow-up
    9
    ·
    17 hours ago

    To save time, yes. To save on your skill, no.

    Or in other words: only those, who are already masters, should use it.

    • Helix 🧬@feddit.org
      link
      fedilink
      arrow-up
      7
      arrow-down
      1
      ·
      14 hours ago

      only those, who are already masters, should use it.

      let’s see what Dunning and Kruger think about that, lol.

      A stick figure reasons that being good with numbers should make them understand the stock market, then loses money anyway.

      • Mucki@feddit.org
        link
        fedilink
        arrow-up
        3
        ·
        6 hours ago

        The stock market is made up, but not ruled, by numbers. Engineers are often overestimating themselves, specially in politics. Being good in the one thing doesn’t mean being good at all other things.

  • locuester@lemmy.zip
    link
    fedilink
    English
    arrow-up
    14
    arrow-down
    4
    ·
    17 hours ago

    I use massive amounts of AI for home lab dev and operations. It’s an incredible tech that unlocks so much for homelab devs. I never would have the time or patience to build out an entire system like I have now.

    It has allowed me to de-google my life completely now. I run SSO with a mail server, file server, gitea, arr stack, immich for photos, and dozens more things. The whole stack monitors and acts on alerts by itself. Quite wild.

    I use a couple DGX Spark boxes for inference. Currently running Deepseek v4 Flash 0731.

    I have zero reliance on big tech now (aside from the annoying Google sso; that will take time to migrate away from).

    So yes, I use AI just a tad. It would be foolish not to.

    Some background: I’ve been a professional software dev/arch for 35 years.

    • Chaphasilor [he/him]@lemmy.ml
      link
      fedilink
      arrow-up
      1
      ·
      6 hours ago

      Why not V4.1 Flash? I know it’s hard to keep up with these releases.

      But yeah, for personal projects it’s pretty great, but I honestly don’t want to become “stuck” with it, where I am not able to fix my setup without relying on AI.

  • James R Kirk@startrek.website
    link
    fedilink
    English
    arrow-up
    15
    arrow-down
    1
    ·
    19 hours ago

    LLMs can quickly produce outputs that can fool people into thinking a human wrote it, but they cannot write “good” code for the same reason they cannot write good prose, and that’s because they have no understanding of what the code means. The only thing they are rewarded with in training is “are humans able to tell that this thing wasn’t made by a human?” and if the answer is “no” it gets it’s digital training cookie. That’s all LLMs “know”.

    So getting back to your question, there is no reason LLMs can’t be used to assist a programmer, or even one day quickly create bespoke software for single use/short term purposes. But a project being FOSS kind of definitionally implies collaboration to ensure reliability which is very difficult when LLMs are used, since again, they don’t have an understanding of what specific code actually means.

    IMO anyone ascribing ethics or morals to LLMs (not its use but the technology itself), even in a negative light is grossly exaggerating their capabilities, often unintentionally. LLMs do not have will, they cannot develop a will. They are not curious, they cannot become curious, they cannot understand the world. They do not understand English or Javascript.

  • eleijeep@piefed.social
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    1
    ·
    17 hours ago

    I’m not looking for an elitist lecture. I genuinely want to know the community’s thoughts.

    What if the community’s thoughts are an elitist lecture? I don’t know what qualifies as that, but it makes the question a bit loaded. I’m not sure it’s the best way to get a balanced set of answers.

  • schnurrito@discuss.tchncs.de
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    16 hours ago

    I don’t see anything wrong with using AI for almost anything at all (including this), as long as there is human review every time. I do not see how the free software philosophy, by itself, either endorses or condemns AI.

  • Rentlar@lemmy.ca
    link
    fedilink
    arrow-up
    7
    arrow-down
    1
    ·
    edit-2
    18 hours ago

    Personally, the local model seems to be the future for AI within FOSS, and I think it may be refined to have lower usage requirements for a specific capability to run on smaller machines, not sure how much better general purpose models will get but after trying them, I expect modest progress over the next few years.

    I don’t trust the large frontier models and the push to build data centers, that’s a grift at the expense of spending that could be useful elsewhere.

    I’m lucky enough to have bought a 3090 2nd hand when they weren’t insanely expensive in 2023. I’m trying “vibecoding” on my personal half-finished coding projects. My coding style is poor by most professional standards, but the edits I have had my local model (Qwen 3.8 27B UD Q4) and harness (llama.cpp and Opencode) spit out are reviewable to me, make logical sense, follows my existing conventions and does run correctly. I think it is by default on highest quality, which means writing one function takes 15m to an hour, but I’d rather it be slow and hallucinate in my code less. There are other optimizations I could make to have it run faster, but it’s not a big deal to me. I can code the functions myself in less time, but what I think it is best at is catching bugs and my mistakes.

    • Avid Amoeba@lemmy.ca
      link
      fedilink
      arrow-up
      4
      arrow-down
      1
      ·
      edit-2
      18 hours ago

      More or less my thought process so am not rewriting it. Local Qwen 3.8 27B Q8 produces useful output that saves development time. It’s better at some things than others. It can save phenomenal amount of time in certain tasks like parsing codebases one’s unfamiliar with. Same with documentation. Given that FOSS is mostly volunteer work, time saving tools tend to be a benefit, if the quality can be maintained. And quality can be maintained when one has that as a goal and not pushing the absolute maximum amoumt of code. Then there’s also the tasks where quality doesn’t matter beyond the happy path working, e.g. build scripts. FOSS has such wide positive effects that the ability to make more of it should be balanced against the cost of the tools.

  • the_q@piefed.social
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    18 hours ago

    At this point code written in part with AI is in almost everything. Morals and ethics went out the window when convenience came knocking and everything since has been justifying hypocrisy.

  • dragnucs@lemmy.ml
    cake
    link
    fedilink
    arrow-up
    4
    arrow-down
    1
    ·
    19 hours ago

    It is very expensive to self host your AI/LLM and have it function locally. You sure can self host it and get it to work correctly but it too slow or too inaccurate for anything useful. Maybe some new model can be made to run on comoddity hardware or that new cheap hardware can be made to run AI decently, but as of now, on all the equipment I have, I cannot get it to a usable state. You can watch videos on internet on what it takes to get it to run and still have mediocre results.

    • Riskable@programming.dev
      link
      fedilink
      English
      arrow-up
      6
      arrow-down
      2
      ·
      19 hours ago

      Qwen3:14B works fine on my 4060 Ti 16GB.

      It’s not good at debugging and what I would consider, “figuring complicated things out” but it’s perfectly capable of working on/creating several functions at a time or generating a medium-length Python module. Which is how I prefer to write code (with AI) anyway (little bit at a time; don’t let it be your architect!).

      My buddy has a 5090 and runs Qwen3:27B. With that much VRAM it can handle a LOT more context and it’s apparently all he needs now. He stopped paying Anthropic shortly after that model came out.