Build and share AI-powered apps with Claude
AI-generated summary of reporting by Simon Willison’s Weblog. Read the original for the full story.
Why it matters
Claude Artifacts apps can now call Claude themselves via window.claude.complete(), letting anyone build and share self-contained AI apps where end users, not the creator, pay for the prompts.
Anthropic has upgraded Claude Artifacts, the web apps you can build inside Claude, so those apps can now send their own prompts to Claude using a new window.claude.complete() function. This means people can build working AI-powered tools, like a translator, with one sentence and share them publicly. Anyone using the app must sign in with their own Anthropic account, so they pay for their own usage rather than the builder. The feature must be enabled in Claude's settings under 'Create AI-powered artifacts'.
Anthropic turned a single new JavaScript function, window.claude.complete(), into a product launch: Artifacts apps can now run their own prompts against Claude. Costs are shifted to end users, who must sign into their own Anthropic account before any prompt runs, protecting builders from usage bills. This enables shareable AI apps without API infrastructure, though the API only handles strings, forcing awkward JSON prompt engineering and manual conversation-state handling. Enable it via claude.ai/settings/profile.
Artifacts run in a sandboxed iframe with CSP headers blocking fetch() and localStorage; the new window.claude.complete(prompt) method, also available to the analysis tool, takes a string and returns a string with no native conversation-history support, so prior messages must be serialized as a JSON array inside each prompt. Anthropic's leaked system-prompt tool instructions recommend emphatic JSON-only prompting and prototyping completions in the analysis tool first, since artifact errors are invisible to the main model. Enable via Settings -> Profile feature preview.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Claude Anthropic Claude Artifacts window.claude.complete Claudeception
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Code-driven AI illustrations are more useful than images from dedicated image models
Code-driven AI illustrations let designers edit assets directly in code, saving time on iteration and ensuring consistency, which is a game-changer for teams that need rapid, reusable visual content.
datasette-charts 0.5a0
Datasette Charts 0.5a0 adds calendar heatmaps, box plots and active-over-time charts, enabling richer data visualisation directly in the browser without extra libraries.
A hierarchical note-taking app for building large personal knowledge bases
Trilium lets users build and navigate massive personal knowledge bases without duplicating content, saving time on organization and retrieval.
Desktop apps in Go with native UI or web frontend
Go developers can now ship cross-platform desktop and mobile apps in a single small binary without cgo or heavy runtimes, cutting build complexity and deployment size.
OpenBitFun: an agent workspace with four harness modes and phone remote control
OpenBitFun lets agents run on any machine and be controlled from a phone, eliminating the need to choose between local power and remote access, saving developers time switching contexts.