Skip to content
Open access

PyKappa: Rule-based modeling in Python

Sep 2026 · bioRxiv · 0 citations · 40 references
Biology

Abstract

Summary Rule-based languages have proven effective for modeling systems of interacting structured entities as typically encountered in chemistry and molecular biology. We present PyKappa, a rule-based modeling package written in Python whose interpreted nature enables interactive simulation and analysis, including by agentic AI. The package seeks to broaden the base of developers by utilizing a widely known programming language and serves as an easy-to-deploy teaching tool. Using PyKappa, we conduct a case study of phase separation. Availability The official PyKappa website is https://pykappa.org, where code fo the phase separation analysis can also be found. The PyKappa source code is hosted at https://github.com/berkalpay/pykappa. Contact berk_alpay@g.harvard.edu

Read PDF

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.