Skip to main content

Overview

Artifacts are files produced by your crew during a run. Crewship automatically:
  • Collects files from a standard directory
  • Stores them durably
  • Makes them accessible via API and Console

Producing Artifacts

Write files to the artifacts/ directory:
With CrewAI, you can also use the output_file parameter on a task:
tasks.yaml
Produce as many files as needed:

Accessing Artifacts

Via CLI

Output:
Download artifacts:

Via API

Response:
Download an artifact:

Via Console

  1. Open the Console
  2. Navigate to your run
  3. Click the Artifacts tab
  4. Click any artifact to preview or download

Artifact Events

When an artifact is produced, an event is emitted:
Use this for real-time notifications in streaming:

Supported File Types

Any file type is supported. Common types include:

Size Limits

Need larger limits? Contact us for enterprise plans.

Organizing Artifacts

Use subdirectories for organization:
Artifacts are listed with their relative paths:

Best Practices

Name files clearly: quarterly_report_2024Q1.md not output.md
Add timestamps or run info to filenames when helpful:
  • Markdown for human-readable reports
  • JSON for structured data
  • CSV for tabular data
  • PDF for formatted documents
For many files, create a zip archive:

Your First Crew

Build a crew that produces artifacts

Streaming

Get notified when artifacts are produced