← Latest papers
🧠 neuroscience

SPOUT: An open-source hardware and software platform to study decision making while manipulating and recording from neural activity

The paper introduces SPOUT, an open-source, affordable hardware and software platform that integrates precise neural recording and optogenetic manipulation with flexible decision-making tasks to study the neural mechanisms of behavior in head-restrained mice.

Original authors: van den Boom, B. J. G., Dash, D., Rutherford, M., Girasole, A. E., Gorelik, P., Mazor, O., Sabatini, B. L.

Published 2026-08-26
📖 5 min read🧠 Deep dive

Original authors: van den Boom, B. J. G., Dash, D., Rutherford, M., Girasole, A. E., Gorelik, P., Mazor, O., Sabatini, B. L.

Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). ⚕️ This is an AI-generated explanation of a preprint that has not been peer-reviewed. It is not medical advice. Do not make health decisions based on this content. Read full disclaimer

To understand how a mouse decides to turn left or right, scientists must do more than just watch the animal. They need to see the brain's electrical activity at the exact moment a choice is made, and they need to be able to gently nudge that activity to see what happens. This requires a delicate balance: the animal must be still enough for high-powered microscopes to see individual brain cells, yet free enough to move its head and tongue to perform a task. For decades, researchers have struggled to build a system that can record the brain, control the behavior, and deliver precise light signals to the brain, all while keeping the timing perfect. If the clock that measures the behavior drifts even slightly from the clock that records the brain, the connection between action and thought becomes impossible to decipher.

A team at Harvard Medical School has now built a new tool to solve this problem, creating a complete, open-source system called SPOUT. The name stands for State-machine Platform for Operant Uni/dual-spout Tasks, but in practice, it is a versatile machine that allows mice to solve decision-making puzzles while scientists watch their brains in real time. The system is designed to be affordable and easy to use, replacing expensive, custom-built setups with a collection of standard parts that any lab can assemble. At its heart is a small computer chip that acts as the conductor, coordinating the delivery of water rewards, the recording of tongue movements, and the firing of light beams into the brain, all with a precision measured in millionths of a second.

The researchers tested this system by teaching mice a simple game. The mouse sits with its head held still, facing two small tubes. A sound plays, and the mouse must choose to lick either the left tube or the right tube to get a drop of water. The trick is that the sound does not tell the mouse which tube is the right one; instead, the correct tube changes every few trials without warning. The mouse has to figure out the pattern by remembering which choice led to a reward and which led to nothing. Using SPOUT, the team watched the mice learn this game over many days. At first, the mice guessed randomly, but as they gained experience, they learned to switch their choice immediately after a mistake and stick with a winning side. The system recorded every single lick with such accuracy that the researchers could see the exact moment the mouse's behavior changed from confusion to confidence.

To prove that the system could also control the brain, the scientists used a technique called optogenetics, which allows them to turn specific brain cells on or off with light. They focused on a region of the brain called the anterior lateral motor cortex, an area known to be involved in planning movements. When they flashed a blue light into this part of the brain just as the mouse was about to make a choice, the mouse's behavior changed instantly. If the light hit the side of the brain that controls the right side of the body, the mouse suddenly stopped licking the right tube and started licking the left one instead. This happened only when the light was on, and the effect disappeared as soon as the light turned off, showing that the system could precisely interrupt the brain's planning process and watch the animal's decision unravel in real time.

The researchers also combined this setup with a powerful microscope to take pictures of the brain cells while the mice played the game. Because the system keeps perfect time, they could match the exact moment a mouse licked a tube with the activity of thousands of neurons in the brain. They found that when a mouse chose to lick on the side opposite to the stimulated brain area, the brain cells fired much more strongly than when the mouse chose the same side. This confirmed that these specific brain cells are more active when the animal prepares to move in a particular direction. The system's ability to sync the behavior, the light stimulation, and the brain imaging with such precision allowed the team to see these patterns clearly, something that would have been impossible with older, less synchronized equipment.

What makes this work particularly significant is not just the discovery about mouse brains, but the tool itself. The researchers made all the blueprints, code, and instructions for building SPOUT available to the public for free. They showed that a complex, high-precision neuroscience experiment does not need to cost tens of thousands of dollars or require a team of engineers to build. By using a standard microcontroller and off-the-shelf parts, they created a platform that is robust enough to run for thousands of sessions without breaking down. The system is designed to be flexible, allowing scientists to change the rules of the game or the type of brain recording without rewriting the underlying software. This openness means that labs around the world can now run the same experiments with the same level of precision, making it easier to compare results and build a shared understanding of how the brain makes decisions.

The study concludes that SPOUT is a reliable and accessible way to study the link between brain activity and behavior. It successfully demonstrated that mice can learn complex rules based on past rewards, that specific brain regions can be temporarily silenced to alter those decisions, and that the resulting neural activity can be recorded with high fidelity. The researchers did not claim to have solved the mystery of decision-making, but they provided a clear, reproducible way to ask the question. By removing the technical barriers that have kept many labs from doing this kind of work, the team has opened the door for a wider community of scientists to explore how the brain guides action, one precise lick at a time.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →