Skip to content

API Reference parrot.security.groundedness

github-actions[bot] edited this page Dec 2, 2026 · 4 revisions

parrot.security.groundedness

View source

Deterministic groundedness scoring (FEAT-398, detection-only).

Extracts verifiable hard-data atoms (money, percent, number, date, identifier) from an agent's final answer and scores them against the turn's own tool-call evidence — a deterministic, stdlib-only alternative to an LLM-judge hallucination check. Detection only: this package never mutates, masks, or blocks a response.

See sdd/specs/deterministic-groundedness-scoring.spec.md for the full design. This package exposes Module 1 (atom extraction and normalization), Module 2 (evidence index, scorer, policy/report models), and Module 3 (GroundednessGuardrail — the FLAG-only OUTPUT-pipeline plugin that wires the scorer into the unified guardrails infrastructure, FEAT-396).

Alias Atom

Re-exported from parrot.security.groundedness.models.Atom.

Alias AtomKind

Re-exported from parrot.security.groundedness.models.AtomKind.

Alias AtomVerdict

Re-exported from parrot.security.groundedness.policy.AtomVerdict.

Alias EvidenceIndex

Re-exported from parrot.security.groundedness.evidence.EvidenceIndex.

Alias GroundednessGuardrail

Re-exported from parrot.security.groundedness.guardrail.GroundednessGuardrail.

Alias GroundednessPolicy

Re-exported from parrot.security.groundedness.policy.GroundednessPolicy.

Alias GroundednessReport

Re-exported from parrot.security.groundedness.policy.GroundednessReport.

Alias GroundednessScorer

Re-exported from parrot.security.groundedness.scorer.GroundednessScorer.

Alias extract_atoms

Re-exported from parrot.security.groundedness.extractors.extract_atoms.

Architecture

Clients

Bots & Agents

Memory

Knowledge

Tools & Toolkits

Flows

Experts

Skills

Stores & Loaders

MCP & A2A

Server & APIs

Integrations

Outputs & A2UI

Prompts

Security

Operations

Migration

SDD Tooling

LLM Wiki

Deployment

Decisions

API Reference

Clone this wiki locally