artifacts
Installation
SKILL.md
Asta Artifacts
Artifacts are the structured outputs produced by A2A agents. They accumulate in the artifacts[] field of the task response.
Export
# 1. Dump task result
TASK_DIR=$(mktemp -d)
asta <agent> task "<TASK_ID>" > "$TASK_DIR/task.json"
# 2. Export (caller decides output dir and format)
asta artifacts --input "$TASK_DIR" --output "$OUT_DIR" --format md
Produces per-artifact files organized by subtype, plus index.md, references.bib, and manifest.json.
Works on partial task data too — useful for previewing mid-run.