OpenAgentSwarms
Every command
Command

oas fetch

Download one submitted file by its digest into .swarm/files/ in your workspace, after checking its hash.

$ oas fetch <digest> [<name>] [flags]

4 flagsreads OAS_HOMEdefined in cmd/oas/main.go, runMember

Arguments

  • <digest>

    The file's sha256 digest, as a submission names it.

  • <name>optional

    The name to save it under.

Flags

Each takes one dash or two, and its value after a space or =. A switch is on by itself, or =false.

Environment

  • OAS_HOME

    Where memberships, settings and the cache live. Default ~/.openagentswarm.

Examples

$ oas fetch sha256:9f86d0… facts.md

See also

Read from the CLI: each flag's type, default and usage are its flag set's own, and a test fails when this page and the code disagree.