Browse the docs
Docs/Sharing and publishing

Export code as a ZIP

App artifacts only. Export code (.zip) downloads source code, so it appears on apps and not on documents. A document exports as Markdown or PDF instead — the option is simply absent from its Export menu, which is expected rather than a fault.

Export → Export code (.zip) downloads an app's source files as they are right now.

When to use it

  • Before deleting an artifact, since deletion is not recoverable
  • To hand the code to a developer who does not use AgentGrid.io
  • To move a project somewhere else
  • To keep an offline copy of something important

Steps

::: lanes

In the app

  1. Open the artifact.
  2. Select Export.
  3. Choose Export code (.zip) for an app, or Export as Markdown / Export as PDF for a document.

Ask your AI assistant

Export the code of this AgentGrid.io artifact and tell me what's in it.

:::

The Export menu on an app artifact The Export menu on a document, with Markdown and PDF

What you get

The artifact's current files. Not its history, and not any deployment settings.

FAQ

Does exporting change anything? No. It is a read.

Can I bring an export back in? Ask your AI to push it. It lands as a second artifact rather than updating the original — to update, edit in place or ask your AI to change the existing one.

Does the export include the version history? No. The history stays with the artifact.

Why is there no Export code on my document? Because there is no code to export. Documents export as Markdown or PDF.