Connect your agents

Your artifacts live on the host, independently of the agent that created them. Multiple agents can work on the same collection when your host gives them access to the same authenticated owner.

Pick the interface your agent supports

InterfaceUse it for
MCPExpose artifact tools in a compatible MCP server
HTTP APICall your host from agents, automations or other applications
CLILet shell-capable agents publish and manage artifacts

Client transport and authentication support vary. A logo on the homepage illustrates the multi-agent workflow; it does not mean an automatic, preconfigured connector is installed for that client.

Start with a shell-capable agent

Run the local quickstart. Ask one agent to publish a page with the built CLI, and give a second agent the returned artifact ID. Both use the same host:

# From the artifactkit source checkout, after npm ci has built the CLI:
ARTIFACTKIT_URL=http://localhost:8788 node dist/cli/index.js list
ARTIFACTKIT_URL=http://localhost:8788 node dist/cli/index.js get <artifact-id> --out current.html

For a deployed host, configure ARTIFACTKIT_URL with its HTTPS base URL and provide ARTIFACTKIT_TOKEN through your agent's secret/environment settings. Avoid embedding credentials in prompts or version-controlled client configuration.

This is sufficient for agents with shell access. For a chat client that only supports MCP tools, mount the library's tool set in a compatible MCP server instead.

Add MCP tools to your server

The core exports createArtifactTools, registerArtifactTools and authentication helpers from @artifactkitdev/core/mcp. Mount these tools into the server you already run and choose the transport your clients support.

The library does not provide a separate MCP OAuth server. If your server authenticates users already, pass its authenticated principal through delegated authentication. Keep owner identity under the host’s control; do not let a model choose an arbitrary owner.

See the integration guide for the adapter pattern. Its infrastructure examples are optional; artifactkit does not require that infrastructure.

Share the same work, deliberately

Give agents that should collaborate access to the same owner identity. Separate owners see separate collections. Avoid sharing a broad personal credential merely to get a shared collection; issue credentials or delegated sessions according to the access policy of your host.

When two agents edit the same artifact, each update carries the version it started from. If another update wins first, the stale write fails. The second agent should fetch the current version, reconcile its change, and retry.

Bring people in

Share links are revocable capabilities that serve the current version. Anyone with the link can read the shared page, so distribute it according to the content’s audience. Comments are part of the core; a host decides how readers authenticate and interact with them.

Guides for running artifactkit and the planned hosted service.