Skip to content

API Reference parrot.experts.grid.compiler

github-actions[bot] edited this page Dec 2, 2026 · 1 revision

parrot.experts.grid.compiler

View source

Scope grid → FlowDefinition compiler (FEAT-890 M5).

Alias EdgeDefinition

Re-exported from parrot.bots.flows.flow.definition.EdgeDefinition.

Alias ExpertRegistry

Re-exported from parrot.experts.registry.ExpertRegistry.

Alias ExpertStageConfig

Re-exported from parrot.experts.grid.models.ExpertStageConfig.

Alias FlowDefinition

Re-exported from parrot.bots.flows.flow.definition.FlowDefinition.

Alias NodeDefinition

Re-exported from parrot.bots.flows.flow.definition.NodeDefinition.

Alias ScopeGrid

Re-exported from parrot.experts.grid.models.ScopeGrid.

Alias ScopeGridError

Re-exported from parrot.experts.grid.models.ScopeGridError.

Alias ScopeGridErrorCode

Re-exported from parrot.experts.grid.models.ScopeGridErrorCode.

Function compile_scope

Compile a scope grid into a pure executable flow definition.

compile_scope(grid: ScopeGrid, *, registry: 'ExpertRegistry') -> FlowDefinition

Parameter Type Default Description
grid ScopeGrid
registry 'ExpertRegistry'

Returns: FlowDefinition

Raises:

  • ScopeGridError — For unknown experts, capability mismatches, unknown gate kinds, or a generated graph cycle.

Alias is_registered

Re-exported from parrot.bots.flows.core.gates.kinds.is_registered.

Alias parrot

Re-exported from parrot.

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