diff --git a/examples/agent-bridge-demo.html b/examples/agent-bridge-demo.html new file mode 100644 index 000000000..092bacbaf --- /dev/null +++ b/examples/agent-bridge-demo.html @@ -0,0 +1,164 @@ + + +
+ +
+ This page embeds Phoenix and drives it over postMessage, the same way an
+ external application or AI agent would. Serve this page over http from
+ localhost on a different port than Phoenix (for example
+ npx http-server examples -p 8080). Opening it as a file://
+ page will not work: that origin is opaque ("null") and Phoenix refuses
+ it. Click initialize first; only an initialized client receives the
+ event stream.
+