Skip to content
Abstracts due Jan 1512th International BCI MeetingŠibenik, Croatia • Jun 7–10, 2027

← Learn

BCI 101 · Lesson 5 of 17

Software Tools for BCI

This tutorial serves as an introduction to software tools that you can use to analyze EEG and MEG data.

Updated November 2026: checked every tool for recent releases, marked OpenEXP as archived, and added the core open-source BCI and EEG tools a newcomer should know today.

This lesson has two parts. The first covers software for running experiments and presenting stimuli. The second covers the open-source tools most people now use to stream, analyze, and decode EEG.

Experiment and stimulus software

PsychoPy

Psychopy is an open-source (GPLv2 license) Python application to build experiments. It is often used in psychology or cognitive neuroscience labs as an alternative to the proprietary E-Prime. Since it is written in Python, it's cross platform and scripts usually work on macOS, Windows, and Linux with no tweaking. It can allow timing based on frames, which it claims is more accurate than measuring with a clock. It includes an interface to write code for experiments:

Psychopy

And visual interface to make experiments by dragging blocks around:

Psychopy

PsychoPy is actively maintained, with several releases each year. See the PsychoPy website for downloads and documentation.

Pygame

Pygame is an open (LGPL license) Python library to build games. Due to its simple library, it is also used in some labs to build experiments. As it is targeted to a wider audience, it has a pretty good set of tutorials and docs. It has fewer dependencies and is generally easier to install than psychopy, and can sometimes give you greater control over what you display. However, it's also not geared towards experiments, and you may have to build up some helper functions to use pygame effectively.

The original pygame project has released less often in recent years. Its last release was 2.6.1 in September 2024. Many developers now use pygame-ce (Community Edition), a fork with regular releases that keeps the same import pygame interface.

Psychopy

OpenViBE

OpenViBE is an open-source (AGPLv3) platform specifically geared towards BCI experiments. It has a visual interface consisting of "blocks" that can be used to build experiments. These blocks can be extended using Python, Lua, C++, or Matlab.

Psychopy

As it's geared towards BCI development, it has comprehensive support for streaming EEG data from a lot of different devices, and a lot of algorithms specifically for BCIs. It also has neat 3D interfaces for trying out BCI paradigms, like lifting a spaceship using motor imagery:

Psychopy

The main downsides are that its interface can sometimes be intimidating and it does not have a library, so you cannot use OpenViBE without launching the full interface. Overall, OpenViBE is a great tool for getting started and experimenting with various BCI paradigms.

OpenViBE is still maintained. Version 3.7.0 was released in September 2025. Get the current version from the OpenViBE downloads page.

OpenEXP

OpenEXP is an open-source (MIT license) desktop app for running experiments and collecting behavioural and physiological data. It was developed by key NeurotechX members but never left the alpha stage.

Status (2026): the OpenEXP repository was archived in 2021 and is no longer developed. Use it only as a reference. For browser-based experiments, use jsPsych directly. It is actively maintained.

Psychopy

It is based on jsPsych and is written using Javascript, so it could run in a web browser for scalable data collection.

Psychtoolbox

Psychtoolbox is an open-source (MIT license) set of functions for running psychophysics experiments in Matlab or Octave. It has a lot of tutorials geared towards psychophysics experiments and a comprehensive FAQ.

It can perform pretty much any visual, text, or audio you might need for psychophysics, such as a set of rotating 3D cubes:

Psychopy

The functions provided can sometimes be close to the graphics pipeline, so it may have set textures or explicitly ask for anti-aliasing. However, this does provide more control.

Psychtoolbox is still maintained. Note that it changed its licensing model: recent versions need a paid license key for most setups, while the GNU Octave version on Linux remains free. See the license key FAQ for details.

Core open-source tools for EEG and BCI (2026)

These tools are free, open source, and had releases or active development in 2025 or 2026. Most are written in Python and work together.

Streaming and acquisition

  • Lab Streaming Layer (LSL) streams time-series data, such as EEG and event markers, over a local network and keeps the streams time-synchronized. Many EEG devices and programs, including OpenViBE and muse-lsl, can send or receive LSL streams. Code is on GitHub.
  • BrainFlow is a library with one API for reading data from many biosensor boards, including OpenBCI and Muse. It has bindings for Python, C++, Java, C#, and other languages. See the BrainFlow documentation.
  • Timeflux is a Python framework for acquiring and processing biosignals in real time, for example to build closed-loop neurofeedback. Its last release was 0.17.2 in December 2024, so check the repository for activity before you depend on it.

Analysis

  • MNE-Python is the standard Python package for exploring, visualizing, and analyzing EEG and MEG data. It covers filtering, epoching, ERPs, time-frequency analysis, and source localization. The MNE tutorials are a good place to start.

Decoding and benchmarking

  • pyRiemann provides machine learning methods based on Riemannian geometry of covariance matrices. These methods are widely used for motor imagery and ERP decoding. It follows the scikit-learn API.
  • Braindecode is a deep learning toolbox for decoding raw EEG, built on PyTorch. It includes common EEG network architectures and data loaders.
  • MOABB (Mother of All BCI Benchmarks) is a NeuroTechX project. It gives you a common interface to dozens of public BCI datasets and a standard way to evaluate and compare decoding pipelines. See the MOABB documentation.

Experiments with low-cost EEG

  • EEG-ExPy is a NeuroTechX project, formerly called eeg-notebooks. It is a collection of classic EEG experiments in Python, such as N170, P300, and SSVEP, built for consumer hardware like the Muse and OpenBCI Cyton. It handles streaming, stimulus presentation, and analysis. See the EEG-ExPy documentation.

Full BCI platforms

  • OpenViBE (described above) is a graphical platform for designing and running BCI scenarios.
  • BCI2000 is a general-purpose BCI research system written in C++. It has been used in many research labs since 2000 and supports a wide range of acquisition hardware and BCI paradigms. See the BCI2000 wiki for documentation.

Self-check

Check what you took away. Each answer is explained and links back to the section of the lesson.

You want EEG from a headset and event markers from another program, synchronized in time. Which tool does the lesson describe for this?
Your club wants to compare decoding pipelines on public BCI datasets with a standard evaluation. Which NeuroTechX project fits?

Written by NeuroTechX volunteers for NeuroTechEDU (2017–2020), moved here in 2026. Original page · Suggest a fix on GitHub