Observed since 20 Oct, 16:54 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Bridge AAEP event streams to Microsoft Narrator on Windows via UI Automation
A reference Windows bridge that subscribes to AAEP producers and routes events to Microsoft Narrator, the built-in Windows screen reader. Unlike the NVDA add-on, this is a standalone bridge process — Narrator does not have a third-party add-on mechanism, so we use Windows UI Automation (UIA) to surface announcements through a hidden window that Narrator monitors.
Status: Prototype. Demonstrates the integration pattern; not yet a production deployment artifact. See §"Production readiness" below.
Strategic significance: Narrator ships with every Windows machine. If AAEP works with Narrator, the protocol becomes accessible to hundreds of millions of Windows users without requiring them to install third-party screen readers.
Narrator's architecture differs from NVDA's in two important ways:
| Property | NVDA | Narrator |
|---|---|---|
| Add-on mechanism | First-class (.nvda-addon packages) | None for third parties |
| Speech control | Direct Python API (speech.speak()) | Via UIA accessibility tree |
| Modification scope | Add-ons can deeply customize Narrator-style behavior | Apps expose accessibility info; Narrator decides what to read |
Because Narrator can't load custom code, we use the UI Automation pattern: this bridge runs as a separate Windows process, exposes a hidden window with proper accessibility properties, and updates that window's accessible text when AAEP events arrive. Narrator (when focused on this window or running automatically with announcement-style features) reads the updated text.
This is the same pattern used by browsers (Edge, Chrome) and other apps that need to announce content to Narrator without being Narrator itself.
The bridge is opt-in: users explicitly add producer endpoints in the configuration UI.
┌──────────────────────────────────────────────────┐
│ Windows host │
│ │
│ ┌──────────────────────────────────────────┐ │
│ │ AAEP Narrator Bridge (standalone proc) │ │
│ │ │ │
│ │ ┌──────────────────────────────────┐ │ │
│ │ │ SSE Client (asyncio + httpx) │ │ │
│ │ └──────────────────────────────────┘ │ │
│ │ │ │ │
│ │ ▼ │ │
│ │ ┌──────────────────────────────────┐ │ │
│ │ │ Event Handler (priority routing) │ │ │
│ │ └──────────────────────────────────┘ │ │
│ │ │ │ │
│ │ ▼ │ │
│ │ ┌──────────────────────────────────┐ │ │
│ │ │ UIA Announcer │ │ │
│ │ │ - Hidden tk window │ │ │
│ │ │ - AccessibleObject updates │ │ │
│ │ │ - Live region notifications │ │ │
│ │ └──────────────────────────────────┘ │ │
│ │ │ │ │
│ └──────────────┼─────────────────────────────┘ │
│ │ │
│ ▼ │
│ ┌──────────────────────────────────────────┐ │
│ │ Narrator (Windows built-in SR) │ │
│ │ Reads accessible text via UIA │ │
│ └──────────────────────────────────────────┘ │
└──────────────────────────────────────────────────┘
The bridge runs as a regular user-space process. Narrator (which runs at a privileged level for some interactions) picks up announcements via Windows' built-in accessibility tree — no special permissions required.
Settings → Accessibility → Narrator → Turn on Narrator)cd examples\subscribers\narrator-bridge-prototype
pip install -e .
Optional dependencies:
pip install -e .[ui] # System tray icon and config GUI
pip install -e .[uia] # Production UIA via pywin32 (Windows-only)
aaep-narrator-bridge --endpoint http://localhost:8080
The bridge runs in the background. When AAEP events arrive, Narrator announces them. Press Ctrl+C in the terminal to stop.
In one terminal, start an AAEP producer:
python -m aaep_minimal_producer.server --port 8080
In another terminal, start the bridge:
aaep-narrator-bridge --endpoint http://localhost:8080 --verbose
Make sure Narrator is on (Windows key + Ctrl + Enter to toggle). Then trigger an event:
curl -X POST http://localhost:8080/sessions ^
-H "Content-Type: application/json" ^
-d "{\"user_message\": \"Send an email to alice@example.com\"}"
Narrator should announce the agent's activity in real time, including critical confirmations.
The bridge reads configuration from %APPDATA%\aaep-narrator-bridge\config.json (created with defaults on first run):
{
"endpoints": ["http://localhost:8080"],
"preferred_languages": ["en"],
"announce_normal_events": true,
"announce_progress": false,
"play_critical_chime": true,
"log_file_path": null,
"auto_connect_on_start": true
}
CLI flags override config file values.
Narrator's UIA-based integration is fundamentally different from NVDA's direct gesture access. Confirmation gestures route through:
[Accept] and [Reject] buttons with keyboard shortcutsThis means confirmations briefly pop a UI window. For unattended deployments, set auto_reject_after_seconds in config to fall through with the safe default.
Narrator integration has inherent constraints we can't work around:
For users who need richer integration, the NVDA add-on provides deeper control. The Narrator bridge is positioned for users who can't or don't want to install third-party screen readers.
This prototype is a demonstration, not a production artifact. Known gaps:
| Limitation | Plan |
|---|---|
| Tk-based hidden window (heavy dependency) | Switch to a Win32 hidden window with raw UIA in v0.2 |
| No installer | Build MSI installer with WIX in v1.0 |
| No code signing | Add Authenticode signature in v1.0 |
| Limited UIA testing | Validate against Inspect.exe and Accessibility Insights in v0.3 |
| No automatic update mechanism | Add Squirrel.Windows update support in v1.0 |
| Single producer | Multi-producer support in v0.2 |
Target: v1.0 production release with Microsoft Store submission in Q1 2027 (per the ROADMAP).
The long-term goal is for Microsoft to add native AAEP support to Narrator, eliminating the need for this bridge. Such an integration would:
This bridge serves as a proof of integration concept that a Microsoft Accessibility team can use when evaluating native support. The implementation demonstrates the value, identifies the integration points, and provides a working reference.
If you're at Microsoft and interested in native AAEP support for Narrator, we'd welcome a conversation: Abdulrafiu@izusoft.tech.
narrator-bridge-prototype/
├── README.md
├── pyproject.toml
├── aaep_narrator_bridge/
│ ├── __init__.py
│ ├── bridge.py # Main subscriber loop
│ ├── announcer.py # UIA announcement window
│ └── handler.py # AAEP event → Narrator routing
└── tests/
└── test_handler.py
../nvda-addon-prototype/ — third-party screen reader subscriber../web-subscriber-react/ — browser-based subscriber../cli-debug/ — simplest reference subscriberDownload counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.1.0 | 4 Jun 2026 | 8 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 16:54 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:8043aa87e35fcb276530949fedc1f30131695482992b90945c45701facb61419