Skip to content

Connect OpenCode

Use OpenCode agents to build Embed pages and artifacts with @chartbuddy.io/embed.

Three steps

1. Seed context

In a new session, point the agent at:

text
ChartBuddy Embed – new Insight(), @chartbuddy.io/embed from unpkg or npm.
llms.txt: https://unpkg.com/@chartbuddy.io/embed/llms.txt
Host must have definite size (aspect-ratio or fixed px).

2. Build

Same patterns as Connect Cursor: HTML artifact or project files, chartData + host CSS.

3. Verify

Visual QA loop – confirm the chart fills the host.

Optional: Hub MCP

OpenCode can also run Chartbuddy Hub MCP – see Hub – Connect OpenCode. Embed and Hub MCP are separate integrations.

Developer documentation for ChartBuddy Embed · Not the end-user Help Center · Help Center