What AI agents can do with PHOS
These examples show how AI agents can use PHOS through MCP to read available physical context and request supported actions. The AI agent decides what to do; PHOS checks access and handles local execution. These are example workflows, not bundled automation or evidence of a physical test.
Read status and request an expression
Purpose: Ask an AI agent to check PHOS and make a simple visual request.
Needs: A running PHOS display and MCP server, plus an AI agent with the standard profile. No optional sensor is required.
Steps: Ask the AI agent to read phos://status or call phos_get_status. If appropriate, it can request a supported expression such as curious with phos_set_expression.
What to expect: PHOS returns status and the action result. The display may show the expression if runtime state and local visual behavior allow it; PHOS does not promise it will remain active.
Limits: The AI agent decides whether to request the expression. PHOS validates and applies the request. The observer profile can read status but cannot request this action.
Show that an AI agent is working
Purpose: Give a short visual indication while an AI-agent workflow is running, or signal when a user needs attention.
Needs: An AI agent with the standard profile and a running display for a thinking visual. Controller-backed LED signals also require a compatible configured controller advertising that output.
Steps: The AI agent can request a bounded thinking visual with phos_set_state and release its own lease with idle. It can request a supported signal with phos_signal_user when that output is available.
What to expect: PHOS presents the requested visual or signal when runtime state and output capabilities allow it. The thinking lease expires; local error, sleep, speaking, or listening states may take priority.
Limits: The AI agent decides when work starts and ends. PHOS does not infer task progress, and agents do not own separate displays or LEDs. See the tool reference for accepted values and duration limits.
Explain an available environmental reading
Purpose: Let an AI agent summarize configured environmental context.
Needs: An available configured BME280/BMP280 or supported controller sensor, an MCP connection, and read permission for physical context. History assessment also requires standard (read_physical_history).
Steps: Ask the AI agent to read phos://environment or call phos_get_physical_context, then describe only available values and their freshness. Historical evidence uses phos_get_physical_assessment and phos_query_measurements when permitted.
What to expect: PHOS reports available context; the AI agent interprets it. BME280 measures humidity; BMP280 does not. ENS160 eCO₂ is an estimated equivalent, not direct CO₂. External MQTT/ESPHome readings appear only when their source mappings are separately authorized and are not part of retained native sensor history.
Limits: PHOS does not diagnose a cause, prove sensor accuracy, or infer a missing value.
Respond to presence change cues
Purpose: Let an AI agent notice a change in anonymous presence and decide whether to respond.
Needs: Supported camera hardware, configured Vision, a read-capable profile, and an AI-agent MCP integration that supports subscriptions/listen.
Steps: The AI agent's MCP integration listens for a phos://physical-context change cue, reads the resource again, and provides current context to the agent according to its policy.
What to expect: The integration receives a URI-only cue and can read current anonymous presence or attention state. The notification contains no image or measurement and does not invoke an AI model.
Limits: The AI agent decides whether to ask its model or request an action. Notifications are best-effort and have no replay. Subscription filters are not checked against per-resource read permissions; see the security note.
Ask PHOS to speak
Purpose: Have an AI agent provide a spoken response through PHOS.
Needs: An AI agent with the standard profile, available speaker/audio output, and a configured TTS provider.
Steps: The AI agent chooses the text and timing, then requests speech with phos_speak through MCP.
What to expect: PHOS accepts the request when its speech path is available and attempts to synthesize and play the bounded text. A lost response does not prove playback failed; inspect runtime status before retrying.
Limits: PHOS supplies configured speech and playback but does not choose what the AI agent says. Speech output is separate from microphone input and voice command capture. Unavailable TTS or audio hardware prevents speech output.
Share one PHOS device across agents
Purpose: Give separate AI agents distinct built-in permission profiles while sharing one PHOS device.
Needs: Multiple configured AI-agent identities and credentials, plus compatible MCP integrations. An observer agent can read context; a standard agent can request supported actions.
Steps: Create each identity under Settings → Agents, issue a separate credential, and assign its intended profile. Each agent can then read or request actions under that profile.
What to expect: PHOS authenticates each identity and checks its profile. Permitted agents share the same display, speaker, and controller outputs.
Limits: Separate credentials do not create a collaborative multi-agent system. PHOS does not coordinate agent plans or provide exclusive outputs or a general action queue. Thinking visuals have bounded per-agent leases; other outputs follow shared runtime behavior. See multiple agents.
Add a compatible physical controller
Purpose: Make accepted observations from an external controller available through PHOS's semantic context.
Needs: Protocol-compatible firmware, serial configuration, and PHOS-supported measurement mappings. The ESP32 reference firmware is one supported path.
Steps: Configure the controller and source mapping as documented in the hardware controller guide, then ask an authorized AI agent to read physical context.
What to expect: PHOS reports only accepted and separately authorized observations, with their provenance and availability. Arbitrary firmware fields do not automatically become MCP data or tools.
Local operation and personalization
Purpose: Use PHOS's local display, behaviors, and configured features without an external AI agent or Internet connection.
Needs: The local runtime and the hardware or providers for each enabled feature.
Steps: Enable only optional features you have configured. Web Admin can inspect status and request a visual expression. Voice sessions start through the authenticated Voice API, not a Web Admin Listen button. See voice commands for prerequisites and exact phrases; choose skins and colors to personalize the interface.
What to expect: Eye animation runs locally. Optional readings and observations appear only when hardware, software, and settings are available; unavailable information is not fabricated. Cloud providers require Internet access, and local model features require their model assets. See standalone operation and the visual system.