Skip to content

API Reference parrot.experts.activation

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

parrot.experts.activation

View source

Attribution scope for an expert activation (FEAT-778 M3, G8).

Alias ExpertAgent

Re-exported from parrot.experts.agent.ExpertAgent.

Function activate_expert

Bind agent identity and usage attribution to an expert; restored on exit (AC12).

activate_expert(expert: 'ExpertAgent', *, run_id: str | None, stage: str | None, mode: str | None = None) -> AsyncIterator['ExpertAgent']

Parameter Type Default Description
expert 'ExpertAgent' The expert being activated.
run_id str | None Run identifier for usage attribution.
stage str | None Stage name; the seat becomes <stage>.<expert> (or just the expert name).
mode str | None None Expert dispatch mode for trace attribution.

Returns: AsyncIterator['ExpertAgent']

Alias agent_identity

Re-exported from parrot.observability.context.agent_identity.

Alias usage_attribution

Re-exported from parrot.observability.context.usage_attribution.

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