Skip to content

API Reference parrot.bots._types

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

parrot.bots._types

View source

Shared structural types for the parrot.bots package.

This module is intentionally dependency-free (stdlib typing only) so it can be imported by any agent without pulling in heavy machinery, and — most importantly — without ever importing server-side packages (parrot.autonomous / ai-parrot-server). Core must not import server.

Class AgentDispatcher

Duck-typed async callable that dispatches a named agent.

Any object exposing a matching __call__ shape satisfies this protocol structurally — no inheritance coupling is required. AutonomousOrchestrator.execute_agent (ai-parrot-server) already satisfies this shape, so it can be wired in via jira_specialist.set_agent_dispatcher(orchestrator.execute_agent) without core ever importing the server package.

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