Rex Ma (@RexMa9) header
Rex Ma (@RexMa9) profile picture

AI for biology & drug discovery | PhDone @UofT

Toronto, Ontario
Joined April 2018
Photo by Rex Ma (@RexMa9)Photo by Rex Ma (@RexMa9)Photo by Rex Ma (@RexMa9)Photo by Rex Ma (@RexMa9)Photo by Rex Ma (@RexMa9)Photo by Rex Ma (@RexMa9)Photo by Rex Ma (@RexMa9)Photo by Rex Ma (@RexMa9)Photo by Rex Ma (@RexMa9)
Pinned Tweet
Excited to see X-Scientist launch! Proud to be one of the core builders of its harness alongside an incredible team @Xaira_Thera. Here’s what building it taught me about domain-specific agents 👇 1, The model is general. The harness is where domain knowledge lives. Frontier models already “know” a lot of biology. What they lack is the scaffolding to think like a drug hunter: which evidence counts, what order to reason in, when to change course. Our key design choice was to separate scientific thinking from execution. Once coordination and verification are their own layer, they become something you can optimize, and that’s where domain knowledge gets encoded. 2, Tools > prompts. A drug discovery agent needs tools built for its domain. We built ours around our own models like X-Cell and X-Design, alongside bioinformatics and scientific analysis tools. Each tool has to return outputs the model can reason over, not raw dumps. 3, Your verifier is your moat. Coding has unit tests. Biology has noisy data and slow wet-lab loops. Deciding what “good” looks like at each step, and checking it automatically, is what keeps an agent grounded instead of drifting into confident nonsense. It’s also what lets scientists trust its output and step in where it matters. 4, The thinking layer learns. Because scientific reasoning is separated from execution, it can improve on its own. Every run leaves a trace of which strategies produced real evidence and which burned effort. We feed that back into how the agent plans, allocates and verifies. Each run makes the next one a better scientist. General-purpose agents will keep getting better. But in high-stakes science, the last mile belongs to whoever builds the best domain harness. 🚀
Meet X-Scientist: our step toward a self-improving virtual drug hunter! Today, we’re introducing Xaira’s agentic AI platform for drug discovery: 🧠 Beats Codex using the same Astra model by 7.4 percentage points on DrugDiscoveryBench. 🧬 Nominates targets ~10× faster than human curation, with a comparable wet-lab hit rate. 🔁 Conducts autonomous research, outperforming AutoResearch and AutoScientists in the PerturbQA benchmark. Here’s what we built, what we tested, and where we’re going. 🧵
3
5
24
2,368
Rex Ma retweeted
Harnesses used to be a crutch for weak LLMs. In 2026 and onward, with stronger models, harnesses now offer a mechanism for composing an LLM’s existing and new capabilities to generalize well beyond their training environments. In our new paper, LM Harnesses are Compositional Generalizers, we explore how various harness abstractions enable LM systems to generalize over task length, task strategies, recursive task depth, and more through composing existing LLM capabilities. These abstractions provide a means for more data-efficient training, especially over long tasks, by keeping trajectories locally in-distribution (LID) — i.e., shaping all individual LLM calls to be in-distribution. For tasks that take a very long time to roll out, this implies that we can even perform surrogate harness training, meaning we train an individual LLM call instead of doing the very long harness rollout, using purely synthetic tasks, with fake tool calls + sub-agents! A common idea floating around is that LLMs will absorb harnesses and make them obsolete. We disagree, and argue that we haven’t sufficiently explored what harnesses can provide. The full paper, logs, codebase, and data are available: alphaxiv.org/abs/2611.harnes… w/ @SOURADIPCHAKR18 @lateinteraction
79
225
54
1,583
201,098
Thank you to everyone who took part in the second Virtual Cell Challenge. 805 teams made a final entry, predicting responses to 300 CRISPRi knockdowns in three cell lines with no training data. Today we’re announcing the winners and reflecting on what we learned.
9
25
6
134
21,490
Cool work from @blankbio_ folks
We're excited to introduce Ladon, the best transcriptomic foundation model designed specifically to address the needs of the clinical community. We focus our evaluations on clinically relevant tasks and like predicting progression-free survival. The model is trained jointly on bulk RNA and single-cell sequencing data to make the most of RNA. This is a labor of love, so there is a lot of cool technical content, including cell type deconvolution, joint modeling of expression and isoform sequence, and tissue aware isoform prediction
1
7
299
Your heart, brain, and immune system share the same DNA sequence. So how can a single-letter change affect disease in some cells, while sparing the rest? AlphaGenome 2 is our new AI model that zooms in on specific cells to help scientists understand what drives disease. 🧵
280
469
262
3,048
509,686
Rex Ma retweeted
frontier models, with lots of test time compute, are becoming the engine of scientific discovery
422
404
151
7,497
577,580
We're using AI agents to automate everything. Except the engineering of AI agents themselves. That seemed backwards to us. What if you could train your own specialized AI agent with just 15 minutes of your time instead of months of AI engineering? Would you keep renting the same expensive generic models as your competitors, endlessly patching prompts and harnesses until you hit a wall? Today, we're launching the agent that builds, trains, and continuously improves AI agents. 🚀 Meet FAiE, our Frontier AI Engineer. Describe what your agent should accomplish, and FAiE designs evaluations, diagnoses failures, curates data, selects training strategies, and runs experiments. 15 minutes of your effort. A few hours of automated AI engineering. Your own specialized agent, with its model weights trained for your task. Already have an agent? Keep your harness. Connect it to @oumi_ai and train the model behind it with SFT, DPO, or GRPO (Private Preview). The agent that builds your best agent. Excited to see what you build: platform.oumi.ai/ Live demo today at 10 AM PT: oumi.ai/events/fall26
113
76
127
320
1,206,436
This is MCP for harnesses. the model used to be the thing you picked, now it's the harness. With this you can quickly find the most cost-efficient harness for your task and stop paying the harness tax nitter.gq/akshay_pachaar/status/…
Harness Engineering 2.0 is here! After protocols for tools, agent communication, and agent interfaces, harnesses now have one too. Developers just built UHP (Unified Harness Protocol), a standardized interface for running agent tasks across any agent harness. HarnessRouter is its open-source server implementation. Here’s how it works: - The product backend sends a task with a `harness_id`. - HarnessRouter starts the selected harness in its own session. - The harness runs its native agent loop and streams back progress. - Files, artifacts, failures, and the final output return through the same interface. Without UHP, integrating every harness needs separate handling for task execution, sessions, streaming, files, recovery, and output formats. With UHP, Codex, Claude Code, Gemini CLI, Hermes, Pi, and other harnesses can plug into the same product backend while keeping their native tools, skills, models, and agent loops. This means developers can: - Switch harnesses without rebuilding the product integration. - Run the same task across different harnesses. - Add new harnesses without maintaining another execution stack. HarnessRouter currently supports 30 harness bases. Here’s the repo: github.com/HarnessRouter/har… (don’t forget to star it ⭐) As per official benchmarks, changing only the harness while keeping the model fixed reduced costs by 25% to 64% across several healthcare compliance tasks. And changing both the harness and model widened the difference to 99.8% between the highest and lowest-cost configurations. Developers can test their own workloads across different configurations using Harness Arena. Alibaba Cloud's Qoder has also adopted UHP, making it available as an agent backend through the HarnessRouter API. If you want to dive deeper, I already wrote an article that explains why model routing is different from harness routing and what supporting multiple agent runtimes actually involves. It also covers UHP, the local setup, a working API call, and how sessions and files work. Read it below.
2
2
232
Agents built for productivity are converging on one design. From DeepSeek’s Superagent to personal assistants like Grok Bot, the shape is the same: a persistent, proactive agent up front, fanning work out to parallel workers. Our X-Scientist was designed around this from the start. A lead agent handles coordination and verification, and persistent workers do the execution. If the architecture is becoming standard, where does a custom harness get its edge? Sharing my thoughts in two points: 1. The "router" is where domain knowledge belongs. In DeepSeek’s Superagent, the router is deliberately thin. It’s the single front door for every human interaction. It hands each task to an isolated worker and keeps the global context, but it never executes or decomposes work itself. A light model is enough for that. X-Scientist’s lead agent plays the same coordinating role, plus one critical addition: verification. It checks each stage against explicit evaluation criteria. Then it decides whether the evidence supports continuing, trying another approach, or revising the plan. When several workers attempt the same task, it picks the result the evidence best supports. That shows where a domain-specific harness should invest. Execution is becoming a commodity, because any strong model can run a subtask. What doesn’t transfer across domains is judgment: what’s worth doing next, and what counts as “done.” That judgment belongs in the router layer and things can be creative with "router". 2. Human-in-the-loop: make human attention go further, don’t remove the human. Deepseek's blog points out that human attention has become the bottleneck on what agents can deliver. However simply cutting the human out isn't the fix for many domains. In drug discovery specifically, the human decision is the most important thing to keep. Scientists have to make calls on limited evidence, and those calls decide where months of work go. I see two directions: A) Ask at the right moment. Treat human attention as the scarcest resource in the system and schedule it carefully. Interrupt when a human answer is worth the most: high uncertainty, high cost, or a decision that can’t be undone. Batch or defer the low-stakes ones. B) Let expertise compound. Every time a scientist makes a call, the reasoning behind it usually gets lost in a meeting or a Slack thread. A harness can capture those decisions inside the agent loop and use them to train decision models or domain LLMs. Those models can then handle the recurring calls the way the team would. Scientists spend their attention on the decisions that are actually new. The architecture is converging. The edge is in how much domain judgment the harness can hold: in the "router", deciding what’s next and what counts as done, and in the loop with the human, deciding when to ask and learning from every answer. Get both right, and an organization stops renting general intelligence and starts owning its own. Read more on our X-Scientist blog: xaira.com/news/x-scientist-r…
4
2
11
590
The coding interview is dead, at least for my team at Anthropic. I've seen enough to know that it no longer provides signal. I removed it from loops this month. I have a spicy, optimistic take - I think there's an opportunity for junior engineers: felixrieseberg.com/hunger-be…
646
1,562
751
15,615
2,865,607
Rex Ma retweeted
The biggest bottleneck in AI for biology is still the wet lab. AI can generate more ideas than our labs can test. Closing that gap is how we turn better models into faster discovery. Today, we’re introducing X-Automate at Xaira: bringing agentic AI and physical robotics into the lab. 🧵
34
91
20
651
42,768
X-Automate + X-Scientist for closing lap in the loop 🧪
Meet X-Automate: our step toward a self-driving lab! We’re connecting @Xaira_Thera's agentic AI to the physical lab: 🦾 X-Bot operates instruments built for people. 🧠 X-Scientist coordinates sample preparation, transport, and analysis. ⚙️ 80% more plates analyzed over seven days vs. a modeled weekday 9-to-5 loading schedule. Here’s what we built, tested, and learned. 🧵
1
1
7
359
We’re betting our $5.5M seed round that the next leap in AI coding won’t come from OpenAI or Anthropic. It’ll come from a new feedback loop that learns from you. Introducing Beacon: open-source, self-improving memory for coding agents. Your sessions capture how you debug and solve problems. Today, that context gets lost and you have to re-explain things every time you switch tools. Beacon continuously distills your sessions into reusable skills across Claude Code, Cursor, Codex, and 20+ harnesses, so your next agent can learn from the last. Beacon is free and OSS 🌟 github.com/Asymptote-Labs/ag… Why should the frontier labs be the only ones winning with your sessions? You already did the work. Now let your coding agents learn from you.
329
167
143
1,569
634,939
Rex Ma retweeted
Cost and speed are the small prizes here , yet sovereignty is the big one. A pharma renting frontier intelligence is strategically exposed: access, pricing, and roadmap decided elsewhere, with its most sensitive data crossing a boundary it doesn't control. Meanwhile every major pharma already owns the one asset frontier labs can't replicate : decades of proprietary screens, assay readouts, and failed trials. Fine-tune open weights on that data and you own the whole stack: weights, inference, IP. That's AI sovereignty at company scale. The first pharma to internalize this compresses discovery timelines by years. The rest end up renting intelligence about their own molecules.
We were able to fine tune an open weight model (Qwen3.5-9B) on proprietary internal data at @coinbase, and it out performed frontier models, at much lower cost and speed, for a specialized task (fraud prevention in this case). I think we'll see more of this pattern inside companies. The frontier models are amazing generalists. But increasingly you'll see specialist models out perform on more narrow tasks, either working on teams, or by themselves. We're making it easy to fine tune models internally for our employees. We even have a skill for it in our internal harness that makes it easy to spin these up and start training them: "/fine-tune-and-serve-llm I want to fine-tune Qwen for payments risk review. help me get started" I imagine we'll have some backend services that could be replaced entirely by this new architecture.
3
8
44
4,501
Rex Ma retweeted
We’ve been quiet about protein design at @Xaira_Thera . Here’s what we’ve been building: Introducing X-Design, with results from two active drug programs that show what we think this field needs to deliver: speed to a useful lead, and access to targets that have resisted discovery. → 7 weeks from DNA synthesis to a preclinical lead on an oncology target, with the epitope and reagents already prepared. → A functional antibody antagonist against a challenging GPCR where conventional library screening AND llama immunization had failed. The bar we set for our model goes well beyond binding. The antibodies need to be human-like, functional, cross-reactive across species, and developable. Properties that have to come together in the same molecule for a program to move forward. That’s what makes these results exciting to me: designs tested in the lab, meeting the requirements of real programs in our pipeline. My bet is that the biggest impact of AI protein design will be expanding which diseases and targets we can pursue. We want to choose targets because the biology is compelling and to build the ability to make the right molecules. This is our first look at X-Design. Much more to come. See our blog: xaira.com/news/de-novo-desig…
20
23
5
182
18,532
Rex Ma retweeted
Nearly half a year of silence. We spent it studying one problem: how far RL can scale. MiMo-V2.6 is in the middle of its RL run right now. Three things we scaled: compute (~2B tokens per step, 1568 prompts × 16 rollouts, fully async), environments and harnesses (multi-task agentic RL, mixed across multiple harnesses in one run), and grader compute (agentic in-group credit assignment, with test-case and rubric-based rewards). We'll open-source the details piece by piece over the coming weeks. Streaming the run: mimo.xiaomi.com/rl/
423
975
554
9,863
3,142,326