Team Blueprints
A team blueprint describes a complete AI team in one YAML document: its agents and their roles, models, tools and skills, how they route work between them, what they must never do, and how to test them. Deploy the same blueprint twice and you get the same team twice.
You rarely need to write one by hand:
- Loyd builds it with you. Describe the team you need. Loyd drafts the blueprint, shows it to you, and deploys it once you agree. You can also ask Loyd to change a team you already have, or to save it as a reusable blueprint.
- Start from the catalog. The Directory lists ready-made team blueprints for sales, support, finance, legal, IT operations, compliance and more. Deploy one and adapt it.
- Author it in Blueprint Studio. Work › Blueprint Studio gives you a form-based editor (teams, orchestration, interactions, schedules, briefing, governance) with a live preview.
Read on if you want to understand what a blueprint contains, review one before deploying it, or keep blueprints under version control.
Why blueprints
- Reproducible: the same blueprint produces the same team every time.
- Reviewable: a blueprint is a document your team, your security officer or your auditor can read before anything is deployed.
- Portable: keep blueprints in your own storage and version them like any other configuration.
- Composable: start from a catalog team and override only what differs for you.
What a blueprint looks like
_format: meetloyd-blueprint
_version: 2.0.0
kind: team
metadata:
name: Quotes Team
slug: quotes-team
description: Answers quote requests from the product catalogue.
teams:
- name: Quotes
slug: quotes
leadAgentSlug: quote-assistant
agents:
- slug: quote-assistant
name: Quote Assistant
role: Quoting Specialist
model: claude-sonnet-latest
systemPrompt: |
You prepare quotes for {{companyName}} using the current catalogue.
tools:
- tool://generate_document
skills:
- skill://doc-coauthoring
canEscalate: true
orchestration:
mode: hierarchical
entryAgentSlug: quote-assistant
inputs:
- name: companyName
label: Company name
type: string
required: true
| Section | What it holds |
|---|---|
_format, _version, kind | Always meetloyd-blueprint, 2.0.0, and team for a team blueprint. |
metadata | Name, slug, description and tags shown in the catalog. |
teams | One or more teams, each with its agents, lead agent, orchestration, interactions, schedules, guardrails and test sets. |
inputs | The questions asked at deploy time, such as your company name or email domain. Answers fill the {{variables}} used in prompts. |
Projects use the same format with kind: project. See Project manifests.
Agents
Each agent declares:
| Field | What it means |
|---|---|
slug, name, role | Identity within the team. |
model | The model the agent runs on. Use an alias (below) so the team always runs on a current model. |
systemPrompt | The agent's instructions. Supports {{variables}} from the blueprint's inputs. |
tools | Platform tools and connector actions, referenced as tool://name. |
skills | Skills, referenced as skill://slug. |
parentAgentSlug | Who this agent reports to. |
canDelegate, canEscalate, canApprove | What the agent may do with other agents' work. |
Model aliases
Instead of pinning a model version, use an alias. It resolves to the current model of that family when you deploy:
claude-opus-latest · claude-sonnet-latest · claude-haiku-latest · gpt-latest · gpt-mini-latest · gemini-latest · gemini-flash-latest · mistral-latest · deepseek-latest · qwen-latest · qwen-coder-latest · glm-latest
Agents only run on models your organisation holds a key for.
How the team works together
Orchestration mode decides how incoming work is routed:
| Mode | Behaviour |
|---|---|
hierarchical | An entry agent receives work and routes it to specialists, with a fallback agent. |
parallel | Several agents work on the same request at once. |
sequential | Agents work one after another in a defined order. |
round_robin | Requests are spread evenly across agents. |
smart_routing | Each request goes to the agent best suited for it. |
Interaction rules describe standing collaboration between two agents: a handoff (ownership moves to the other agent), an escalation, or a notify. Each rule fires on an intent, a platform event, a memory match or a tool call.
Schedules and bootstrap tasks give the team recurring work and a first to-do list as soon as it starts.
Guardrails and test sets
A blueprint also says what the team must never do, and how to show that a change did not make an agent worse:
teams:
- slug: quotes
guardrails:
scope: { blocked: [legal advice], onOutOfScope: redirect }
conduct:
- id: catalogue-prices-only
title: Catalogue prices only
instruction: Never quote a price that is not in the current catalogue.
agents:
- agentSlug: quote-assistant
conduct: [{ id: disclose-ai, instruction: Tell an external person you are an AI assistant. }]
evalDatasets:
- agentSlug: quote-assistant
name: Quote assistant — core cases
cases:
- title: Catalogue quote
input: Can you quote 20 licences of the Pro plan?
criteria: [Uses catalogue prices, States the total]
guardrailsbecomes the team's guardrail policy, and eachagents[]entry becomes that agent's policy. On the first deployment, the person deploying approves and activates it. On a redeployment, a changed policy becomes a new version that follows your guardrail approval settings. See Control › Governance › Guardrails.evalDatasetsbecomes each agent's test set. Every case says what a good answer looks like (criteria,referenceAnswer,mustMentionormustUseTool). Redeploying replaces the cases that came from the blueprint and keeps the ones you added.- When Loyd builds a team with you, it writes a first version of both from what you told it, and refines them as you react.
Agent identity
Every deployed agent automatically receives its own cryptographic identity (a SPIFFE ID), so its actions are attributable and other systems can verify who they are talking to. See Agent Identity.
Deploying a blueprint
- From the Directory: open a team blueprint, answer its inputs, and deploy it into a workspace.
- With Loyd: "deploy the sales team blueprint in the EMEA workspace", or paste a blueprint and ask Loyd to review and deploy it.
- From Blueprint Studio: author and preview the blueprint, then click Deploy this blueprint.
Deployed teams start stopped. Start them with the Start Teams wizard on the Teams page, which starts the leadership team first and then the teams below it, so every team receives its briefing in the right order.
Moving and copying teams
From the Teams page, the ⋮ menu of a team can Export it to a file or Duplicate it. Import Team recreates an exported team in another workspace, optionally with its shared memory.
Best practices
- Use model aliases, not pinned model versions, unless a test result depends on an exact model.
- Ship guardrails and test sets with the team. A team without a test set cannot show that a change made it better.
- Keep prompts generic and put company specifics in
inputs, so the same blueprint serves several workspaces. - Review before you deploy. Ask Loyd to explain a blueprint you did not write.
See also
- Project manifests: the same format for projects
- Workflows: multi-step processes across agents
- Agent Authorization: what each agent may access
- Guardrails: behavioural policies