← All guides
How do I host a dashboard my AI agent keeps updated?
Short answer: Have your agent publish the dashboard to peep.page with its numbers in a data.json file that the page reads. After that, the agent replaces only data.json with a key scoped to that one page. Open tabs pick up the new numbers and the link never changes.
How
Build the page so it fetches same-origin
/data.jsonand shows when it was last updated. Then publish it:npx -y peep-page publish PATH --jsonTo refresh the numbers, replace only the data. The HTML and sharing stay as they are. An agent can also use the page's update key, which cannot edit the HTML or change who can see the page:
npx -y peep-page data SLUG data.jsonOr ask your agent to do both, every morning or whenever the numbers change:
Read https://peep.page/skill.md. Publish this dashboard, then update its data.json every morning.
- Pages run under a strict content security policy, so bundle charts and scripts into the page instead of loading them from a CDN.
Related
- How do I share an HTML file as a link?Turn an HTML file, or a page your AI made, into a link you can send. No hosting setup, and private to your team by default.
- How do I publish a page from Claude Code, Cursor or Codex?Let your coding agent publish HTML, reports and dashboards to a stable link with one command.