Before you start
You’ll need:- xysq connected via MCP (Claude or Cursor)
- A team created in app.xysq.ai with at least one member
- Your team ID — find it in the Teams page URL or in Team Settings
Telling your agent which team to use
The simplest way is to say it explicitly at the start of a session:memory_list(team_id="<id>") or memory_recall(team_id="<id>") behind the scenes. You can also find your team ID and tell the agent directly:
list_teams() and show you all teams you belong to with their IDs and your role in each.
Retaining to a team vault
Explicit retain
During a conversation
Once you’ve told your agent to use a team vault, it retains context there automatically — the same way it would for your personal vault:Retaining a decision with context
Recalling from a team vault
At session start
Ask your agent to load team context at the beginning of a session — this is the most efficient pattern:memory_reflect("team context and recent decisions", team_id="<id>") and synthesise the relevant facts into a working summary.
Targeted recall
Cross-checking personal and team context
Your agent has access to both vaults simultaneously. You can ask questions that span both:Reflecting on team knowledge
memory_reflect synthesises a grounded answer from stored memories. It works identically for team vaults:
Working with multiple teams
If you belong to more than one team, be explicit about which vault you want:Deleting a team memory
Members with admin or owner role can delete memories from the team vault:MCP tools reference
These are the underlying tools your agent uses when you ask it to work with team vaults. You don’t need to call them directly — your agent handles this — but understanding them helps you write more precise instructions.| Tool | What it does | Minimum role |
|---|---|---|
list_teams() | Lists all teams you belong to with IDs and roles | member |
memory_list(team_id=...) | Lists recent memories from the team vault | ro |
memory_recall(query, team_id=...) | Semantic search over team memories | ro |
memory_reflect(query, team_id=...) | Synthesised answer from team memories | ro |
memory_retain(content, team_id=...) | Stores a memory in the team vault | rw |
memory_delete(memory_id, team_id=...) | Deletes a memory from the team vault | admin |