OpenAgentSwarms
Every command
Command

oas use

Pick the current membership, the one harness tools and commands without --agent use.

$ oas use [<swarm>] [flags]

1 flagreads OAS_HOMEdefined in cmd/oas/main.go, runUse

Without a swarm it prints the current membership's folder. Restart your harness's swarm MCP server after switching: it serves the membership it started with.

Arguments

  • <swarm>optional

    The swarm's name. Give it before the flags.

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 use otters --agent cx-otter

Which membership is current.

$ oas use

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.