Skip to main content

Server infrastructure (handlers, MCP/A2A transports, scheduler, autonomous) for AI-Parrot

Project description

ai-parrot-server

Server infrastructure for the AI-Parrot framework, extracted as a PEP 420 implicit namespace satellite package.

Overview

ai-parrot-server contributes server-side modules to the parrot.* namespace alongside the core ai-parrot package. All existing import paths remain unchanged — from parrot.handlers import ChatbotHandler works identically whether using the combined install or the split install.

What's Included

Module Contents
parrot.handlers ~59 aiohttp HTTP handler files (ChatbotHandler, BotHandler, etc.)
parrot.manager BotManager, EphemeralRegistry
parrot.services AgentService, delivery, heartbeat, worker pool, WhatsApp bridge, etc.
parrot.scheduler AgentSchedulerManager, schedule decorators, models, functions
parrot.autonomous AutonomousOrchestrator, transport layer (parrot-fs), deploy tools
parrot.mcp (server) MCPServer, MCPToolAdapter, MCPServerConfig, transports, CLI
parrot.a2a (server) A2AServer, A2AEnabledMixin, A2ASecurityMiddleware

Installation

# Core framework only (no server infrastructure)
pip install ai-parrot

# Core + all server infrastructure
pip install ai-parrot-server

# Core + server with specific extras
pip install ai-parrot-server[scheduler]    # + APScheduler
pip install ai-parrot-server[mcp]          # + MCP server transports (QUIC, gRPC)
pip install ai-parrot-server[a2a]          # + A2A server (JWT auth)
pip install ai-parrot-server[autonomous]   # + autonomous orchestrator (aiofiles)
pip install ai-parrot-server[all]          # everything

# Via host meta-extra
pip install ai-parrot[server]             # convenience alias for ai-parrot-server[all]
pip install ai-parrot[all]               # includes ai-parrot-server[all]

How It Works

This package uses PEP 420 implicit namespace packages. It contributes to the same parrot.* namespace as ai-parrot without any __init__.py files at the namespace levels. Python's import system merges the two distributions' directory trees transparently.

The host parrot.* __init__.py files use pkgutil.extend_path and lazy __getattr__ patterns to expose server classes when this satellite is installed, and provide helpful ImportError messages when it is not.

Migration

See docs/migration/feat-203-ai-parrot-server.md for the full migration guide.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ai_parrot_server-0.25.12.tar.gz (425.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ai_parrot_server-0.25.12-py3-none-any.whl (468.2 kB view details)

Uploaded Python 3

File details

Details for the file ai_parrot_server-0.25.12.tar.gz.

File metadata

  • Download URL: ai_parrot_server-0.25.12.tar.gz
  • Upload date:
  • Size: 425.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ai_parrot_server-0.25.12.tar.gz
Algorithm Hash digest
SHA256 1933264f177659bee4e43b71a4f1099ebe53351761fb5230e6f71ae7cdb7a644
MD5 c399c07cfb260af00c8ecc8899ccf344
BLAKE2b-256 0108b4bd01ce56e75e4fcb5637ce5c207fb7caea66a73e1457b92d4323d5deee

See more details on using hashes here.

Provenance

The following attestation bundles were made for ai_parrot_server-0.25.12.tar.gz:

Publisher: release.yml on phenobarbital/ai-parrot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ai_parrot_server-0.25.12-py3-none-any.whl.

File metadata

File hashes

Hashes for ai_parrot_server-0.25.12-py3-none-any.whl
Algorithm Hash digest
SHA256 0514e9c95db04fd7b50265b7f60d4ea6fb6f81b062c84e32d0430361e8311a27
MD5 b18de6e7bcb7cccfaa0dc7a3feaa87d9
BLAKE2b-256 e8bbb16118c7bfbd76aad6539763a0811ad5484e7b3e56a7d8e93b9ccdb023be

See more details on using hashes here.

Provenance

The following attestation bundles were made for ai_parrot_server-0.25.12-py3-none-any.whl:

Publisher: release.yml on phenobarbital/ai-parrot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page