# Scientists Meet Django: Building Bridges Between Research and Software with Barkha Jain

Source: https://djangotv.com/videos/djangocon-us/2026/scientists-meet-django-building-bridges-between-research-and-software-with-barkha-jain/
Date: 2026-10-26
Speakers: Barkha Jain
Text: lightly edited for readability (verbatim on the page)

## Transcript

[00:14] Hello, everyone. Am I audible? Yeah, okay. So I'm speaking today about building bridges between research and software. Here's a quick introduction about myself. I'd done my master's in organic chemistry and bachelor's in education, and I am also a trained Kathak dancer. And my Twitter handle is at the barkharate, barkha underscore jen underscore. So now let's get into this. Let me back up for a second and tell you how I actually got here, because I think the path matters for what I am about to say. I started in organic chemistry, spending years at the bench, running experiments, purifying compounds, writing them up for the papers.

[01:04] And here's the thing about those papers: they are written for other chemists, not for developers, not for the public. For a very, very narrow audience. I remember finishing a project that took the better part of a year and watching it become a PDF behind a paywall that maybe 200 people on Earth would ever open. That stuck with me, honestly. All that work and such a narrow door out into the world. At some point, I moved into STEM community leadership, organizing scientists, students, and technologists. And what struck me immediately was this.

[01:50] These groups almost never ended up in the same room. Scientists had their conferences; developers had theirs. Rarely did the two overlap. I had to go to a scientific meeting and hear people talk about data management like it was some unsolved mystery. And then I had to go to a developer meetup a week later and hear people talk about data management like it was Tuesday. Same problem, completely different rooms. And then I found Django. And it was a strange realization: the framework that was built for newsroom deadlines, for shipping features fast, for managing content at scale

[02:37] turned out to be exactly what research needed, too. So that's the arc of this talk: chemistry to community to code. And I think that combination gives me a slightly different lens on a problem I bet a lot of you have felt, too, even if you have never set foot in a lab. So let's start with the problem. A research lab produces an enormous amount of stuff: lab notebooks, spreadsheets, papers, months, sometimes years of work. And here's what I want you to sit with for a second: most of it stays exactly there

[03:22] in the notebook, in the spreadsheet, in the PDF, and maybe 200 people will ever read it. So I want to ask you a question, and I want you to actually think about it, not just hear it: how many discoveries never become useful simply because they never become software? Think about that for a second. A cure, a technique, an insight that could change something, sitting in a spreadsheet on someone's laptop because nobody ever built the bridge from that spreadsheet to something usable. It's not that researchers don't want the bridge to exist. It's that building it is not their job, and it is not their training.

[04:10] They are trained to discover things, not to ship them. That's the gap this talk is about. And I think Django is one of the best tools we have to close it. So here's something I noticed pretty quickly. Once I was living in both worlds, scientists and developers were solving the exact same problems. They just didn't know it. Look at this side by side. Where a scientist runs an experiment, a developer ships a feature. Where a scientist collects the data, a developer collects data, too. Reproducibility for a scientist is testing for a developer.

[04:57] Ask any researcher what keeps them up at night, and it is usually near the top of the list. Ask any developer the same question about their test suite, and you will hear almost the same anxiety in different words. Collaboration for a scientist is open source for a developer. Publications become documentation. Peer reviews become code review: somebody else reading your work critically before it goes out into the world. That instinct is identical in both fields. Same instinct, same vibes, same values, honestly: rigor, verification, sharing your work so others can build on it.

[05:44] Just completely different vocabularies and completely different tools. And once you see that mapping, you can't unsee it. These are not two different mindsets. They are the same mindsets wearing different clothes. So, if they are solving the same kind of problem, what are they actually working toward? Scientists think in hypotheses, experiments, publications. Developers think in products, APIs, deployments. Different languages again, but look at what's sitting in the middle: climate, healthcare, AI, sustainability, and education.

[06:33] These are the challenges both groups are actually trying to solve. Every single one of them needs scientific insight, and every single one of them needs that insight turned into something people can actually use. A climate model is only useful once someone builds a dashboard a policymaker can actually read. So the disconnect between these two worlds is not about ambition. It's not that developers don't care about climate change or that scientists don't care about usability. The disconnect is language and workflow. And that's a solvable problem. That's not a culture war. That's a translation problem.

[07:19] And translation is something we are actually pretty good at if we choose to be. Which brings me to why I am standing on a Django stage talking about chemistry. Django is not just a framework. Say that with me in your head for a second, because I think a lot of us, myself included, for a long time think of Django as a tool for building websites, blogs, admin panels, APIs. But that's underselling it. Django at its core is an engine for turning knowledge into usable tools. And research is knowledge: raw, unstructured, often locked away in a format nobody outside the field can open.

[08:07] But knowledge all the same. So let me show you exactly what I mean. This is the part of the talk I am most excited about, because once you see this mapping, I promise you will not look at a research lab the same way again. On the left, how scientists think about their work; on the right, how that maps directly onto Django. A research project is a Django project—not metaphorically, literally. It has the same shape: a defined scope, a team, a timeline, a set of goals, funding

[08:53] attached to it, deadlines attached to it. An experiment is a model. Think about it: an experiment has a structure, it has fields, it has relationships to other experiments, to the researchers who ran it, to the equipment that was used. That is a Django model, described in scientific language before anyone has written a single line of Python. Samples are your database: physical samples, sequence samples, tissue samples, whatever the domain. They are rows of structured data waiting to be queried, waiting to be filtered, waiting to be cross-referenced against every other sample that's ever come through the lab.

[09:40] Workflow is business logic: the steps a researcher takes, the validation, the order of operations, the approvals that have to happen before a sample moves to the next stage. That is the exact same thing as the business logic layer in any Django app you have ever built. A publication is a public web app, because that's what a publication actually is. If you strip away the PDF, it's the output meant to be consumed by an audience, meant to inform a decision. A research dashboard is your admin interface. Django ships with one for free

[10:25] and it is shockingly close to what most labs are trying to build from scratch, badly in Excel with macros nobody else in the lab can maintain. And results are an API: structured, queryable, something that other systems and other researchers can plug into instead of copying and pasting numbers out of a table in a paper. So here's the point I want to land before we move on: Django is not just a framework; it's an engine for turning knowledge into a usable tool. Every single piece of the research process has a Django-shaped hole waiting for it.

[11:17] So if Django maps this clearly onto research, how do you actually start building? I want to give you three principles, not Django features, a mindset. First, think beyond papers. A research output does not have to end as a PDF. It can become something that actually opens more than once. Imagine a public health dataset that's an actual queryable API instead of a zip file buried three links deep on a government website. Second, model scientific workflows: projects, experiments, samples, collaborators, datasets. These map naturally onto Django models, the way I just showed you.

[12:03] You don't need to invent a new abstraction. The abstraction already exists in the lab. You just have to go listen for it. Third, design for non-developers, because your users are not going to be developers. They are going to be scientists, educators, students, policymakers, citizens. Each of them interacts with your platform completely differently. And a good Django app respects that, instead of assuming everyone reads our database for fun. And here's the line I want you to remember from this section: the goal is not to digitize a lab notebook; it's to amplify scientific impact. Those are very different goals

[12:48] and they lead to very different software. So before we move on, three quick takeaways from this section, things you can actually act on this week: design for users beyond the research team; treat scientific data as a product, not just a publication; and start with reusable models and workflows. Don't rebuild the wheel for every single project. Write those down if you want, because I am going to keep coming back to this pattern. Every section of this talk is going to end exactly like this: a story, then something you can actually do.

[13:35] All right, I promise this talk would be non-technical, and it mostly is. But I want to give you about five minutes of something more concrete, because I think it makes everything else land harder. Here's the question I want to pose to you. In dev workflows, we already have something amazing that we mostly take for granted: a bot that watches every single pull request and flags problems before a human ever looks at it. We built that muscle years ago, and now it feels completely unremarkable. What if a research pipeline had the same thing? Let's put these side by side. In a dev workflow, an agent watches new pull requests.

[14:23] In a research workflow, an agent watches each new results row coming in from an experiment. In dev, it flags risky diffs; in research, it flags anomalies, outliers, results that don't match what's expected. In dev, it posts a review comment; in research, it writes a flag back to the model. And in dev, a human reviews the short list. In research, the scientists review it right inside Django Admin. It's the exact same pattern; we just have not applied it to research yet, at least not nearly as often as we could. Let me show you what that actually looks like.

[15:18] So here's the research review agent, and I want to walk you through it step by step, because every single piece of this is something you already know how to build. Step one: a result gets saved. That's just a normal Django model, getting a normal row inserted the way it happens a thousand times a day in any app you have ever shipped. Step two: that save triggers a background task. A signal fires, and it kicks off a Celery task. Step three: that task calls an LLM. It hands over the results and some context about the experiments: what was being tested, what past results look like. And it asks for a first pass.

[16:04] Does this look like an outlier? Does it contradict something we have seen before? Does it resemble a result from a completely different experiment that the research might not even note about? Step four: whatever comes back gets written into a review queue, not overwritten onto the original result that matters. Keep the original clean. It goes into separate models, flags, and related results, sitting there waiting for a human to look. And step five: the scientist opens Django admin, the same admin you already know, and reviews the short list, accepts it, dismisses it, and moves on with their day.

[16:50] And here's the point I really want to land: the agent does not decide anything. It triages. The scientists stay the reviewers, always. I want to show you just how small this actually is in code, because I think sometimes an AI agent sounds like it requires some brand-new architecture. It does not. This is a result model. It belongs to an experiment. It holds some JSON data, and it has a flagged Boolean. Completely ordinary, the kind of model you have written without thinking twice. Below it, a post-save signal on result, and when a new one is created, it kicks off a Celery task, which is the piece that actually calls the LLM.

[17:36] That's genuinely it, 9 or 10 lines. And the point I want to leave you with: here is this model, signals, background task. The agent is just another consumer of the structure. You are not learning a new framework to do this. You already know how to build this. You have probably already built something with this exact shape for a completely different reason, maybe a notification system, maybe a fraud check, maybe an image-processing pipeline. So, three takeaways from the technical section: agents plug into Django the same way any background worker does.

[18:23] There is no special agent framework you are missing out on. Model the review, not just the results; that separate queue matters more than the API, the AI call itself. And start with narrow, high-signal triage tasks before you get ambitious. All right, let's step back out of the technical weeds and talk about people. Because here's the truth: the biggest barriers between these two worlds are almost never technical. I have sat in rooms with brilliant scientists who say some version of this.

[19:10] “I don't know how to build software.” And I have sat in rooms with brilliant developers who say the exact mirror of that: “I don't understand the science.” And both of those sentences are completely true. And here's the thing: both of them are solvable. Neither one is a reason to keep working apart. Nobody in either of those rooms is wrong. There is just a missing bridge. And that bridge is not a technology; it's a set of habits and a little bit of intentional effort from both sides. So, what does that bridge actually look like in practice? Here are three patterns I've seen work over and over.

[19:55] First, start with problems, not technology. Don't walk into a room with researchers and ask, “What framework should we use?” Ask, “What scientific questions are we actually trying to answer?” The technology decision comes after that, and it comes easily once the question is clear. Second, build shared vocabulary. Scientists, developers, designers, community managers—every single one of them defines success differently. Third, make collaborations visible. Open-source it, document it, pull together a rough roadmap, and do regular demos, even small ones. That visibility is what turns one-off help into an ongoing partnership.

[20:42] And, you know, I have seen collaborations fail for exactly the opposite reasons. A developer builds in isolation for three months, then unveils something that scientists barely recognize because nobody checked in along the way. That's not a technology failure. That's a visibility failure. And it's completely avoidable. So, takeaways from this section: pair domain experts with developers from day one.

[21:31] So, takeaways from this section: pair domain experts with developers from day one, not after the architecture is already locked in. Build shared vocabulary before you write a single line of code, and document decisions for mixed-discipline teams, because what's obvious to you is very often not obvious to the person across the table. Okay, last big section, because platforms and collaborations only get you so far if there is no actual community connecting these worlds long-term. And I want to make this concrete, not just say that community matters because you have probably heard that a hundred times. University and Django meetups.

[22:18] Just invite researchers into the room developers are already gathering in. It's genuinely that simple, and it happens far less than you'd think. Most researchers have never been to a meetup like this one, not because they wouldn't enjoy it, but because nobody ever asked. Hackathons on real data, not generic build-a-todo-app challenges. Real scientific databases, real open questions. People show up differently, and they build differently, when the problem is real and someone actually needs the answer. Open source and citizen science lower the barrier for students to contribute and let the public become

[23:03] contributors instead of just consumers of research, the way biodiversity and astronomy projects already do beautifully. And two-way mentorship: scientists mentor domain knowledge, developers mentor software practice. Nobody has to become an expert in the other field. They just need one person who can translate. This is the part of the talk that is genuinely closest to my heart, because I have watched this exact pattern take a scientist who never touched code and a developer who never opened a research paper and turn them into a team that ships something real, something that outlives the hackathon weekend.

[23:57] So I want to leave you with this. Invite researchers to developer events and developers to research ones. Both directions matter. Contribute to scientific open-source projects; they need maintainers just as much as any other project does. And create recurring spaces, not one-off events. A single hackathon is a nice memory. A monthly meetup is a community. So let's bring this all together.

[24:44] If you remember nothing else from the next 20 minutes of your day, I want you to walk away able to answer three questions. How do I build a science-driven Django application? You know how to map research projects, experiments, samples, and workflows. They translate directly, and you don't need to invent anything new to get started. How do I collaborate with researchers? Start with the problem, build shared vocabulary, and make the work visible. And how do I help build the community around all of this? Invite people in, use real problems, and make the spaces recurring, not one-off. Build, collaborate

[25:30] and connect. That's the whole talk, really compressed into three words. It's build, collaborate, and connect. So I want to leave you with this: scientific knowledge changes the world only when people can actually use it. A paper sitting in a journal, read by two hundred people, that's not nothing. But it's not everything either. The next breakthrough might not need another paper. It might need a web application, an open-source community, and someone in this room. Maybe that's you. Maybe it's someone you partner with next month at a meetup you almost didn't go to.

[26:16] I started in a chemistry lab, writing things up, and I genuinely thought only a handful of people would ever read them. And somehow that path led me here, to a room full of people who build the tools that turn knowledge into something the world can actually use. Thank you so much.
