Skip to main content
A squad member is part of your AI team. It has a model to think with, instructions to follow, and tools to get work done. You tell it what to do, and it figures out how.

What is a squad member?

A squad member combines four things:
  1. A model — the AI brain (Claude, GPT, Gemini, etc.)
  2. A system prompt — instructions that shape the agent’s personality and behavior
  3. Tools — capabilities like running commands, reading files, or searching the web
  4. Skills — reusable workflows the agent can discover and use on demand
When you send a message, the squad member reads it, reasons about what to do, uses tools if needed, and responds. It does this autonomously — no hand-holding required.

Squad member configuration

You configure each squad member in Desktop’s Deploy wizard (and edit it later from the squad member’s Configuration tab). Behind the scenes, a squad member’s saved configuration looks like this:
Desktop saves your squad members to ~/.dash/gateway/agents.json and the HQ restores them on restart.

Available models

Dash supports models from several providers. Set the model field using the provider/model format:

Anthropic

  • Claude Opus 4
  • Claude Sonnet 4
  • Claude Haiku 4.5

OpenAI

  • GPT-4o
  • o3 mini

Google

  • Gemini 2.0 Flash

Moonshot (Kimi)

  • Kimi K2.6
  • Kimi K2.7 Code

OpenRouter

  • openrouter/deepseek/deepseek-r1
  • openrouter/qwen/qwen3-max
  • openrouter/x-ai/grok-4.3
See AI Providers for credentials setup and model routing details.

Available tools

Pick the tools your squad member needs. Each tool gives a specific capability: See Tools for detailed descriptions and sandboxing behavior.

Fallback models

If your primary model is unavailable or hits a rate limit, the squad member automatically tries the next model in the chain.
The squad member tries models in order: primary first, then each fallback. This keeps your squad member running even if one provider has an outage. Each model can be from a different provider — just make sure you have the right API keys set up.

Workspace

Every squad member gets its own workspace directory. This is where tool operations happen. By default it’s ~/.dash/workspaces/<agent-id> — you can open that folder in Finder or your editor to drop in files for the squad member to work with, or set a custom path in the deploy wizard. The workspace directory is created automatically if it does not exist. Tools operate within this directory:
  • bash uses the workspace as its working directory
  • read, write, edit resolve file paths relative to the workspace
  • File tools are sandboxed — they cannot access files outside the workspace boundary
If no workspace is configured, tools operate without path restrictions. Always set a workspace for squad members that use file or shell tools.

Lifecycle

Squad members are deployed as background processes. Each squad member goes through these states: You can start, stop, restart, and remove squad members at any time from Desktop’s Squad page — click a squad member to manage it. For automation, the same operations are available on the Management API.

Sessions

Every conversation with a squad member is saved as a session. Sessions are stored as append-only JSONL files (one event per line) so they are easy to inspect and crash-safe.
When you send a new message, the squad member loads the session history first. This means it remembers everything from the conversation — previous messages, tool results, and its own responses. Context carries across messages automatically.

Multiple squad members

You can run as many squad members as you need. Each one is independent — different model, different instructions, different tools. Deploy each from Desktop; their configurations look like this:
Each squad member gets its own workspace, session history, and set of tools. Route messages to the right squad member through Messaging Apps or by name in the Chat API.

What’s next

Tools

Learn about each tool and how workspace sandboxing works.

AI Providers

Set up API keys for Anthropic, OpenAI, and Google.

Desktop

Deploy and manage squad members from the desktop app or CLI.

Configuration

Squad member settings, the data directory layout, and standalone HQ flags.