Quick Start
File Output
Enable agents to generate documents like PDFs, DOCX, CSV, and more.Enable File Output
Supported File Types
| Format | Description | Use Cases |
|---|---|---|
| Portable Document | Reports, invoices, certificates | |
| DOCX | Word Document | Editable documents, proposals |
| CSV | Comma-Separated | Data exports, spreadsheets |
| XLSX | Excel | Structured data, analytics |
| PPT/PPTX | PowerPoint | Presentations, slides |
| TXT | Plain Text | Simple text files |
Example
Image Output
Enable agents to generate images using Google Gemini or OpenAI DALL-E.Image Models
Enable Image Generation
Example
Combined File & Image Output
Enable both file and image generation in the same agent.Artifact Class
Generated files are returned asArtifact objects.
Properties
| Property | Type | Description |
|---|---|---|
name | str | File name |
url | str | Download URL |
format_type | str | File format (pdf, docx, image, etc.) |
artifact_id | str | Unique artifact identifier |
Methods
download()
Working with Artifacts
Check for Files
Filter by Type
Batch Download
Use Cases
Report Generation
Invoice Creation
Marketing Materials
Next Steps
File Generation
Detailed guide to file generation
Image Generation
Detailed guide to image generation