Muster is Facthory’s open-source multiplayer agent harness for Microsoft Teams collaboration.
It gives each person and each shared room a scoped workspace: memory, files, permissions, and a durable control plane — so a team can work with the same agent without leaking personal context across audiences.
Built with Mastra.
Phase 1 focuses on core parity:
- Scope graph (
personal/channel/group/team/org) - Turn ingress (
POST /v1/turns) - Audience floor for history and memory
- Notebook-style scoped memory
- Security postures (
dangerous/auto/strict) + command policy - Swappable model routing via Mastra
- Local tool executor stub (sandbox substrates come later)
Microsoft Teams channel adapter is stubbed for Phase 2.
npm install
cp .env.example .env
# add OPENAI_API_KEY (or another provider key)
# Turn API (core ingress)
npm start
# Mastra Studio
npm run devnpm run test:turn
npm run test:policyOr against a running server:
curl -s localhost:4112/v1/turns -H 'content-type: application/json' -d '{
"surface": "api",
"dryRun": true,
"actor": { "externalId": "user-alice", "displayName": "Alice" },
"conversation": {
"kind": "channel",
"threadRef": "t1",
"channelRef": "general",
"channelName": "general",
"audience": [
{ "externalId": "user-alice" },
{ "externalId": "user-bob" }
]
},
"text": "Hello Muster"
}'See docs/architecture.md.
Apache-2.0 — see LICENSE.