Skip to content

API Reference

The easysteer pages are generated with mkdocstrings from the source docstrings via static analysis (allow_inspection: false): the build parses the source tree and never imports it, so it runs in a plain environment with only requirements-docs.txt — no torch or vLLM install required.

  • easysteer.steer — vector extraction (DiffMean, PCA, LAT, linear probe, SAE) and the StatisticalControlVector container.
  • easysteer.hidden_statescapture() / CaptureResult and the legacy extraction helpers.
  • Steering specs — hand-written summary of SteeringSpec / VectorSpec / ApplySpec / SelectSpec; the Steering guide is the canonical reference (rendering the vllm-steer fork with mkdocstrings would drag the CUDA/torch stack into the docs build).