Skip to content

API Reference parrot_tools.contracts

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

parrot_tools.contracts

View source

Contracts answering layer — toolkit, agents, flow and jobs (FEAT-539).

The core data plane lives in parrot.knowledge.contracts; this satellite package owns everything agent-facing: deterministic authorized retrieval, the citation verifier, the shared answer service, the toolkit, the ReAct agent, the fixed answer flow, the watcher jobs and the operator CLI.

Retrieval is LLM-free by construction and every protected read passes the same authorization gate.

Alias AuthorizationDenied

Re-exported from parrot_tools.contracts.retrieval.AuthorizationDenied.

Alias Clarification

Re-exported from parrot_tools.contracts.retrieval.Clarification.

Alias ContractRetrieval

Re-exported from parrot_tools.contracts.retrieval.ContractRetrieval.

Alias MAX_TOP_K

Re-exported from parrot_tools.contracts.retrieval.MAX_TOP_K.

Alias PATTERNS

Re-exported from parrot_tools.contracts.retrieval.PATTERNS.

Alias PatternPlan

Re-exported from parrot_tools.contracts.retrieval.PatternPlan.

Alias READ_ROLES

Re-exported from parrot_tools.contracts.retrieval.READ_ROLES.

Alias RequestContext

Re-exported from parrot_tools.contracts.retrieval.RequestContext.

Alias RetrievalResult

Re-exported from parrot_tools.contracts.retrieval.RetrievalResult.

Alias classify

Re-exported from parrot_tools.contracts.retrieval.classify.

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