Artifacts
An artifact is a file a run produced: an HTML page, a Markdown file, an image, a JSON document. Stages write them as they finish, so you can open an artifact while the run is still going.
Where you find them
Section titled “Where you find them”- On the run page, in the Artifacts panel, with a preview of the first HTML artifact (or the first image).
- On the Artifacts page, across all runs.
- As one download: every run’s artifacts come as a single
.zip.
Artifacts are untrusted content
Section titled “Artifacts are untrusted content”An artifact is output written by an agent, and it may contain whatever the model wrote. Knetik therefore never lets an artifact run script inside the dashboard:
- Previews are shown in a sandboxed frame.
- Artifacts are served with a restrictive content policy and
nosniff.
You can open one in a new tab or download it, but treat it as content, not as part of the app.
Names and versions
Section titled “Names and versions”An artifact is identified by its name within a run. Writing the same name again replaces it, which is what makes stages safe to re-run after a restart. Names can contain a folder, such as images/v1-1.svg. When a stage is sent back and redone, a module may keep every version (the content creator keeps each set of images), so a run can hold several sets, all in the zip.
Storage
Section titled “Storage”| Where Knetik runs | Where artifact bytes live |
|---|---|
| Local mode | Files on disk under .knetik/local/artifacts |
| Hosted on Node (Docker) | Files on disk under <data dir>/artifacts, on the persistent volume. Up to 25 MB per file. |
| Hosted on Cloudflare | In an R2 bucket, up to 25 MB per file. The database keeps only the name, size and key. |
A run’s zip download is limited to 64 MB; a larger run gets an HTTP 413 and its files must be downloaded one by one.
Known limits
Section titled “Known limits”- Old image versions are not cleaned up automatically.
- Large content belongs in an artifact, not in a stage’s output: a run’s stage outputs must stay under about 1.5 MB in total on the Cloudflare host, or the run fails with a message saying so.