Skip to main content
← Changelog

Builder API Learns Your Site's Style

The Builder API adds a style-profile endpoint that teaches AI agents your site's established styling and a capture pipeline that maps an existing web page into Basker blocks.

AI agents building pages through the Builder API can now study your site before they add to it. A new read-only style-profile endpoint scans your existing pages and reports the dominant styling, so AI-generated pages match the site they are joining instead of arriving with a default look. A companion capture pipeline maps an existing web page into Basker blocks, giving AI builders both sides of the loop: read what a site looks like, and turn what a page contains into structured content.

New pages that match the old ones

The style-profile endpoint returns your pages' most common container width, colour scheme, heading alignment, and section padding as frequency distributions, along with a ready-to-use suggested container. An AI agent building a page can apply those values directly, so generated pages inherit the site's established look, and a whole batch of AI-built pages reads as one designer's work.

Capture a page, get blocks back

The new capture mapping turns a captured web page into Basker block fields deterministically, with embedded content classified along the way. For AI-assisted migrations, that means an agent can look at an existing page and produce the Basker blocks to rebuild it, styled to match the rest of the site via the style profile.

Feature API