Share memory and knowledge across your team. Every agent your team uses reads from and writes to the same vault.
Team vaults give every member of your team — and every agent they use — access to the same shared memory and knowledge. Capture a decision in one session; any team member’s agent recalls it in the next.
Personal and team vaults are fully independent. Your personal memories stay yours. Team memories belong to the vault — any member with read access can surface them, regardless of which agent or session they’re using.
Call client.team(team_id) to get a team-scoped view. It exposes the same .memory and .knowledge interfaces as the personal client — all operations are routed to the shared vault.
import osfrom dotenv import load_dotenvfrom xysq import Xysqload_dotenv()with Xysq() as client: team = client.team(os.environ["XYSQ_TEAM_ID"]) # Capture to the team vault team.memory.capture( content="API versioning follows semver. Breaking changes require an RFC.", context="Engineering standards alignment — 2026-04-15", tags=["api", "standards"], significance="high", ) # Surface team context memories = team.memory.surface("API versioning policy") for m in memories: print(m.text) # Synthesize from team knowledge result = team.memory.synthesize("What are our engineering standards?") print(result.answer)
Team knowledge sources work identically to personal ones — just scoped to the team vault.
team.knowledge.add( type="quote", content="Sprint cadence: 2 weeks. Retros every other Friday at 3pm.", title="Team Process — Sprint Cadence", confidence="high",)# List team sourcessources = team.knowledge.list(limit=20)
import osimport timefrom dotenv import load_dotenvfrom xysq import Xysqload_dotenv()team_id = os.environ["XYSQ_TEAM_ID"]with Xysq() as client: team = client.team(team_id) # Agent 1: capture team decisions team.memory.capture( content="Team decided to use PostgreSQL for the main database", tags=["architecture", "database"], significance="high", ) team.memory.capture( content="All new services must expose /healthz and /readyz endpoints", tags=["api", "standards"], significance="high", ) time.sleep(2) # allow indexing # Agent 2: surface and synthesize memories = team.memory.surface("architecture and database decisions") for m in memories: print(m.text) synthesis = team.memory.synthesize( "What are our team's engineering standards and architecture decisions?" ) print(synthesis.answer) print(f"Confidence: {synthesis.confidence}")