Interactive Demo

This page has the Coign agent loaded. Try asking questions, use the widget, or test built-in tools.

Browser Check

โณ Checking browser support...

Coign requires WebGPU. This check runs before the model loads.

Agent Status

โณ Loading model...

The model downloads on first load and is cached for future visits. This may take a moment.

Model Swap

Switch models without losing history or tools:

Built-in Tools

These tools let the agent understand and interact with the page:

๐Ÿ” searchPage

Full-text search across visible page content using MiniSearch. Returns highlighted matches with context.

๐Ÿ“„ getPageOutline

Returns a Markdown outline of the page structure โ€” headings, links, and sections.

๐ŸŽฏ getElement

Resolves a CSS selector and returns text, HTML, attributes, and viewport position.

Widget Controls

Use the chat widget in the bottom-right corner to talk to the agent. Or use the buttons above to control it programmatically.

Confirmation Dialog

Ask the Agent

Send a message directly via the API: