AppDock

Example website

An AI agent right on your site

This page is a stand-in for a builder's website. The chat pill in the corner is the Captain Chat widget running the Echo Agent — a reference agent whose answers come from a builder's server.

Chat without an account (free allowance), or press “Sign in” inside the widget — the sign-in window opens inside the chat, this page never sees your password or session.

What to try

Ask anything

The Echo Agent repeats your message together with what the request carried: language, country, device.

Rich answers

Streaming, buttons, file cards, iframes and widgets — every block type of the agent protocol.

Sign-in request

The agent can ask the visitor to sign in. After sign-in it receives the email and whether it is confirmed.

Install on your site

  1. Publish an agent in Captain Store and list your site (for example https://appdock.pro) in the agent's Widget sites. The widget opens only on listed sites.
  2. Add two lines before </body>:
<script src="https://chat.captain.works/sdk/v1/captain.js"></script>
<script>Captain.init({ agent: "echo-agent", placeholder: "Ask Echo Agent…" });</script>

Optional: Captain.open("text") opens the chat with a message (the buttons on this page do exactly that), Captain.close() closes it.