SPICE itself is open, the most popular historically being Berkeley 3f5 (the basic models and analyses) and Georgia Tech XSPICE (mixed mode simulation). These are command line and text oriented: you input a plaintext netlist, let the analysis chug away, and out spews piles and piles of data, or some crude text graphs. Ideal for an add-on interface and postprocessor...
Ngspice is a current development based on SPICE, incorporating new features, and optimized for current technology.
QUCS is a different thing, so beware of compatibility. It's unclear to me if you can drop in off-the-shelf models. If you have to test parts and write your own models, that raises the bar several orders of magnitude, as far as required knowledge and effort. So it really pays to have consistency here (and why it's so offensive that many companies provide models only in proprietary e.g. PSPICE, HSPICE, LTspice, encrypted, etc. forms).
Tim