Open source artifact server

ArtifactSmith in five minutes

Turn an agent's work into a page, file, or document you can look at, share, and pull back later.

What it is

ArtifactSmith is an open source artifact server for AI agents. Agents call it over MCP to turn their work into web pages, PDFs, Word files, spreadsheets, and Markdown.

Why it exists

Agents can do good work and then hand back a wall of chat text. ArtifactSmith lets them hand back real pages you can look at, share, and pull back later, inspired by Meta's Muse artifacts and built for people who run their own agents on their own servers.

How it works

01

Ask

Your agent calls create with the user's words.

02

Build

A model on any OpenAI-compatible endpoint writes it. A fixed renderer turns it into a document.

03

Preview

Check a private link before anyone else can see the result.

04

Share or revoke

Share one exact version with a public link. Unshare it and the link returns 404.

What it can make

Web page PDF Word Excel Markdown

The tools an agent gets

Tool What it does
createQueue a private build.
statusPoll or wait for the build.
editCreate a new version from the latest one.
inspectRead the manifest, history, and share state.
list_artifactsShow the artifact catalog.
exportGet a download link valid for 15 minutes.
shareCreate a public link for one exact version.
unshareMake a shared link return 404.
revoke_previewsExpire private preview links.
deletePurge an artifact in two steps.

Safe by default

Try it in three commands

Set your API key in the environment file, prepare the local environment, and start the server.

cp .env.example .env
./scripts/ensure-local-env.sh
docker compose up -d --build

Then create a token:

docker compose exec server artifactsmith token add --name agent --workspace alpha

Point an MCP client at the /mcp endpoint on port 8780 of the machine running it, with that token.

License

MIT