peep.page
← 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

  1. Build the page so it fetches same-origin /data.json and shows when it was last updated. Then publish it:

    npx -y peep-page publish PATH --json
  2. To 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.json
  3. Or 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.

Related