# Python library changelog

Source: https://orbitals.principled.app/docs/changelog/python-library/

Hosted API changes that affect the `api` backend are in the [Hosted API changelog](https://orbitals.principled.app/docs/changelog/hosted-api/).

October 2, 2026

## 0.6.1

*New features, Improvements*

### A Predefined Answer carries its reply by default

* `validate` and `batch_validate`, sync and async, return `suggested_response` on a Predefined Answer even when `output_fields` leaves it out: a second pass writes it and adds its tokens to `usage`. `resolve_predefined=False` skips it. Backends `vllm`, `vllm-api` and `hf`.
* **`serve`:** `validate` and `batch-validate` accept `resolve_predefined`; the `api` backend sends it only when `False`.
* See also [Hosted API, October 2](https://orbitals.principled.app/docs/changelog/hosted-api/#2026-10-02).

[Release notes v0.6.1](https://github.com/Principled-Intelligence/orbitals/releases/tag/v0.6.1)

October 1, 2026

## 0.6.0

*New features*

### Ask for the class only, with `classify`

* `ScopeGuardV2.classify()` and `batch_classify()`, sync and async, read the class from the first token's probabilities and return it with `probabilities`, `confidence`, `temperature` and `predefined_response`. All four backends.
* On the `api` backend they need a server that serves them: `serve` from this version, or [the hosted API from October 2](https://orbitals.principled.app/docs/changelog/hosted-api/#2026-10-02).
* **`serve`:** serves `classify` and `batch-classify`.
* `vllm` backend: `vllm_kwargs`, passed to `vllm.LLM`.

[Release notes v0.6.0](https://github.com/Principled-Intelligence/orbitals/releases/tag/v0.6.0)

September 16, 2026

## 0.5.0

*New features, Bug fixes*

### Choose the output fields; first ScopeGuard-2 checkpoint

* `output_fields` on the constructors, `validate`, `batch_validate` and `serve`, winning over a disagreeing `skip_evidences`; `reasoning` is `None` when left out ([Hosted API, September 21](https://orbitals.principled.app/docs/changelog/hosted-api/#2026-09-21)).
* Self-hosting runs `scope-guard-v2-4B-q-2609`, the first published ScopeGuard-2 checkpoint, [on request](https://orbitals.principled.app/docs/guide/orbitals/scope-guard-v2/#weights); a warning flags a checkpoint whose prompt differs.
* Fixes: the `api` backend stops sending `skip_evidences: false`; `vllm` and `hf` report `usage` and gain `count_system_prompt_in_usage`.
* Six runnable examples on GitHub.

[Release notes v0.5.0](https://github.com/Principled-Intelligence/orbitals/releases/tag/v0.5.0)

June 10, 2026

## 0.4.0

*New features*

### ScopeGuard-2, with seven scope classes

* `ScopeGuardV2`, `AsyncScopeGuardV2` and `ScopeClass` in `orbitals.scope_guard_v2`: [seven classes](https://orbitals.principled.app/docs/guide/orbitals/scope-guard-v2/#scope-classes), adding Predefined Answer and Human Oversight. Output adds `reasoning` and `suggested_response`.
* `AIServiceDescriptionV2` and `PredefinedResponse` in `orbitals.types`; `skip_evidences` and `include_default_safety_principles` per guard or call.
* **`serve`:** `orbitals scope-guard-v2 serve`.
* Backends `hf`, `vllm` (default), `api`, async `vllm-api` and `api`. The first checkpoint you can run yourself comes with 0.5.0; [the hosted API serves ScopeGuard-2 from July 6](https://orbitals.principled.app/docs/changelog/hosted-api/#2026-07-06).

[Release notes v0.4.0](https://github.com/Principled-Intelligence/orbitals/releases/tag/v0.4.0)

June 4, 2026

## 0.3.0

*New features*

### Extract the intents only

* ClaimExtractor `intents_only`, on the constructor, per call and in `serve`: generation stops after the intents and `claims` comes back empty. Backends `vllm`, `vllm-api` and `api`.

[Release notes v0.3.0](https://github.com/Principled-Intelligence/orbitals/releases/tag/v0.3.0)

May 14, 2026

## 0.2.1

*New features*

### Run the smaller ClaimExtractor 2B

* Aliases `claim-extractor-4B-q` and `claim-extractor-2B-q` (--> `claim-extractor-2B-q-2605`); `claim-extractor` and `claim-extractor-q` still resolve to the 4B.
* Both weights are [open on Hugging Face](https://orbitals.principled.app/docs/guide/orbitals/claim-extractor/#weights), under Apache-2.0.

[Release notes v0.2.1](https://github.com/Principled-Intelligence/orbitals/releases/tag/v0.2.1)

May 13, 2026

## 0.2.0

*New features*

### Extract checkable claims with ClaimExtractor

* `ClaimExtractor` and `AsyncClaimExtractor` in `orbitals.claim_extractor`, with `extract` and `batch_extract`: claims in [four subtypes](https://orbitals.principled.app/docs/guide/orbitals/claim-extractor/#claim-subtypes) plus intents.
* Backends `hf`, `vllm`, `api`, async `vllm-api` and `api`.
* **`serve`:** `orbitals claim-extractor serve`, which also extracts a whole conversation.
* See also [Hosted API, July 6](https://orbitals.principled.app/docs/changelog/hosted-api/#2026-07-06).

[Release notes v0.2.0](https://github.com/Principled-Intelligence/orbitals/releases/tag/v0.2.0)

May 8, 2026

## 0.1.10

*Improvements*

### Safety rules as a list

* The default safety rules are appended as a bulleted list, so the text added to your AI service description changes.

[Release notes v0.1.10](https://github.com/Principled-Intelligence/orbitals/releases/tag/v0.1.10)

May 8, 2026

## 0.1.9

*New features*

### Built-in safety rules for ScopeGuard-1

* ScopeGuard-1 `include_default_safety_principles`, on the constructors, per call and in `serve`.
* `ADDITIONAL_SAFETY_RULES` and `augment_with_default_safety_principles` in `orbitals.scope_guard`.

[Release notes v0.1.9](https://github.com/Principled-Intelligence/orbitals/releases/tag/v0.1.9)

May 4, 2026

## 0.1.8

*Improvements*

### Let the server pick the model

* ScopeGuard-1 `api` backend: `model` is optional. Without it the request carries no `model` and the server uses its default (before, always `scope-guard`).

[Release notes v0.1.8](https://github.com/Principled-Intelligence/orbitals/releases/tag/v0.1.8)

April 20, 2026

## 0.1.7

*Breaking changes*

### Requires transformers 5 and vLLM 0.19

Migration

On `vllm-api`, rename `include_system_prompt_in_usage_reporting` to `count_system_prompt_in_usage`, and upgrade `transformers` together with the library.

* Install floors for the `hf` and `vllm` extras: `transformers>=5.5.0,<6.0.0` (was `>=4.47,<5`) and `vllm>=0.19.1` (was `>=0.11.0`).

[Release notes 0.1.7](https://github.com/Principled-Intelligence/orbitals/releases/tag/0.1.7)

April 2, 2026

## 0.1.6

*Bug fixes, Breaking changes*

### The self-hosted server validates again

Migration

If you pass `include_system_prompt_in_usage` to `vllm-api`, rename it to `include_system_prompt_in_usage_reporting`, or straight to its name in [0.1.7](https://orbitals.principled.app/docs/changelog/python-library/#v0-1-7).

* **`serve`:** `validate` works again (broken since 0.1.4), and `batch-validate` reads the AI service descriptions from the body.
* A conversation that does not end with a user message raises `ValueError`; `custom_headers` defaults to `None`.

[Release notes 0.1.6](https://github.com/Principled-Intelligence/orbitals/releases/tag/0.1.6)

February 19, 2026

## 0.1.5

*Bug fixes*

### Import without vLLM installed

* Importing the `vllm` guard module no longer fails when vLLM is missing.

[Release notes 0.1.5](https://github.com/Principled-Intelligence/orbitals/releases/tag/0.1.5)

February 19, 2026

## 0.1.4

*New features, Bug fixes, Breaking changes*

### Keyword-only arguments after the conversation

Migration

In `validate` and `batch_validate`, pass `ai_service_description` and every later argument by keyword. On `vllm-api`, expect lower token counts.

* `api` backend: sends `model` (default `scope-guard`, per call too); an explicit `api_key` wins over `X-API-Key` in `custom_headers`, with `PRINCIPLED_API_KEY` as the fallback; the async client calls the right path.
* `vllm-api`: per-call `model` and `chat_templating_tokenizer`; `usage` leaves out the system prompt unless `include_system_prompt_in_usage=True`.

[Release notes 0.1.4](https://github.com/Principled-Intelligence/orbitals/releases/tag/0.1.4)

February 5, 2026

## 0.1.3

*Bug fixes, Improvements*

### Correct API path, longer default context

* The sync `api` backend calls `{api_url}/orbitals/scope-guard/...` (was `{api_url}/api/orbitals/...`).
* Conversations are parsed by shape (a string, one message, a list); the `vllm` default `max_model_len` is 30,000 (was 15,000).

[Release notes 0.1.3](https://github.com/Principled-Intelligence/orbitals/releases/tag/0.1.3)

January 28, 2026

## 0.1.2

*Improvements*

### Runs on Python 3.10 and later

* Python `>=3.10` (0.1.1 needed exactly 3.13); the `vllm<0.13` cap is gone.
* Default `max_new_tokens` and `max_tokens` down to 3,000 (from 10,000), `max_model_len` up to 15,000 (from 10,000).

January 28, 2026

## 0.1.1

*New features*

### ScopeGuard-1, the first orbital

* First release, under Apache-2.0: ScopeGuard-1 (five classes) with backends `hf` (default), `vllm`, `api`, async `vllm-api` and `api`.
* **`serve`:** `orbitals scope-guard serve`.
* Open weights on Hugging Face, named in the [ScopeGuard-1 FAQ](https://orbitals.principled.app/docs/faqs/general/hosted-api/#what-happened-to-scopeguard-v1).
