Interactive Demo
This page has the Coign agent loaded. Try asking questions, use the widget, or test built-in tools.
Browser Check
Coign requires WebGPU. This check runs before the model loads.
Agent Status
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: