Skip to content

phase-brain-build

The brain-build phase covers the design and implementation of a computational brain model โ€” neuron model selection, network topology, connectivity rules, and simulation framework setup.

Approach

  • Clarify the target circuit, abstraction level, and simulation framework before writing any code
  • Write model-spec.md first; get user confirmation before implementation begins
  • Start minimal: get a single neuron firing correctly before connecting a network
  • Apply framework-specific best practices (NEURON .hoc/.py conventions, Brian2 NeuronGroup/Synapses patterns, NetPyNE netParams/simConfig structure, NEST Create/Connect idioms)

Relevant skills

  • neuroflow:neuroflow-core โ€” read first; defines the command lifecycle and .neuroflow/ write rules

Workflow hints

  • All model code goes to output_path (models/), not inside .neuroflow/
  • Save model-spec.md to .neuroflow/brain-build/ before writing any implementation
  • Note key architecture decisions (neuron model chosen, connectivity rule, library selected) in .neuroflow/reasoning/brain-build.json
  • Common frameworks: NEURON, Brian2, NetPyNE, NEST, tvb-library, Custom Python/Julia

Slash command

/neuroflow:brain-build โ€” runs this workflow as a slash command.