Patrick Kidger's Avatar

Patrick Kidger

@patrickkidger.bsky.social

I do SciML + open source! πŸ§ͺ ML+proteins @ http://Cradle.bio πŸ“š Neural ODEs: http://arxiv.org/abs/2202.02435 πŸ€– JAX ecosystem: http://github.com/patrick-kidger πŸ§‘β€πŸ’» Prev. Google, Oxford πŸ“ ZΓΌrich, Switzerland

4,668 Followers  |  648 Following  |  78 Posts  |  Joined: 17.10.2023  |  1.9908

Latest posts by patrickkidger.bsky.social on Bluesky

Automated ML-guided lead optimization: surpassing human-level performance at protein engineering
YouTube video by Patrick Kidger Automated ML-guided lead optimization: surpassing human-level performance at protein engineering

πŸš€ New talk!

"Automated ML-guided lead optimization: surpassing human-level performance at protein engineering"

▢️ www.youtube.com/watch?v=mEhB...

✨πŸ§ͺ This was a talk I gave at the recent AIxBIO conference in Cambridge UK. A 10-minute pitch for what we do at Cradle!

07.10.2025 13:26 β€” πŸ‘ 11    πŸ” 4    πŸ’¬ 0    πŸ“Œ 0

A reminder that there is now *1 week* left until the MLSB deadline on October 1st!
Send in your πŸ§ͺbio+πŸ€–ML papers, for either
πŸ‡ΊπŸ‡ΈSan Diego,
πŸ‡©πŸ‡°Copenhagen, or
✨both✨!

25.09.2025 15:03 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

πŸ’₯ We are *also* organizing Machine Learning for Structural Biology @ EurIPS, Copenhagen!!

Topics include anything in the ML+bio intersection.

Submit your ML+bio short papers! Authors can even present in both locations if they have people in both locations πŸš€

12.09.2025 13:44 β€” πŸ‘ 17    πŸ” 2    πŸ’¬ 0    πŸ“Œ 1

πŸš€ So `tinyio` hit the front page of Hacker News. Now we're at 487 GitHub stars :D

I've also just done a ✨v0.2 release✨. Now comes batteries-included with common operations (locks, yield-as-available, etc.) and with a major performance improvement.

GitHub: github.com/patrick-kidg...

04.08.2025 10:59 β€” πŸ‘ 9    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Preview
GitHub - patrick-kidger/typst_pyimage: Typst extension, adding support for generating figures using inline Python code Typst extension, adding support for generating figures using inline Python code - patrick-kidger/typst_pyimage

✨v0.1 release of typst_pyimage!✨

Do you:
- write scientific papers in Typst (boo hiss LaTeX)?
- have many matplotlib figures?

Would you like the code for those images inlined directly into your Typst file, and autogenerated when you compile it?πŸ”₯

github.com/patrick-kidg...

01.08.2025 12:47 β€” πŸ‘ 15    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0

This would run a tick of our event loop each time the asyncio loop gives control to it.

2/2

22.07.2025 21:01 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Thanks! I was also particularly happy landing on the list syntax.

Indeed it doesn't work with asyncio atm, but... I reckon doing so might just be as simple as adding an `await asyncio.sleep(0)` inside our `run` function (right before it calls `self._step`).

1/2

22.07.2025 21:01 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Also I really needer error propagation to/from threads running sync code, which trio doesn't support. I could have added it with a custom to_thread.run_sync wrapper but it was another reason to try my hand at my own minimal thing.

22.07.2025 12:04 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Yup, trio is excellent. I even recommend it in the README! πŸ˜„ For anything big and serious that is definitely the way to go.

This is one part hobby project to learn something, and one part building the simplest possible thing to support the use case I had in mind.

1/2

22.07.2025 12:04 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0
Preview
GitHub - patrick-kidger/tinyio: Ever used asyncio and wished you hadn't? A tiny (~200 lines) event loop for Python. Ever used asyncio and wished you hadn't? A tiny (~200 lines) event loop for Python. - patrick-kidger/tinyio

✨Announcing: tinyio!

A tiny barebones event loop library for Python. Born out of my frustration with asyncio...

GitHub: github.com/patrick-kidg...

It's nothing too fancy, just a little library that does one thing well. πŸ”₯

22.07.2025 11:35 β€” πŸ‘ 19    πŸ” 2    πŸ’¬ 3    πŸ“Œ 1
Integrations Engineer - Lab Automation THIS IS CRADLE Proteins are the molecular machines of life, used for many therapeutic, diagnostic, chemical, agricultural and food applications. Designing and optimizing proteins takes a lot of exper...

✨
We are hiring to build out our automated wet lab!
πŸ€–πŸ¦ΎπŸ§ͺ

jobs.ashbyhq.com/cradlebio/27...

10.07.2025 07:48 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Machine Learning Researcher in Protein Design (f/m/*) This is an exceptional opportunity to join a very early stage company reimagining protein design through a computational- and AI-first approach. If you’re an ML Researcher with experience in the field...

Whoops, wrong link!

Fixed: jobs.ashbyhq.com/cradlebio/49...

19.06.2025 18:01 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Machine Learning Researcher in Protein Design (f/m/*) Join a scaleup researching and operating ML-guided lead optimization of proteins. This means developing a combination of protein language models, and multi-property prediction and generation.

✨Cradle is hiring protein+ML researchers!✨

We operate ML for lab-in-the-loop lead optimization across all industries (pharma, synbio, ...), modalities (antibodies, enzymes, ...), properties (binding, activity, ...)

We're a scaleup and already relied upon by 4 of the top 20 big pharma.

Apply here!

18.06.2025 13:55 β€” πŸ‘ 10    πŸ” 6    πŸ’¬ 1    πŸ“Œ 0
Video thumbnail

We added Boltz-2 to our protein design package! Under the hood this relies on a JAX translation, which, thanks to @jeremywohlwend.bsky.social and @gcorso.bsky.social ’s clean code, was fairly easy to write. We’ve been getting great results -- and we have yet to explore the most exciting new features

12.06.2025 20:52 β€” πŸ‘ 21    πŸ” 5    πŸ’¬ 1    πŸ“Œ 0

...like `pdb`, but with a snappier interface, fewer commands overall, with a focus on a clean REPL/TUI experience to navigate the stack.

Now used by me... and adopted by a host of my coworkers at Cradle! 3/3

04.06.2025 13:13 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

This library brought to you originally by my need to debug re-raised exceptions in some of the libraries I'm using. Then in my usual fashion I kept adding features, and now we have a whole library πŸ˜„

If like me your debugging experience has been a lot of `pdb`, then this library is for you... 2/3

04.06.2025 13:13 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
A snapshot of the top of the GitHub README, describing its features.

A snapshot of the top of the GitHub README, describing its features.

A snapshot of the debugger's interface, showing an error and a view of the stack.

A snapshot of the debugger's interface, showing an error and a view of the stack.

πŸš€ Announcing: ✨`patdb`✨!

A fast, pretty, TUI/REPL debugger for Python. (Not a database!πŸ˜„) Think stdlib pdb, but with...

- Syntax highlighting
- re-raised+grouped exceptions
- robust to async/threading/multiprocessing
- ... !

> pip install patdb

GitHub: github.com/patrick-kidg...

1/3

04.06.2025 13:13 β€” πŸ‘ 6    πŸ” 1    πŸ’¬ 1    πŸ“Œ 0

Me please! :) I work on bioML. Google scholar mostly reflecting past work in broader sciML:

scholar.google.co.uk/citations?us...

23.05.2025 13:55 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Agreed! I have no idea how that works. Is it a thing I submit to or a thing they pick up?

22.05.2025 19:19 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Hehe! I originally intended to include the rest of bioML and was then like 'this post is becoming way too long' πŸ˜„

21.05.2025 05:59 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

A huge thanks to Owl, Johanna Haffner, and Jonathan Ziegler for their feedback on the article! I think we ended up with something great. (If a little intimidating.)

Also as timing would have it, also check out @ncfrey.bsky.social's post from yesterday!

ncfrey.substack.com/p/getting-st...

2/2

20.05.2025 13:41 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
A screenshot of the start of the blog post. Entirely text.

A screenshot of the start of the blog post. Entirely text.

πŸ”₯ Time for my first bioML blog post! This one is for all the folks getting into ML-for-protein-design.

✨ "Just know stuff, proteinML edition"

kidger.site/thoughts/jus...

This is intended as a curriculum-with-context, as a starting point for the field.

1/2

20.05.2025 13:41 β€” πŸ‘ 20    πŸ” 3    πŸ’¬ 1    πŸ“Œ 1

At CERN the next couple of days for a workshop. Send me a DM if you're around too πŸš€

19.05.2025 10:20 β€” πŸ‘ 7    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

And merged! πŸ˜ƒ

09.05.2025 16:56 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Awesome list - Equinox The documentation for the Equinox software library.

Shall we add this to the Eqx ecosystem page? I really like it.

docs.kidger.site/equinox/awes...

09.05.2025 06:48 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Oh this is pretty cool πŸ˜ƒ ESM-C protein language model in JAX+Equinox!

08.05.2025 20:03 β€” πŸ‘ 7    πŸ” 1    πŸ’¬ 0    πŸ“Œ 0
This is half tech-demo, half neural network library.

Equinox in brief

The design goals for Equinox were that it must be:

- as minimal as possible, and use no behind-the-scenes magic;
- of functional style, working with existing JAX operations like jax.jit without difficulty;
- offer a PyTorch-like class-based syntax to build models.

Equinox is a library, not a framework. It is not a wrapper around JAX, like many neural network libraries are.

This is half tech-demo, half neural network library. Equinox in brief The design goals for Equinox were that it must be: - as minimal as possible, and use no behind-the-scenes magic; - of functional style, working with existing JAX operations like jax.jit without difficulty; - offer a PyTorch-like class-based syntax to build models. Equinox is a library, not a framework. It is not a wrapper around JAX, like many neural network libraries are.

I also went back and took at look at one of the very early READMEs. I think we've stayed true to these goals!

(Also included: Equinox started out as a 'tech demo'. I had to procrastinate from real work somehow, after all. πŸ˜„)

03.05.2025 08:21 β€” πŸ‘ 5    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Used by: 1k

Contributers: 59

Used by: 1k Contributers: 59

πŸš€ I just spotted that we passed a really cool milestone: Equinox is now used by over 1k projects on GitHub.

*And* we actually also just passed 1k commits as well.πŸŽ‰

(github.com/patrick-kidg...)

03.05.2025 08:21 β€” πŸ‘ 18    πŸ” 2    πŸ’¬ 1    πŸ“Œ 0

...the results are now back, and it turns out that *all* of them would have the won the competition!

+ now with bonus analysis on expression, immunogenicity/humanness! πŸŽ‰

[2/2]

31.03.2025 11:03 β€” πŸ‘ 4    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

✨ We previously took 1st place on the Adaptyv protein binding competition.
πŸš€ In this update, we now take all of *top 12*!

Just one of our entries into the competion was tested at the time. Our prize for winning was to have our other designs be tested...

Post: www.cradle.bio/blog/adaptyv2

[1/2]

31.03.2025 11:03 β€” πŸ‘ 10    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

@patrickkidger is following 19 prominent accounts