AI Agent Swarm Types and Defaults (swarm/types.ts)

harness-sdk · strands-ts/src/vended-tools/swarm/types.ts · typescript · Apache-2.0
ai, automation, lang:typescript, tag:swarm

Defines TypeScript configuration constants and type definitions for spawning collaborative multi-agent AI swarms that solve complex tasks.

// Source: https://github.com/strands-agents/harness-sdk | License: Apache-2.0
// Provided via justclaw.it.com; keep this notice with the code.
/**
 * Description for the default swarm tool.
 */
export const DEFAULT_SWARM_DESCRIPTION =
  'Spin up a team of AI agents that solve a task together by handing off to one another. ' +
  'Each agent has its own name, system prompt, and tools (drawn from your own). ' +
  'Agents hand off through their structured response and cannot start another swarm; your other tools are ' +
  'passed through. The `entry_point` agent (default: the first in `agents`) receives the task and starts the ' +
  "work. The run ends when an agent finishes without handing off. Returns each participating agent's final " +
  'output, prefixed with its name. If the team does n

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key