losed-loop neuromodulation improves open-loop therapeutic electrical stimulation by providing adaptive, on-demand therapy, reducing side effects and extending battery life in wireless devices 1,2. Closing the loop requires low-latency extraction and accurate estimation of neural biomarkers 3-5 from recorded signals to automatically adjust when and how to administer stimulation as feedback to the brain. Recent studies have shown responsive stimulation to be a viable option for treating epilepsy 2,6 , and there is evidence that closed-loop strategies could improve deep brain stimulation (DBS) for treating Parkinson's disease and other motor disorders 7,8. However, there is presently no commercial device allowing closed-loop stimulation for DBS in patients with movement disorders, and strategies for implementing such stimulation are still under investigation. In fact, most attempts to close the loop for DBS treatments have been done only for short duration using systems that were not fully implantable 4,5,9-11. To enable advanced research in closed-loop neuromodulation, there is a need for a flexible research platform, for testing and implementing these various closed-loop paradigms, that is also wireless, compact, robust and safe. Designing such a device requires unification of multi-channel recording, biomarker detection and microstimulation technologies into a single unit with careful consideration of their interactions. Wireless, multi-channel recording-only devices capture activity from wide neuronal populations 12,13 , but do not have the built-in ability to immediately act on that information and deliver stimulation. Several complete closed-loop devices have been proposed and demonstrated, but are limited by low channel counts 14-17 and low wireless streaming bandwidth 14-18. Most recently, variations of the fully integrated and optimized closed-loop neuromodulation system-on-a-chip (SoC) have been presented, but full system functionality has not yet been adequately demonstrated in vivo 19-25. While future versions may be paired with miniaturized external battery packs and controllers, current systems built around these SoCs require large, stationary devices to deliver power inductively from a close range 19,21,23. This limits studies to using small, caged animals. Furthermore, any device for concurrent sensing and stimulation must be able to mitigate or remove stimulation artefactsthe large voltage transients resulting from stimulation that distort recorded signals and obscure neural biomarkers. Signals recorded concurrently with stimulation may contain relevant information for closed-loop algorithms or offline analysis, yet existing devices disregard these affected windows of data, or fail to reduce artefacts to an acceptable level for recovery of many potentially useful biomarker features. Effectively and efficiently cancelling artefacts requires careful co-design of the stimulators and signal acquisition chains. Additionally, computational reprogrammability is needed for application-dependent algorithm de...