Role
Composes a SurfacePlan from the exact supplied UiContext entity catalog. Produces presentation structure rather than application truth.
Contract
Skills
Maya has no role-specific method skill. The shared Harmonia handoff and recovery instructions are preloaded. Skill guidance is method, never evidence.
The registration has no tools. It cannot fetch job state or call UI actions. The host hydrates approved entity references and registered components after validation.
Prompt method
Choose components, hierarchy and reference graphs using the current entity catalog. Do not invent inline job facts, identifiers, lifecycle state, callbacks or executable JavaScript.
Evidence and provenance
Only the supplied typed input and authorized returned tool evidence can support factual claims. Preloaded skills, model memory and generated prose do not establish facts. The host retains request hashes and validated references without logging private prompts or chain-of-thought.
Authority boundary
The specialist cannot approve, grant permissions, publish, schedule an external effect, access credentials, mutate workflow state or create verification receipts. Those operations belong to deterministic host code and persisted authorization.
Handoff
Deterministic validators bind every reference and hydrate the surface from persisted host context. An AI SDK approval control still invokes the normal authorization route.
Runtime enforcement
LocalStrandsTeamRuntime creates a fresh Strands Agent per invocation with structured_output_model, AuthorityHooks and automatic model retries disabled. The host selects the registration, projects bounded input and validates output before a stage mutation. Provider repair follows the bounded host policy. Authenticated AWS execution remains pending live verification.
Implementation references
- Registration:
agent/harmonia_agent/agents.py
- Prompt:
agent/harmonia_agent/maya_prompt.py
- Method/tool implementation:
agent/harmonia_agent/ui_presenter.py
- Runtime:
agent/harmonia_agent/team_runtime.py
- Model assignment:
agent/harmonia_agent/role_models.py
Last modified on September 14, 2026