CL API: Real-Time Closed-Loop Interactions with Biological Neural Networks
David Hogan, Andrew Doherty, Boon Kien Khoo, Johnson Zhou, Richard Salib, James Stewart, Kiaran Lawson, Alon Loeffler, Brett Kagan

TL;DR
The paper introduces the CL API, a Python-based interface that enables precise, real-time closed-loop interactions with biological neural networks, improving experimental control and reproducibility.
Contribution
It presents a novel contract-based API design that simplifies complex neural stimulation and closed-loop experiments without requiring low-level hardware management.
Findings
Enables sub-millisecond real-time interactions with BNNs.
Provides deterministic control and synchronization guarantees.
Accessible to non-expert programmers for complex experiments.
Abstract
Biological neural networks (BNNs) are increasingly explored for their rich dynamics, parallelism, and adaptive behavior. Beyond understanding their function as a scientific endeavour, a key focus has been using these biological systems as a novel computing substrate. However, BNNs can only function as reliable information-processing systems if inputs are delivered in a temporally and structurally consistent manner. In practice, this requires stimulation with precisely controlled structure, microsecond-scale timing, multi-channel synchronization, and the ability to observe and respond to neural activity in real-time. Existing approaches to interacting with BNNs face a fundamental trade-off: they either depend on low-level hardware mechanisms, imposing prohibitive complexity for rapid iteration, or they sacrifice temporal and structural control, undermining consistency and reproducibility…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNeural dynamics and brain function · Neural Networks and Reservoir Computing · Advanced Memory and Neural Computing
