An agent that looks at your segmentation, registration or synthesis the way you would, and tells you where it is wrong.
A score says how good a result is. Scout says where and why. It reads one case slice by slice, zooms on what looks off, measures the suspect region with KonfAI Eval, and writes a short report: each defect with its place, its type, its severity and the views that show it.
Install
pip install "konfai-scout[anthropic]" # Claude, with an Anthropic API key
Other models: [openai] for GPT or a local model behind an OpenAI-compatible server (vLLM, Ollama),
[claude-code] or [codex] to use your Claude Code or ChatGPT login without an API key.
Inspect a case
konfai-scout inspect --task segmentation --name case01 \
--input image=ct.nii.gz --input prediction=seg.nii.gz --labels 1=kidney \
--out reports/case01 --provider anthropic --allow-cloud-images
A few minutes later, reports/case01/report.md opens with the verdict and the findings:
**Verdict: defective** (confidence 0.88, by model)
The left kidney label stops in a flat cut at z≈747 mm. The kidney's upper half, visible up to z≈790, has no label
(o001, major). Small hilar holes are left out (o002, minor). The right kidney otherwise follows the image.
| Finding | Defect | Kind | Severity | Confidence | Where |
|---------|--------------------|-----------|----------|-------------|------------------------------------|
| o001 | under_segmentation | suspected | major | 0.90 (firm) | (98, 185, 771) mm, 75 x 70 x 48 mm |
| o002 | holes | suspected | minor | 0.60 | (-66, 188, 757) mm, 17 x 11 x 44 mm |
Each finding then has its own section, with the views that show it (saved beside the report) and the measurements
it cites. A firm finding is one Scout stands behind; the others are doubts to check. report.json holds the same
for a program.
The other tasks take their own inputs:
konfai-scout inspect --task registration --name pair07 \
--input fixed=fixed.nii.gz --input moving=moving.nii.gz --input field=dvf.nii.gz \
--out reports/pair07 --provider anthropic --allow-cloud-images
konfai-scout inspect --task synthesis --name ct01 \
--input source=mr.nii.gz --input synthetic=sct.nii.gz \
--out reports/ct01 --provider anthropic --allow-cloud-images
With or without a reference
- Without one, Scout judges the result against the image: a label the image's edges do not support, a structure
that is not in the source. Name each label with what it holds (
--labels "1=liver without its vessels"). - With one (
--input truth=gt.nii.gz,target=for a synthesis, labels or landmarks for a registration), every disagreement is checked and measured against it, and an error can be confirmed.
Useful options
--depth quick|standard|deep: 10, 25 or 40 tool calls;deepadds a blind second reading of each error.--max-usd,--max-seconds: stop an inspection at a cost or a time.--max-context-tokens: a local model's window, less room to conclude: the model concludes before it overflows.--allow-cloud-images: required to send images of the case to a cloud model. A local server (--base-url http://localhost:11434/v1) needs none.--provider mock: the whole loop with a heuristic model, no API at all.
From Python
from konfai_scout import InspectionCase, ScoutConfig, inspect
case = InspectionCase("segmentation", "case01", {"image": "ct.nii.gz", "prediction": "seg.nii.gz"}, labels={1: "kidney"})
report = inspect(case, ScoutConfig(provider="anthropic", allow_cloud_images=True), "reports/case01")
print(report.conclusion.verdict, [(o.defect, o.severity, o.box_mm) for o in report.observations])
Learn more
- How it works: the inspection, the inputs of each task, the model's tools and views, the budget, the providers and privacy.
- The report: every field, and
konfai-scout export --level regions|countsto share a report without the case's name or images. - Integrations: KonfAI Eval, konfai-mcp, KonfAI Studio and FidOpt.
Scout is part of the KonfAI family and reads, warps and measures every
volume through KonfAI. From a checkout: pip install -e ".[dev]" then pip install -e "./konfai-scout[dev]", and
pytest konfai-scout/tests (no API key needed).
Apache-2.0. Copyright (c) 2026 Fideus Labs LLC.
Metadata
Release files for konfai-scout 1.9.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| konfai_scout-1.9.0.tar.gz | 577.9 kB | With provenance | Details for konfai_scout-1.9.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| konfai_scout-1.9.0-py3-none-any.whl | Python 3 | none | any | Details for konfai_scout-1.9.0-py3-none-any.whl |
Total release size: 681.3 kB
Release files / konfai_scout-1.9.0.tar.gz
| Download URL | konfai_scout-1.9.0.tar.gz |
|---|---|
| Size | 577.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9e1ea5068491dbb9f11143bdc852e7fa8807e914c154ff579d06635cb92c8e31
|
|
BLAKE2b-256 checksum How to use checksums |
9065d856458e59069b09ca2a10ca0fb109b28e48cfa0b764d5b2ad50f8e8f374
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.
Transparency logRelease files / konfai_scout-1.9.0-py3-none-any.whl
| Download URL | konfai_scout-1.9.0-py3-none-any.whl |
|---|---|
| Size | 103.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
be9a5af278957c6655b0d665039319204e71ce13a828e670f1756b445f0c916a
|
|
BLAKE2b-256 checksum How to use checksums |
766badbb4aa0eb2e65ff6f75edf90d4da3cb3cfc57d1d33a079a69857f57cc1d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.
Transparency logSecurity for konfai-scout 1.9.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for konfai_scout-1.9.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 26, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.