Skip to content

API Reference parrot.roost.toolkit

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

parrot.roost.toolkit

View source

LLM-facing Roost origin tools (FEAT-747 M11). The harness maps each tool to a Performative.

Alias AbstractToolkit

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

Alias AgentAddress

Re-exported from parrot.roost.messages.AgentAddress.

Alias Performative

Re-exported from parrot.roost.performatives.Performative.

Alias RoostEndpoint

Re-exported from parrot.roost.endpoint.RoostEndpoint.

Class RoostToolkit

Talk to other agents of this trust domain. Never exposes the inter-agent grant.

Parameter Type Default Description
endpoint RoostEndpoint
**kwargs Any {}

Method RoostToolkit.send

Send a message to another agent when no more specific tool fits.

For request the content is the capability id to run on the receiver; for query it is the question; for subscribe it is a capability filter; for inform it is the fact to tell. request and query wait for the reply and return it under result.

send(performative: Literal['inform', 'request', 'query', 'subscribe'], receiver: str, content: str, body: Optional[str] = None) -> dict

Parameter Type Default Description
performative Literal['inform', 'request', 'query', 'subscribe']
receiver str
content str
body Optional[str] None

Returns: dict

Method RoostToolkit.report

Tell another agent a fact or result. Fire-and-forget: no reply is expected or awaited.

report(receiver: str, fact: str) -> dict

Parameter Type Default Description
receiver str
fact str

Returns: dict

Method RoostToolkit.call_for_proposals

Ask every agent advertising a capability to bid on a task; returns the award (winner, decided_by).

call_for_proposals(capability_filter: str, task: str, bid_window_ms: int = 500) -> dict

Parameter Type Default Description
capability_filter str
task str
bid_window_ms int 500

Returns: dict

Method RoostToolkit.watch

Subscribe to a shared blackboard key; changes arrive as notifications.

watch(key: str) -> dict

Parameter Type Default Description
key str

Returns: dict

Method RoostToolkit.find_agents

Find agents that can answer by capability or keyword (no LLM involved).

find_agents(query: str) -> list[dict]

Parameter Type Default Description
query str

Returns: list[dict]

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