# Framework-Aware Artifact Rendering Ideas Daybook currently supports a useful split between server-owned rendering and agent-owned rendering: - `markdown`: agent sends Markdown; Daybook renders and wraps it. - `html_fragment`: agent sends body-only HTML; Daybook owns the shell and theme CSS. - `html_full`: agent sends the complete HTML document and owns all presentation. - `deck`: agent sends slide sections; Daybook wraps them as a simple deck. The next design question is how to let agents use established CSS/component frameworks without making every artifact depend on arbitrary external assets or custom page shells. ## Core Principle Agents should publish content, not storage paths or app internals. For framework-aware artifacts, the preferred model is: ```text Agent sends framework-compatible body markup Daybook selects/owns the framework CSS and page shell Browser renders a consistent artifact preview ``` This preserves the Daybook principle while giving LLMs a known design vocabulary. ## Current Option: `html_full` Agents can already use any framework by posting `html_full` and including the framework assets themselves. Example with Bootstrap CDN: ```json { "persona": "athena", "kind": "html_full", "title": "Bootstrap Report", "content": "