SDK CLI
Script-friendly CLI examples for jobs, workflows, library uploads, and reports.
Use fastfold-cli for shell-friendly workflows with IDs by default and JSON output available via --json.
Tip: Use --help aggressively. The SDK CLI is organized into resource groups, so fastfold-cli --help, fastfold-cli jobs --help, or fastfold-cli workflows evolla --help are the fastest way to discover the exact flags for a task.
Discover commands
Use these help entry points first:
fastfold-cli --help
fastfold-cli fold --help
fastfold-cli jobs --help
fastfold-cli library --help
fastfold-cli workflows --help
fastfold-cli workflows openmm --help
fastfold-cli workflows openmmdl --help
fastfold-cli workflows evolla --help
fastfold-cli workflows boltzgen --help
fastfold-cli reports --helpCommon cross-command flags:
--api-keyoverridesFASTFOLD_API_KEY--base-urlpoints the CLI at a different Fastfold deployment--timeoutcontrols HTTP timeout in seconds--jsonprints the full API response instead of the default ID or simplified output
Payload and file input patterns used across the CLI:
--payloadfor inline JSON or YAML objects--payload-filefor JSON or YAML files--file -or--payload-file -to read from stdin--format auto|json|yamlwhen you need to force payload parsing
Command tree
Top-level commands:
fastfold-cli fold
fastfold-cli jobs ...
fastfold-cli library ...
fastfold-cli workflows ...
fastfold-cli reports ...jobs subcommands:
fastfold-cli jobs create
fastfold-cli jobs from-yaml
fastfold-cli jobs results
fastfold-cli jobs wait
fastfold-cli jobs set-public
fastfold-cli jobs render-yaml
fastfold-cli jobs render-jsonlibrary subcommands:
fastfold-cli library create
fastfold-cli library get
fastfold-cli library uploadworkflows subcommands:
fastfold-cli workflows create
fastfold-cli workflows get
fastfold-cli workflows status
fastfold-cli workflows task-results
fastfold-cli workflows execute
fastfold-cli workflows set-public
fastfold-cli workflows create-graph
fastfold-cli workflows get-yml
fastfold-cli workflows set-yml
fastfold-cli workflows create-from-yml
fastfold-cli workflows openmm ...
fastfold-cli workflows openmmdl ...
fastfold-cli workflows evolla ...
fastfold-cli workflows boltzgen ...workflows evolla subcommands:
fastfold-cli workflows evolla from-fold-job
fastfold-cli workflows evolla from-file
fastfold-cli workflows evolla from-inputworkflows openmm subcommands:
fastfold-cli workflows openmm from-fold-job
fastfold-cli workflows openmm from-manual-files
fastfold-cli workflows openmm from-workflow
fastfold-cli workflows openmm extract-frameworkflows openmmdl subcommands:
fastfold-cli workflows openmmdl prepare-script
fastfold-cli workflows openmmdl from-local-files
fastfold-cli workflows openmmdl from-workflow
fastfold-cli workflows openmmdl execute-draft
fastfold-cli workflows openmmdl extract-frameworkflows boltzgen subcommands:
fastfold-cli workflows boltzgen create-draft
fastfold-cli workflows boltzgen create-from-yml
fastfold-cli workflows boltzgen get-yml
fastfold-cli workflows boltzgen set-yml
fastfold-cli workflows boltzgen execute
fastfold-cli workflows boltzgen logs
fastfold-cli workflows boltzgen example-files
fastfold-cli workflows boltzgen build-specreports subcommands:
fastfold-cli reports slackFold jobs
fastfold-cli fold --sequence "LLGDFFRKSKEKIGKEFKRIVQRIKDFLRNLVPRTES" --model boltz-2
fastfold-cli jobs create --payload-file fastfold/examples/fold/job_payload.json
fastfold-cli jobs from-yaml --file fastfold/examples/fold/boltz2_affinity_input.yaml --model boltz-2
fastfold-cli jobs results <job_id> --json
fastfold-cli jobs wait <job_id> --json
fastfold-cli jobs set-public <job_id> --public
fastfold-cli jobs render-yaml --payload-file fastfold/examples/fold/job_payload.json
fastfold-cli jobs render-json --payload-file fastfold/examples/fold/boltz2_affinity_input.yaml --format yaml --jsonCommon fold and job flags:
fold --paramsaccepts inline JSON or YAML for advanced model parametersfold --constraintsaccepts inline JSON or YAML for constraintsjobs create --from-idandjobs from-yaml --from-idassociate the job with a library itemjobs from-yaml --draftcreates without dispatching immediatelyjobs from-yaml --publicsets public visibility at creation timejobs wait --poll-interval,--wait-timeout, and--no-logcontrol wait behavior
Workflows
fastfold-cli workflows create --payload-file fastfold/examples/openmm/from_manual_files.json
fastfold-cli workflows get <workflow_id> --json
fastfold-cli workflows status <workflow_id>
fastfold-cli workflows task-results <workflow_id> --json
fastfold-cli workflows execute <workflow_id>
fastfold-cli workflows set-public <workflow_id> --public
fastfold-cli workflows create-graph --workflow-name boltzgen_v1 --name demo
fastfold-cli workflows get-yml <workflow_id>
fastfold-cli workflows set-yml <workflow_id> --file ./workflow.yml --json
fastfold-cli workflows create-from-yml --workflow-name boltzgen_v1 --file ./workflow.yml --execute --jsonUse the generic workflows commands when you already have a complete request body or when you need direct workflow.yml control.
OpenMM and OpenMMDL helpers
fastfold-cli workflows openmm from-fold-job <job_id> --sim-length-ns 0.2
fastfold-cli workflows openmm from-manual-files --pdb ./protein.pdb --pae ./pae.json --simulation-name AF-P00698 --sim-length-ns 10 --box-length 50
fastfold-cli workflows openmm from-workflow <workflow_id> --input-json '{"sim_length_ns": 5}'
fastfold-cli workflows openmm extract-frame <workflow_id> --time-ns 10 --json
fastfold-cli workflows openmmdl prepare-script --input-json fastfold/examples/openmmdl/from_local_files.json
fastfold-cli workflows openmmdl from-local-files --topology ./KEAP1kd.pdb --ligand ./IQK.sdf --simulation-name "KEAP1 + IQK" --input-json fastfold/examples/openmmdl/workflow_input.json
fastfold-cli workflows openmmdl from-local-files --topology ./KEAP1kd.pdb --ligand ./IQK.sdf --simulation-name "KEAP1 + IQK (Quick Water Box)" --input-json fastfold/examples/openmmdl/quick_water_box.workflow_input.json
fastfold-cli workflows openmmdl from-workflow <workflow_id> --prepare --json
fastfold-cli workflows openmmdl execute-draft <workflow_id> --json
fastfold-cli workflows openmmdl extract-frame <workflow_id> --time-ns 10 --jsonImportant helper flags:
workflows openmm from-workflow --input-jsonmerges JSON or YAML intoworkflow_inputworkflows openmmdl from-local-files --ligandis repeatableworkflows openmmdl from-local-files --run-analysisor--no-run-analysistoggles analysisworkflows openmmdl from-local-files --skip-preparebypasses/prepare-scriptworkflows openmmdl from-local-files --draft-scriptcreates in draft mode- both
extract-framecommands accept--selection,--output-filename, and--dt-in-ps
Evolla helpers
fastfold-cli workflows evolla from-file ./model.cif --question "What is the function of this protein?" --json
fastfold-cli workflows evolla from-fold-job <job_id> --question "What is the function of this protein?" --json
fastfold-cli workflows evolla from-input --file fastfold/examples/evolla/from_fold_job.template.json --name "Evolla demo"from-fileuploads the structure via the Library API (file-typedefaults toprotein) and setstargetSource: uploadfrom-fold-jobprefers the CIF URL from job results; ifsourceUserIdcannot be inferred, pass--source-user-idor setFASTFOLD_EVOLLA_SOURCE_USER_IDfrom-inputposts aworkflow_inputobject as for Create Workflow Run withworkflow_name: evolla_v1
BoltzGen helpers
fastfold-cli workflows boltzgen create-draft --name demo
fastfold-cli workflows boltzgen create-from-yml --file ./workflow.yml --name demo --execute --json
fastfold-cli workflows boltzgen get-yml <workflow_id>
fastfold-cli workflows boltzgen set-yml <workflow_id> --file ./workflow.yml --json
fastfold-cli workflows boltzgen execute <workflow_id> --json
fastfold-cli workflows boltzgen logs <workflow_id> --json
fastfold-cli workflows boltzgen example-files --json
fastfold-cli workflows boltzgen build-spec \
--template-file fastfold/examples/boltzgen/minimal.workflow.yml \
--replacements-file fastfold/examples/boltzgen/replacements.example.json \
--output ./workflow.ymlReminder: build-spec only generates the local workflow.yml. You still need to upload referenced inputs to the library and then submit or attach the resulting workflow YAML to a draft workflow.
Library and reports
fastfold-cli library create --name input-folder --type folder --json
fastfold-cli library get <item_id> --json
fastfold-cli library upload <item_id> ./protein.pdb ./ligand.sdf --json
fastfold-cli reports slack --markdown "## Demo Report"
fastfold-cli reports slack --markdown-file fastfold/examples/reports/sample_report.mdFor library create, the main fields are --name, --type file|folder, --parent-id, --file-type, --origin, and --metadata.
For reports slack, pass either --markdown or --markdown-file. Use --report-name to label the saved report, and --no-save-to-library when you only want delivery without library persistence.
Last updated on