The <msp:allocateKernel> tag takes responsibility for allocating a Mathematica Kernel to use for computations, assigning input variables and parameters, and other initialization. Note that the Kernel that was allocated will be available in a clean state. A later section describes the details of <msp:allocateKernel>.

Any <msp:evaluate> tags then use the allocated Mathematica Kernel to evaluate their input. Note that any assignments or definitions made in one <msp:evaluate> tag will be visible in another. A later section describes the details of <msp:evaluate>.

Finally the </msp:allocateKernel> tag takes responsibility for releasing the Mathematica Kernel, first cleaning it of any definitions that were made. If any special processing, for example to deal with exceptions, is needed this will be carried out at this point. A later section describes the details of </msp:allocateKernel>.

It should be noted that there are a number of other special tags that can be used, these are detailed in the section on the MSP Taglib.