Skip to content

API Reference parrot.semantic.bootstrap

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

parrot.semantic.bootstrap

View source

Trusted stdio-only semantic toolkit bootstrap; never an HTTP identity fallback.

Alias DataPlanePolicyGuard

Re-exported from parrot.auth.DataPlanePolicyGuard.

Class LocalSemanticLayerToolkit

Stdio-local subclass that builds its configured PBAC guard at startup.

Parameter Type Default Description
static_subject StaticSubject | dict[str, Any] Trusted host configuration for the sole local operator.
agent_id str Host-configured semantic agent identifier.
guard_factory str Dotted host factory that creates a PBAC guard.
guard_factory_kwargs dict[str, Any] | None None Non-secret host configuration for the factory.
**kwargs Any {} Ordinary :class:SemanticLayerToolkit constructor settings.

Class LocalSemanticToolkitTool

Bind the immutable local operator identity around one tool call.

Parameter Type Default Description
*args Any ()
local_toolkit 'LocalSemanticLayerToolkit'
**kwargs Any {}

Alias PermissionContext

Re-exported from parrot.auth.PermissionContext.

Alias RlsRegistry

Re-exported from parrot.auth.RlsRegistry.

Alias SemanticAccessError

Re-exported from parrot.semantic.errors.SemanticAccessError.

Alias SemanticLayerToolkit

Re-exported from parrot.semantic.toolkit.SemanticLayerToolkit.

Alias SemanticPolicyError

Re-exported from parrot.semantic.errors.SemanticPolicyError.

Alias SemanticRequestIdentity

Re-exported from parrot.semantic.context.SemanticRequestIdentity.

Class StaticSubject

Trusted local operator identity, never accepted as a tool argument.

Fields:

Field Type Default Description
user_id str
tenant_id str
roles list[str]
metadata dict[str, Any]

Alias ToolkitTool

Re-exported from parrot.tools.toolkit.ToolkitTool.

Alias UserSession

Re-exported from parrot.auth.UserSession.

Alias bind_semantic_context

Re-exported from parrot.semantic.context.bind_semantic_context.

Alias current_identity

Re-exported from parrot.semantic.context.current_identity.

Alias current_pctx

Re-exported from parrot.semantic.context.current_pctx.

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