Skip to content

API Reference parrot.bots.flows.core

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

parrot.bots.flows.core

View source

parrot.bots.flows.core — canonical public API for flow primitives.

All shared types, FSM, node hierarchy, result models, context, transitions, and storage mixins are available from this single import path.

Usage::

from parrot.bots.flows.core import (
    AgentLike, FlowStatus,
    AgentTaskMachine, TransitionCondition,
    Node, AgentNode, StartNode, EndNode,
    FlowResult, NodeExecutionInfo, FlowContext, FlowTransition,
    ExecutionMemory, PersistenceMixin, SynthesisMixin,
)

Every export resolves lazily on first access (PEP 562): importing a submodule such as parrot.bots.flows.core.gates runs this package first, and the eager FSM/storage imports loaded the navconfig bootstrap into import-light consumers such as the parrot sdd helpers (issue:f82571ff889e).

Alias ActionCallback

Re-exported from parrot.bots.flows.core.types.ActionCallback.

Alias AgentLike

Re-exported from parrot.bots.flows.core.types.AgentLike.

Alias AgentNode

Re-exported from parrot.bots.flows.core.node.AgentNode.

Alias AgentRef

Re-exported from parrot.bots.flows.core.types.AgentRef.

Alias AgentTaskMachine

Re-exported from parrot.bots.flows.core.fsm.AgentTaskMachine.

Alias CrewHookCallback

Re-exported from parrot.bots.flows.core.types.CrewHookCallback.

Alias DependencyResults

Re-exported from parrot.bots.flows.core.types.DependencyResults.

Alias EndNode

Re-exported from parrot.bots.flows.core.node.EndNode.

Alias ExecutionMemory

Re-exported from parrot.bots.flows.core.storage.ExecutionMemory.

Alias FlowContext

Re-exported from parrot.bots.flows.core.context.FlowContext.

Alias FlowResult

Re-exported from parrot.bots.flows.core.result.FlowResult.

Alias FlowStatus

Re-exported from parrot.bots.flows.core.types.FlowStatus.

Alias FlowTransition

Re-exported from parrot.bots.flows.core.transition.FlowTransition.

Alias Node

Re-exported from parrot.bots.flows.core.node.Node.

Alias NodeExecutionInfo

Re-exported from parrot.bots.flows.core.result.NodeExecutionInfo.

Alias NodeResult

Re-exported from parrot.bots.flows.core.result.NodeResult.

Alias PersistenceMixin

Re-exported from parrot.bots.flows.core.storage.PersistenceMixin.

Alias PromptBuilder

Re-exported from parrot.bots.flows.core.types.PromptBuilder.

Alias StartNode

Re-exported from parrot.bots.flows.core.node.StartNode.

Alias SynthesisMixin

Re-exported from parrot.bots.flows.core.storage.SynthesisMixin.

Alias TransitionCondition

Re-exported from parrot.bots.flows.core.fsm.TransitionCondition.

Alias VectorStoreMixin

Re-exported from parrot.bots.flows.core.storage.VectorStoreMixin.

Alias build_node_metadata

Re-exported from parrot.bots.flows.core.result.build_node_metadata.

Alias determine_run_status

Re-exported from parrot.bots.flows.core.result.determine_run_status.

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