Your Squad team lives entirely inside aDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/bradygaster/squad/llms.txt
Use this file to discover all available pages before exploring further.
.squad/ directory committed to your git repository. There are no external services, no syncing required, and no accounts to manage — just markdown files that travel with your code. Each agent on the team has two files: a charter.md that defines its identity, role, and voice, and a history.md that accumulates what it has learned specifically about your project. When you clone the repo, you get the full team — names, knowledge, and all.
Team Composition
team.md is the team roster. It lists every active member, their role, and a brief description. The coordinator reads this file to know who is available for dispatch.
Each agent lives under .squad/agents/{name}/, containing:
Charter structure
Here is a real charter from the Squad project itself — theflight agent who owns architecture and product direction:
Routing
routing.md maps categories of work to specific agents. The coordinator reads this file and uses it to decide which agents to spawn when you give a task.
Here is an excerpt from a real routing.md:
Agent History
history.md is what an agent has learned about your specific project. It is written by the Scribe agent after sessions and accumulates over time — conventions you follow, architectural decisions you have made, preferences you have expressed, patterns that are specific to your codebase.
After a few sessions, agents stop asking questions they have already answered. They know your test framework, your naming conventions, your deployment targets, your coding style. This context does not reset between sessions because it lives in a file.
Adding a New Team Member
Use squad init (recommended)
Run Use
squad init at any time. It is idempotent — it adds new members without modifying existing agent files or history.--preset default for a fully-configured squad without the interactive walkthrough.Use SDK-first mode
Define new agents in Then run
squad.config.ts and regenerate:squad build to generate the markdown files.Agent Roles
Roles affect how the casting engine assigns names and how the coordinator routes work. The built-in roles are:lead
Product vision, architecture, code review, scope and trade-off analysis. The coordinator.
developer
Implementation. Writes production code across whatever stack the project uses.
tester
Test coverage, edge cases, CI/CD validation, quality gates, adversarial testing.
scribe
Silent memory manager. Writes history files, logs decisions, archives session output. Always runs in background mode.
reviewer
Code review. Reviewer rejection authority — if a reviewer rejects, the original author is locked out.
security
Hook design, PII filters, security review, compliance, secret management.
designer
Interaction design, copy, spacing, affordances, UX gates, brand, design system.
devops
Build pipelines, CI/CD, infrastructure, deployment automation, and operational tooling.
prompt-engineer
Prompt architecture, spawn templates, coordinator logic, and agent persona design.
Personal Squad
You can maintain a personal squad that travels across all your projects — handy for freelancers, consultants, or anyone who wants consistent agent personalities regardless of which repository they are working in.~/.squad/ and are activated when no project-level .squad/ directory is found. Project-level squads always take precedence.
Parallel Execution
When you address the team, the coordinator launches every relevant agent simultaneously rather than sequentially. Work that can be done in parallel gets done in parallel:Inspectability
Squad keeps a complete audit trail of what happened in each session:decisions.md
decisions.md
Every decision any agent makes is written to
.squad/decisions/. The Scribe consolidates these into a shared decisions.md that all agents read at the start of sessions. This is the team’s shared memory — a log of every architectural choice, convention adopted, and direction set.orchestration-log/
orchestration-log/
Records what was spawned, why it was spawned, what routing rule matched, and what happened. If you want to understand why the coordinator dispatched a particular combination of agents, this is where to look.
log/
log/
Full session history, searchable. Every message exchange with every agent is archived here. Sessions are written incrementally so you never lose context even if a session ends unexpectedly.
grep it, git log it, diff it across branches, and review it in any editor.