<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Abhijith M on Medium]]></title>
        <description><![CDATA[Stories by Abhijith M on Medium]]></description>
        <link>https://medium.com/@abhijith.mulimani?source=rss-b9662cf282c5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*dmbNkD5D-u45r44go_cf0g.png</url>
            <title>Stories by Abhijith M on Medium</title>
            <link>https://medium.com/@abhijith.mulimani?source=rss-b9662cf282c5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 18:05:00 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@abhijith.mulimani/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Agentic AI for Genomics: Building Smart Pipeline Discovery with OpenAI + Weaviate]]></title>
            <link>https://medium.com/@abhijith.mulimani/agentic-ai-for-genomics-building-smart-pipeline-discovery-with-openai-weaviate-8eeaafa63394?source=rss-b9662cf282c5------2</link>
            <guid isPermaLink="false">https://medium.com/p/8eeaafa63394</guid>
            <category><![CDATA[conversational-agents]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[vector-search]]></category>
            <category><![CDATA[multi-agent-systems]]></category>
            <category><![CDATA[agentic-ai]]></category>
            <dc:creator><![CDATA[Abhijith M]]></dc:creator>
            <pubDate>Fri, 27 Jun 2025 12:19:06 GMT</pubDate>
            <atom:updated>2025-09-12T05:15:44.209Z</atom:updated>
            <content:encoded><![CDATA[<p>Managing genomic workflows at scale isn’t just a technical challenge — it’s an interface problem. As genomics becomes increasingly data-heavy and cloud-distributed, scientists and bioinformaticians are still left navigating static dashboards, or documentation-heavy UIs to find the right workflows.</p><p>Recently, we at <a href="https://www.nesterlabs.com/contact">NesterLabs</a> built an AI-powered agentic system designed to solve exactly this: enabling users to <strong>find and run complex genomic pipelines</strong> by simply describing what they need. No dropdowns, no filters — just natural language.</p><p>In this post, I’ll walk you through:</p><ul><li>the problem we solved,</li><li>how the agentic approach transformed the experience,</li><li>the architecture behind the scenes,</li><li>and why this can serve as a powerful template for building intelligent bioinformatics interfaces (or any domain-heavy search &amp; execution interface).</li></ul><h4>The Challenge: Genomic Pipelines Are Rich, Complex — and Hard to Query</h4><p>In genomics, a <em>pipeline</em> might include tools like STAR or BWA for alignment, parameters for trimming or normalization, and references to specific genomes. These pipelines are often stored as JSON objects containing nested metadata.</p><p>The real challenge? <strong>Discoverability.</strong></p><p>Researchers don’t always remember exact pipeline names or IDs — they think in terms of goals:</p><blockquote><em>“I want to align RNA-seq reads from mouse samples.”</em></blockquote><p>But traditional systems expect them to search by structured filters or specific keywords.</p><p>This gap between <strong>user intent</strong> and <strong>system vocabulary</strong> is where intelligent agents shine.</p><h3>Agentic Thinking: From Rigid APIs to Reasoning Systems</h3><p>Instead of building a static search API, We designed an <strong>agentic system</strong> that understands the user’s natural-language request, searches for the most relevant genomic pipeline, presents options, and then allows the user to trigger execution.</p><p>The core of this idea is powered by <a href="https://platform.openai.com/docs/assistants">OpenAI’s Agent SDK</a>, which allows the agent to:</p><ul><li>Interpret free-form queries,</li><li>Use custom tools to search or store pipelines,</li><li>Reason about next actions,</li><li>and adapt to ambiguous or multi-step requests.</li></ul><p>In other words, this isn’t a chatbot — it’s a smart workflow navigator that <em>acts</em>.</p><h3>Architecture Overview</h3><p>Let’s take a look at how this system comes together.</p><p><strong>Key Components:</strong></p><ul><li>OpenAI Agent SDK- Understands user prompts and executes reasoning</li><li>Weaviate Cloud Stores and retrieves vectorized pipeline documents</li><li>Python + FastAPI — Hosts API to execute selected pipelines</li></ul><h3>Storing Pipelines for Semantic Search</h3><p>Pipelines are stored as structured JSON documents with fields like:</p><pre>{<br>  &quot;id&quot;: 101,<br>  &quot;name&quot;: &quot;RNA-Seq STAR&quot;,<br>  &quot;description&quot;: &quot;Align raw RNA-seq reads to the mouse genome using STAR and generate count matrices&quot;,<br>  &quot;vector_field&quot;: [vectorised_value_depending_on_model]<br>  &quot;organism&quot;: &quot;Mus musculus&quot;,<br>  &quot;tools&quot;: [&quot;STAR&quot;, &quot;featureCounts&quot;],<br>  &quot;datatype&quot;: &quot;rna-atak&quot;,<br>  &quot;visibility&quot;: public<br>  &quot;workflow_steps&quot;: [...]<br>  &quot;nodes&quot;: [...],<br>  ...<br>}</pre><p>To enable <strong>semantic search</strong>, we vectorize the description (and optionally other fields) using sentence embeddings and store the vectors in <strong>Weaviate</strong>, a scalable cloud-native vector database.</p><p>This allows fuzzy, intent-based matching like:</p><blockquote><em>“Find me something that aligns RNA-seq from mouse samples.”</em></blockquote><p>Even if the pipeline description uses different words (e.g., “Mus musculus”, “transcriptome mapping”), it will still surface the correct results.</p><h3>Modular Tools for Action</h3><p>At the core, each agent uses simple, well-defined tools that perform specific tasks:</p><ul><li>search_pipelines: Performs semantic search in Weaviate.</li><li>run_pipeline: Triggers backend execution of a selected pipeline.</li><li>store_pipeline: Adds a new pipeline into the vector database.</li></ul><p>These tools are designed to be composable and stateless, letting different agents use them as needed. But the real intelligence of the system comes from how these tools are orchestrated — via a network of <strong>specialized agents</strong>, each with its own job.</p><h3>Specialized Agents for Specialized Jobs</h3><p>Building sophisticated AI applications often means breaking down complex tasks into smaller, manageable components. In agent-based systems, this translates into <strong>specialized agents</strong>, each focused on a distinct domain or function, orchestrated by a <strong>central manager</strong> that delegates responsibilities intelligently.</p><p>Here’s how the agent architecture works behind the scenes in this system:</p><h3>The Orchestrator Agent</h3><p><strong>Role:</strong> Acts as the air traffic controller — the central hub of the system. This agent is the user’s first point of contact.</p><p><strong>How it works:</strong><br>Its core job is to understand the user’s intent and <strong>hand off control</strong> to the specialized agent best equipped to respond. If the user query doesn’t fall under any known capability, it politely informs the user and avoids hallucination.</p><p><strong>Key Insight:</strong> This agent doesn’t solve problems directly — it ensures the right expert agent is doing the job.</p><h3>The Pipeline Upload Agent</h3><p><strong>Role:</strong> A domain expert focused entirely on <strong>adding new genomic pipelines</strong> to the knowledge base.</p><p><strong>How it works:</strong><br>When the Orchestrator detects an upload intent (e.g., uploading YAML definitions), it delegates the task to this agent. The agent uses the upload_pipelines tool to ingest pipeline data from a user-specified directory, then hands back control.</p><p><strong>Key Insight:</strong> Keeps ingestion isolated and robust.</p><h3>The Pipeline Search Agent</h3><p><strong>Role:</strong> The go-to specialist for <strong>semantic and structured search</strong> of pipelines.</p><p><strong>How it works:</strong><br>Upon receiving a search query handoff, this agent:</p><ul><li>Uses extract_query_metadata to pull structured information (genes, organisms, tools, etc.) from the user’s input.</li><li>Then calls pipeline_search using both the free-text and the extracted metadata.</li><li>Returns matching pipelines with essential metadata like pipeline_id for downstream actions.</li></ul><p><strong>Key Insight:</strong> Turns ambiguous queries into precise search actions.</p><h3>The Ask Pipeline Detail Agent</h3><p><strong>Role:</strong> Responsible for <strong>retrieving detailed information</strong> about a known pipeline.</p><p><strong>How it works:</strong><br>This agent activates when users ask something like “What does this pipeline do?” or “What parameters does it accept?”<br>It uses ask_pipeline_detail, optionally requesting pipeline_id if not clearly specified, and responds with concise details.</p><p><strong>Key Insight:</strong> Delivers pipeline-specific knowledge and keeps users informed.</p><h3>The Run Analysis Agent</h3><p><strong>Role:</strong> The <strong>executor</strong> — responsible for kicking off pipeline runs based on user intent.</p><p><strong>How it works:</strong><br>When the user intends to run a pipeline:</p><ul><li>The agent ensures it has both a pipeline_id and a sample_id. If either is missing, it prompts the user.</li><li>Calls the run_analysis tool to trigger execution.</li><li>Hands control back with a status update or result.</li></ul><p><strong>Key Insight:</strong> Bridges AI with backend execution, making the system actually “do” things.</p><h3>The Synthesizer Agent (Future Component)</h3><p><strong>Role:</strong> Designed to <strong>combine outputs from various tools or agents</strong> into a coherent final message.</p><p><strong>How it works (planned):</strong><br>While not yet central to the current loop, this agent is meant to aggregate results, refine the wording, and ensure the final user message is smooth and contextually complete.</p><p><strong>Key Insight:</strong> Creates polished, natural summaries of complex multi-step interactions.</p><h3>Collaboration and Context</h3><p>These agents aren’t isolated. They <strong>collaborate through handoffs</strong> and <strong>share memory</strong> using a centralized AgentContext.</p><p>This shared context stores:</p><ul><li>The user’s original query</li><li>Extracted metadata</li><li>The current pipeline_id, sample_id, or analysis status</li></ul><p>This enables agents to pick up conversations midstream, understand previous actions, and maintain flow across multiple steps — even when handled by different agents.</p><h3>Why This Architecture Works</h3><p>Dividing the domain into <strong>role-specific agents</strong> makes the system:</p><ul><li><strong>Modular:</strong> Easier to develop, test, and extend.</li><li><strong>Robust:</strong> Specialized logic is less prone to failure.</li><li><strong>Intelligent:</strong> The orchestrator ensures the right tool is always in use.</li><li><strong>Scalable:</strong> New capabilities can be added as new agents without disrupting the existing system.</li></ul><p>This multi-agent design isn’t limited to genomics. It’s a blueprint for any intelligent system that needs to handle complex, context-driven tasks — from document search, to devops orchestration, to customer support.</p><h3>Lessons Learned</h3><p>Here are a few key takeaways from the build:</p><ul><li><strong>Agents shine when decision logic is dynamic.</strong> Instead of hardcoding what to do next, the agent adapts to context and history.</li><li><strong>Vector databases like Weaviate are a game-changer</strong> for semantic querying over structured data.</li><li><strong>Modular agent design is crucial.</strong> Isolating functions across agents makes the system easier to extend and debug.</li><li><strong>Context persistence drives continuity.</strong> Shared context ensures each step is aware of what came before.</li></ul><h3>Final Thoughts</h3><p>If you’re building systems that involve complex search, dynamic workflows, or scientific data, the agentic paradigm is worth exploring.</p><p>This project demonstrates how <strong>semantic search + reasoning agents</strong> can create seamless interfaces on top of dense, structured knowledge.</p><p>We’re currently exploring opportunities to collaborate with research platforms, bioinformatics companies, and AI-first teams who want to bring agentic intelligence into their tooling.</p><blockquote><em>Let’s build systems that </em>think with<em> their users, not just wait for instructions.</em></blockquote><p><em>If you’d like to know how you can build one for your platform or see a demo — feel free to </em><a href="https://www.nesterlabs.com/contact"><strong><em>reach out</em></strong></a><em> or connect on </em><a href="http://www.linkedin.com/in/m-abhijith"><strong><em>LinkedIn</em></strong></a><strong><em>.</em></strong></p><p>Say hello @ <a href="https://www.linkedin.com/company/nester-labs/"><strong>NesterLabs</strong></a></p><p>More on what we’ve accomplished <a href="https://medium.com/@kunal_nester">can be found here</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8eeaafa63394" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>