Last updated: November 26, 2026
CrewAI artifacts, added in CrewAI 1.15.44 on November 19, 2026, let a crew, agent or flow save reports, charts, CSVs and other files as named, versioned outputs. CrewAI 1.15.45 (November 23) can also render HTML or markdown into a PDF artifact. Locally, files go to disk; on CrewAI AMP, people can preview, download and share them.
Contents
- What changed in CrewAI 1.15.44 and 1.15.45
- Four ways to save an artifact
- Save a task output as an artifact
- Save a PDF
- Artifacts in flows and human feedback
- Artifact kinds and storage
- Availability and pricing
- Upgrade note: Knowledge now uses Qdrant
- Limitations
- Frequently asked questions
What changed in CrewAI 1.15.44 and 1.15.45
CrewAI is an open-source framework for orchestrating teams of AI agents (CrewAI on GitHub). The 1.15.44 release added “the capability to save files as versioned, shareable artifacts”; 1.15.45 added saving HTML or markdown output as a PDF artifact (CrewAI changelog).
An artifact is a named file with an identifier. Saving the same identifier again in the same run creates version 2, 3 and so on, so a report that is regenerated after feedback keeps its history. Artifacts are opt-in (Artifacts docs).
Four ways to save an artifact
| Method | How you turn it on | Best for |
|---|---|---|
| Task output | Task(artifact=Artifact(...)) or artifact=True |
Reports a task always produces; no tool call or extra tokens |
| Single agent | agent.kickoff(..., artifact=...) |
One-off agent runs |
| Agent tool | artifacts=True on a crew or agent |
Letting agents decide what to save |
| Your code | save_artifact(Artifact(...), content=...) |
Flow steps that need no agent |
The task method saves the final output directly, so “the model cannot forget to save it.” The tool method gives agents a save_artifact tool that takes identifier, title, kind and either content or file_path, and returns JSON with the version, url and share_url (Artifacts docs).
Save a task output as an artifact
These steps follow the official Artifacts page (Artifacts docs):
- Upgrade to CrewAI 1.15.45 or later, for example with
uv add crewai, to get both artifacts and PDF output. - Import the class with
from crewai import Artifact, Task. - Add
artifact=Artifact(identifier="q3-report", title="Q3 report", kind="html")to the task, orartifact=Trueto let CrewAI name it from the task name. - Run the crew. When the task finishes, its final output is saved as version 1.
- Read
output.artifact.urlto attach the file andoutput.artifact.share_urlto link people to it. - Run again: the same name creates the next version rather than a new artifact.
With artifact=True, CrewAI picks the kind from the output: html if it starts with <!doctype html or <html, svg for <svg, json for a JSON object or list, and markdown otherwise. For a chart or other file a tool writes to disk, set file_path; the image and file kinds require it, and the path must be inside the working directory (Artifacts docs).
Save a PDF
Set kind="pdf" without file_path and ask the agent for one full HTML page or for markdown; CrewAI renders it into a PDF on save. Install crewai[pdf], which uses WeasyPrint and needs the Pango system library (on Debian or Ubuntu, libpango-1.0-0 and libpangoft2-1.0-0) (Artifacts docs).
Scripts do not run, so ask for inline SVG charts rather than JavaScript ones. Images and stylesheets load only from inline data: URLs; remote URLs and local files are never fetched.
Artifacts in flows and human feedback
In a declarative flow, set artifact: true under with on a call: agent step; it is named after the method, for example write-report. A later step can list it under input_files as {artifact: write-report}, or pin version: 1; input files need crewai[file-processing] (Artifacts docs).
From Python, load_artifact("board-report") returns the bytes of the latest version, or a given version. This matters for flows that pause for human feedback: a flow can resume on another machine where earlier files are gone, but its artifacts are kept, so it can read the report back, revise it and save the next version. A missing artifact raises ArtifactNotFoundError.
Artifact kinds and storage
| Kind | Saved as | Note |
|---|---|---|
| markdown, text, csv | .md, .txt, .csv |
Text output |
| html | .html |
Rendered in a sandbox on AMP |
| svg, json, a2ui | .svg, .json |
a2ui is an A2UI payload |
| image | File’s extension | Needs file_path; AMP accepts PNG, JPEG, GIF and WebP |
.pdf |
From file_path, or HTML/markdown rendered with crewai[pdf] | |
| file | File’s extension | Needs file_path; download only |
Locally, artifacts are saved to ./artifacts/<run id>/<identifier>/v<N>.<ext>, url is a file:// URL and share_url is empty. On CrewAI AMP the same code uploads to the run: url becomes a download link that expires after one day, and share_url is a viewer page that requires a CrewAI sign-in. Identifiers must match [a-z0-9][a-z0-9_.-]{0,63}. To send files elsewhere, such as S3, subclass ArtifactStore and register it with set_artifact_store() (Artifacts docs).
Availability and pricing
Artifacts ship in the open-source crewai package, which is MIT-licensed (CrewAI on GitHub), and the documentation lists no separate charge for artifacts. Saving task output as an artifact adds no tool call or extra tokens. CrewAI AMP plan prices are not covered here.
If you compare agent frameworks, our Pydantic AI 2.75 guide to computer use and fallbacks covers a recent Python alternative, and the OpenAI Agents API guide covers a hosted option. For routing CrewAI model calls, see our LiteLLM 1.111 guide to customer management and alerts.
Upgrade note: Knowledge now uses Qdrant
CrewAI 1.15.42 (November 18) made ChromaDB an optional extra and switched Knowledge to a local Qdrant store (CrewAI changelog). Knowledge indexed with ChromaDB earlier is not read or migrated; it is re-embedded on the next run, which calls your embedder again. By default nothing is kept between runs unless you set a fixed path with QdrantConfig(options={"path": "./knowledge_db"}), which allows one process at a time. To share a store, use a Qdrant server or opt back in with pip install "crewai[chromadb]" and set_rag_config(ChromaDBConfig()) (Knowledge docs). For a managed alternative, see our Amazon OpenSearch Memory guide.
Limitations
- An artifact belongs to one run; crews inside a flow share the flow’s run.
- Saving never fails the run; task saves only log a warning, so watch logs or the
ArtifactCreatedEventevent. - A custom store without
loadmakesload_artifactraiseNotImplementedError. - HTML artifacts render in a sandbox on AMP (Artifacts docs).
Frequently asked questions
What are CrewAI artifacts?
Artifacts are named files that a crew, agent or flow saves during a run, such as an HTML report, a markdown document, a chart, a CSV or a PDF. Each one has an identifier, and saving the same identifier again in the same run creates a new version.
How do I save a CrewAI task output as a PDF?
Install the extra with uv add ‘crewai[pdf]’, plus the Pango system library, then set artifact=Artifact(identifier=…, title=…, kind=”pdf”) on the task and ask the agent for one full HTML page or markdown. CrewAI renders the text into a PDF when it saves it.
Where does CrewAI store artifacts?
Locally, artifacts are written to ./artifacts/<run id>/<identifier>/v<N>.<ext>, and the url is a file:// link. On CrewAI AMP they are uploaded to the run, the download link expires after one day, and the share page requires a CrewAI sign-in.
Can a failed artifact save stop my crew?
No. The save_artifact tool returns the error text to the agent, and task or kickoff artifacts log a warning while the run completes. Only a direct save_artifact() call from your own code raises the error.
Does CrewAI still use ChromaDB for Knowledge?
Not by default. Since 1.15.42, Knowledge uses a local Qdrant store and ChromaDB is an optional extra. Knowledge indexed with ChromaDB earlier is not migrated, so it is re-embedded on the next run unless you opt back in to ChromaDB.
Sources
- CrewAI docs: Artifacts
- CrewAI docs: Changelog (v1.15.42 to v1.15.45)
- CrewAI docs: Knowledge
- crewAIInc/crewAI on GitHub
Featured image: “html php java source code” by Markus Spiske, CC0, via Wikimedia Commons. FreeAnswers is not affiliated with CrewAI.