Teams CLI
rimz teams discovers, inspects, installs, launches, resumes, and drives named teams.
rimz teams discovers, inspects, installs, launches, resumes, and drives named teams.
A team is a configured set of role bindings and a layout. Each role keeps its own model, prompt, context window, and address while the team shares one lane. The teams guide explains how to design a team; this page owns the command forms.
List teams
rimz teams
rimz teams --json
rimz teams list
rimz teams ls --jsonThe bare command and list/ls merge the effective team definitions with live team instances.
It shows the resolved role, model, and effort summary, each live lane and member count, and either the live state or the definition error.
Live instances remain visible when their definition has since been removed.
The effective catalogue merges the machine agents.toml, fragments under ~/.agents/teams/, and a trusted repository overlay.
An unreadable or invalid effective config fails at entry with the source error.
--json emits the same catalogue as structured team records with definitions, resolved roles, validation, and live instances.
Inspect one team
rimz teams show forge
rimz teams inspect forge
rimz teams show forge --jsonshow and its inspect alias name the best-effort definition source, layout, leader, and validation result, then list each resolved role's profile or kind, model, effort, mode, and prompt files.
Live instances include the lane, member handle and status, context fill, and tracked session cost.
The report ends with copy-ready launch and resume forms.
Launch a team
rimz teams forge
rimz teams launch forge
rimz teams forge -w feat-rate-limits "add rate limiting"
rimz teams forge --channel triage
rimz teams forge --from-pr 91 --bgThe bare-name form and launch verb accept a configured team name and send an optional trailing prompt to its configured leader.
It uses the same launch and relaunch-reconciliation path as rimz agents <team>, including worktree creation, channel placement, pull-request checkout, and existing-cohort focus or recovery.
rimz teams sets where a cohort runs, whether it resumes, and what each member may spend.
rimz agents sets what an agent is — model, effort, prompts, permission posture, name, pane placement, supervised runs.
The team surface carries these cohort-level controls:
-w, --worktree [NAME]creates or reuses a RimZ-owned worktree; a bare-wchooses a fresh name.--channel NAMElaunches in a durable named lane instead of a worktree.--from-pr PRcreates or reuses a worktree from a pull-request number or URL.--description TEXTseeds the member-card description until agents name their sessions.--resumereopens a matching closed cohort instead of launching a fresh one.--budget AMOUNT[/day]caps each member separately; it is not a pooled team cap.--bgleaves focus where it is.--new-tabopens the launch in a new tab or window.
Because resume takes identity from the store, it conflicts with PROMPT, --from-pr, --channel, --description, and --budget.
Per-agent model, prompt-file, permission, supervised-run, and pane-placement overrides stay on rimz agents.
Put stable role-specific choices in the team definition.
Resume a team
rimz teams resume forge
rimz teams resume forge -w feat-rate-limits
rimz teams resume forge -w --bgresume reopens the newest matching closed cohort with the same identity, directory, and lane from durable state.
Current role profiles supply the launch configuration.
-w NAME limits selection to one worktree, while bare -w uses the current worktree.
--bg leaves focus where it is.
Drive a live team
rimz teams focus forge
rimz teams stop forge
rimz teams restart forge
rimz teams stop forge -w feat-rate-limitsfocus jumps to the selected cohort member that needs attention, falling back to the configured leader and then the first member.
stop closes every live member and reports one result per role.
restart relaunches every live member in declared role order, resuming its provider session where supported.
When one team has live cohorts in several lanes, RimZ prefers the cohort in the current lane.
From outside those lanes, select one with -w NAME.
Install a team bundle
rimz teams install
rimz teams install forge
rimz teams install forge --force
rimz teams install forge --ref mainThe bare form lists bundles under examples/teams/ in the RimZ GitHub repository.
The named form downloads every file in that bundle into ~/.agents/teams/<name>/.
The default Git ref is the release tag matching the running binary, v<CARGO_PKG_VERSION>, so the examples and command stay version-aligned.
--ref TAG|BRANCH selects another tag or branch; development builds whose tag is unavailable report the --ref main recovery command.
An existing destination is preserved unless --force is present.
Bundle files use durable temp-file-plus-rename writes.
Network, API, validation, and filesystem failures stop the install with the failing URL or path and a recovery cue.
Use rimz teams for configured-cohort placement, resume, spend caps, and lifecycle control.
Use rimz agents for inline layouts, one role from a team, or per-agent launch shaping.
Agent control CLI
rimz agents is the single launcher and card surface for the fleet: list the room's agents, launch laid-out panes and teams, drive supervised script turns, then focus…
Asks and answers
rimz asks reads the blocking prompt that currently owns an agent's input, and rimz answer answers a supported prompt through the agent's native terminal interface.