Skip to content
Isotope

[09] Docs

Quickstart.

Four steps from install to your first clamp. The full reference lives in the SDK; this page is the ten-minute path.

[09.1] Step 1

Install

Python 3.10+ or Node 20+. A GPU with enough memory for your model plus about 2 GB for tracing.

pip install isotope# ornpm install isotope

[09.2] Step 2

Trace a response

Attach to a model you can load locally. The first run downloads the public dictionary for that model.

pip install isotopeimport isotopeiso = isotope.attach(model="llama-3.1-8b-instruct")out = iso.generate("Is it safe to stop warfarin before surgery?")out.trace.top_features(k=5)
  feature   label                          layer  act
  F-08812   unwarranted certainty             12  0.79
  F-31207   anticoagulants                    31  0.74
  F-20113   medication names                  12  0.71
  F-31892   asserting a specific number       31  0.62
  F-04471   surgical context                  12  0.58
  traced 47 tokens in 41ms (p50 overhead 38ms)

[09.3] Step 3

Watch for drift

Point Watch at a baseline window and the features you care about. Team plan and above.

isotope watch --baseline prod-0811 --features F-08812 --threshold 2.0x

[09.4] Step 4

Clamp a feature

Try a clamp in staging first. Production clamps need approval on Enterprise.

isotope clamp F-08812 0.4 --env staging
Start tracing, free