Appearance
Are you an LLM? You can read better optimized documentation at /embed/docs/connect-ai/opencode.md for this page in Markdown format
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:
llms.txt(index → follow linked.mdpages)- Quick start
- Canvas & sizing
text
ChartBuddy Embed – new Insight(), @chartbuddy.io/embed from unpkg or npm.
1) https://unpkg.com/@chartbuddy.io/embed/llms.txt
2) Fetch linked docs .md pages as needed
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.