brian2

Simulate spiking neural networks with Brian2 neuron models and synaptic dynamics.

1|1|Updated Feb 10, 2026
One-click install
npx skills add https://github.com/smestern/sciagent --skill brian2
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: brian2
Source: https://github.com/smestern/sciagent/tree/main/docs/domains/computational-neuro/skills/brian2
Command: npx skills add https://github.com/smestern/sciagent --skill brian2

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires brian2, and includes scripts (resource) components.

What problem does it solve?

This Skill allows users to build, run, and analyze spiking neural network simulations using Brian2, providing a comprehensive toolset for neuroscience research.

Core Features & Use Cases

  • Neuron Simulation: Build and simulate single-neuron models like HH, LIF, AdEx, and Izhikevich.
  • Synaptic Connections: Create synaptic connections between neurons.
  • Network Construction: Assemble complex neural networks.
  • Parameter Sweeps: Perform parameter sweeps for in-depth analysis.
  • Result Analysis: Analyze simulation results for insights into neural dynamics.
  • Use Case: A neuroscientist can use this Skill to simulate the dynamics of a neuron and analyze the effects of different parameters on its behavior.

Quick Start

Run a simulation for a single HH neuron using Brian2: brian2 simulate HH neuron

Frequently Asked Questions about brian2

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I simulate spiking neural networks for neuroscience research?

To simulate spiking neural networks, you define neuron models such as HH, LIF, or Izhikevich, then configure synaptic connections and run parameter sweeps. This Skill uses Brian2 to handle network construction and result analysis for neuroscience research.

Can I build and analyze complex synaptic connections using Brian2?

Yes, you can create synaptic connections between simulated neurons and assemble them into complex neural networks. The Skill enables you to analyze the simulation results to understand neural dynamics and parameter effects.

Do I need a specific Python environment to run spiking neuron simulations?

Yes, you need a Python environment with the Brian2 library installed. This Skill relies on Brian2 to execute spiking neural network simulations and handle neuron models and synaptic dynamics.

What neuron models are supported for spiking neural network simulation?

Supported neuron models include Hodgkin-Huxley (HH), Leaky Integrate-and-Fire (LIF), Adaptive Exponential (AdEx), and Izhikevich. You can build and simulate these single-neuron models to form complex neural networks.

How do I perform parameter sweeps on simulated neuron dynamics?

You perform parameter sweeps by configuring neuron models and executing simulations across varying parameter values. The Skill enables you to analyze the resulting data to observe how different parameters affect neural dynamics and behavior.