Biomni: A General-Purpose Biomedical AI Agent

(github.com)

208 points | by GavCo 20 hours ago ago

34 comments

  • deepdarkforest 18 hours ago

    Interesting. It's just an agent loop with access to python exec and web search as standard, BUT with premade, curated, 150 tools like analyze_circular_dichroism_spectra, with very specific params that just execute a hardcoded python function. Also with easy to load databases that conform to the tools' standards.

    The argument is that if you just ask claude code to do niche biomed tasks, it will not have the knowledge to do it like that by just searching pubmed and doing RAG on the fly, which is fair, given the current gen of LLM's. It's an interesting approach, they show some generalization on the paper(with well known tidy datasets), but real life data is messier, and the approach here(correct me if im wrong) is to identify the correct tool for a task, and then use the generic python exec tool to shape the data into the acceptable format if needed, try the tool and go again.

    It would be useful to use the tools just as a guidance to inform a generic code agent imo, but executing the "verified" hardcoded tools narrows the error scope, as long as you can check your data is shaped correctly, the analysis will be correct. Not sure how much of an advantage this is in the long term for working with proprietary datasets, but it's an interesting direction

  • Edmond 20 hours ago

    This is nice, a lot of possibilities regarding AI use for scientific research.

    There is also the possibility of building intelligent workspaces that could prove useful in aiding scientific research:

    https://news.ycombinator.com/item?id=44509078

  • andy99 19 hours ago

    I'm sure they've thought of this but curious how it fared on evaluations for supporting biological threats, ie elevating threat actor capabilities with respect to making biological weapons.

    I'm personally sceptical that LLMs can currently do this (and it's based on Claude that does test this) but still interesting to see.

    • greazy 16 hours ago

      Creating a biological weapon requires a whole bunch of unique and specialised skills, equipment, safety measures (so you don't infect/kill yourself/your people) and even multidisciplinary skill sets. Take for example the Kameido (Japan) incident by the Aum Shinrikyo cult/religious group [1]. Same group which committed the Sarin attack [2].

      > The use of an attenuated B. anthracis strain, low spore concentrations, ineffective dispersal, a clogged spray device, and inactivation of the spores by sunlight are all likely contributing factors to the lack of human cases.

      Now you may say, that's bacteria, what about viruses? A similar set of problems would arise, how do you successfully grow virus to high titers? Even vaccine companies struggle to do this with certain viruses. Then the issue of dispersal, infectivity and mortality arise (too quick, it kills the host without spreading and authorities will notice, too slow, same problem: authorities will notice). I haven't even mentioned biological engineering which requires years of technical knowledge and laboratory experience combined with a intimate knowledge of the organism you're working with.

      What worries me the most is nature springing a new influenza subtype. Our farming practices, especially in developing countries, is bound to breed a new subtype. It happened in 2009 (H1N1pdm) and it is bound to happen again. We got lucky with H1N1pdm.

      1. https://pmc.ncbi.nlm.nih.gov/articles/PMC3322761/ 2. https://en.wikipedia.org/wiki/Tokyo_subway_sarin_attack

  • joelthelion 9 hours ago

    This is really cool, but I think the big question is whether it works and whether it's useful to a professional.

    Is there anyone in the field who could comment on this?

    • monadoid 8 hours ago

      that's definitely a big question but I don't think it's the big question. this is 100% progress and it's standalone cool

  • dbcooper an hour ago

    Anyone have a spare invite?

  • freedomben 20 hours ago

    Awesome! This is the type of stuff I'm most excited about with AI - improvements to medical research and capabilities. AI can be awesome at identifying patterns in data that humans can't, and there has to be troves of data out there full of patterns that we aren't catching.

    Of course there's also the possibility of engineering new drugs/treatments and things, which is also super exciting.

    • panabee 15 hours ago

      Agreed. There is deep potential for ML in healthcare. We need more contributors advancing research in this space. One opportunity as people look around: many priors merit reconsideration.

      For instance, genomic data that may seem identical may not actually be identical. In classic biological representations (FASTA), canonical cytosine and methylated cytosine are both collapsed into the letter "C" even though differences may spur differential gene expression.

      What's the optimal tokenization algorithm and architecture for genomic models? How about protein binding prediction? Unclear!

      There are so many open questions in biomedical ML.

      The openness-impact ratio is arguably as high in biomedicine as anywhere else: if you help answer some of these questions, you could save lives.

      Hopefully, awesome frameworks like this lower barriers and attract more people.

  • teenvan_1995 17 hours ago

    I wonder if giving 150+ tools is really a good idea considering context limitations. Need to check out if this works IRL.

    • Herring 17 hours ago

      There's an inner ToolRetriever which is a LLM call to select the most relevant tools/data/libraries.

  • epistasis 18 hours ago

    This is great, I've been on the waitlist for their website for a while and am now excited to be able to try it out!

  • dmezzetti 17 hours ago

    Very interesting work!

    If biomedical research and paper analysis is of interest to you, I've been working on a set of open source projects that enable RAG over medical literature for a while.

    PaperAI: https://github.com/neuml/paperai

    PaperETL: https://github.com/neuml/paperetl

    There is also this tool that annotates papers inline.

    AnnotateAI: https://github.com/neuml/annotateai

  • AIorNot 20 hours ago

    very cool -passed on to my friend who is working a Crispr lab

  • 13 hours ago
    [deleted]
  • 13 hours ago
    [deleted]
  • Domainzsite an hour ago

    [dead]

  • SalmoShalazar 19 hours ago

    Not to take away from this or its usefulness (not my intent), but it is wild to me how many pieces of software of this type are being developed. We’re seeing endless waves of specialized wrappers around LLM API calls. There’s very little innovation happening beyond specializing around particular niches and invoking LLMs in slightly different ways with carefully directed context and prompts.

    • gronky_ 19 hours ago

      I see it a bit differently - LLMs are an incredible innovation but it’s hard to do anything useful with them without the right wrapper.

      A good wrapper has deep domain knowledge baked into it, combined with automation and expert use of the LLM.

      It maybe isn’t super innovative but it’s a bit of an art form and unlocks the utility of the underlying LLM

      • mrlongroots 19 hours ago

        Exactly.

        To present a potential usecase: there's a ridiculous and massive backlog in the Indian judicial system. LLMs can be let loose on the entire workflow: triage cases (simple, complicated, intractable, grouped by legal principles or parties), pull up related caselaw, provide recommendations, throw more LLMs and more reasoning at unclear problems. Now you can't do this with just a desktop and chatgpt, you need a systemic pipeline of LLM-driven workflows, but doing that unlocks potentially billions of dollars of value that is otherwise elusive.

        • lawlessone 19 hours ago

          >pull up related caselaw

          Or just make some up...

          • mrlongroots 17 hours ago

            At the token layer an LLM can make things up, but not as part of a structured pipeline that validates an invariant that all suggestions are valid entities in the database.

            Can google search hallucinate webpages?

      • tedy1996 16 hours ago

        How is something that cant admit it doesnt know, and hallucinates a good innovation?

        • knowaveragejoe 13 hours ago

          Modern LLMs frequently do state that they "don't know", for what it's worth. Like everything, it highly depends on the question.

    • epistasis 18 hours ago

      The application of a new technology to new fields always looks like this. SQL databases become widespread, there's a wave of specialized software development for business practices. The internet becomes widespread, and there's a wave of SaaS solving specialized use cases.

      We are going to see the same for anything that Claude or similar can't handle out of the box.

    • goda90 16 hours ago

      Think of it this way: before the internal combustion engine people used animal power, steam power, human power, wind power, etc to move cargo, passengers, and even specialized loads like water pumps for the fire brigade. Then with internal combustion they did those things faster and at greater scale. That wasn't innovating on the ICE itself, or solving new problems. But it was still useful. Of course they also eventually did innovate on the ICE, and they solved new problems with it(heavier than air flight, for example) but it took awhile.

    • ImaCake 16 hours ago

      I suspect it's jumping on the hype train. Especially since its from a big Uni. Funding in research is all about marketing and latching onto the right keywords (just like VC really) so the most successful researchers are those who can market themselves effectively. Whether this tool is actually any good is secondary to whether it achieves the real goal of getting future funding for it's author.

    • okdood64 19 hours ago

      > We’re seeing endless waves of specialized wrappers around LLM API calls.

      AFAIK, doing proper RAG is much, much more than this.

      What's your technical background if you don't mind me asking?

      • SalmoShalazar 19 hours ago

        I’m a software engineer in the biotech space. I haven’t worked with RAG though, maybe I’m underestimating the complexity.

      • agpagpws 19 hours ago

        I work at a top three lab. RAG is just Mumbai magic. Throwaway. Hi dang.

        • jjtheblunt 18 hours ago

          What is a top three lab?

          • zachthewf 18 hours ago

            We know they don't work at OpenAI or Anthropic, but beyond that have no information

    • mlboss 18 hours ago

      By that argument every SaaS is a db wrapper

    • 19 hours ago
      [deleted]