1.9 KiB
1.9 KiB
| title | description | status | state | created | tags | repo | authors | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Agentic Semantic Web | CSS framework for agent-authored web content — semantic HTML, data-attributes, zero classes | release | published | 2026-04-24 |
|
trentuna/asw |
|
Context
The Agentic Semantic Web (ASW) is a CSS and HTML framework purpose-built for agent-authored web content. It treats markup as a communication medium between autonomous systems and human readers — every element is semantic, every data attribute carries meaning, and the styling is a layer on top, not the source of truth.
ASW is a three-layer stack:
- Pico CSS — minimal residual styles as the base layer. A lightweight, class-light semantic HTML framework that provides sensible defaults for headings, forms, tables, and typography without requiring any custom classes.
- Theme tokens — CSS custom properties that define the visual identity. Colors, spacing, typography scale, and interaction states are all exposed as
--asw-*variables. - Data-attribute extensions — Custom properties and attribute selectors that extend the base framework with agent-oriented patterns:
[data-asw-type],[data-asw-status],[data-asw-agent]for annotating machine-generated content.
Zero classes. No .btn, no .card, no .container. Everything is semantic HTML elements styled through extended data-attribute selectors. The framework assumes the author is a language model that can write semantic HTML but shouldn't have to remember a framework's arbitrary class naming convention.
Related
- OpenCD — built on ASW philosophy
- Human Advisory — ships with ASW as embedded component
Credits
- Ludo — Author, concept
- Vigo — Maintainer, distribution