![]()
Rusty Teams
A fast, native Microsoft Teams chat client. Written in Rust, rendered on the GPU. No admin approval needed.
Features · Quick start · How it works · Roadmap

> [!NOTE] > Unofficial. Not affiliated with or endorsed by Microsoft. It uses the same web APIs as the Teams web app, which can change at any time.
Why
| Rusty Teams | |
|---|---|
| 🏢 Works in company tenants | No app registration, no admin consent: it runs on the Teams web app your account is already allowed to use |
| ⚡ Starts instantly | Renders from a local SQLite cache before the network answers |
| 🔒 No tokens stored | Signs in through a real Teams web page; tokens never leave it |
| 📡 Live, no polling | Realtime socket pushes every change |
| 🔎 Offline search | Full-text index over your chats, Ctrl+K switcher |
Features
Chats and channels
- Teams pin order, chat folders, hidden teams, Muted and Meeting chats sections
- Channel posts like Teams: one card per post, newest activity on top, last 3 replies, inline reply, new post with a subject, full conversation view
- Channel tabs and the Shared tab (library and files from posts), per-channel notifications
- Chat menu: pin, move to folder, mark as unread, mute, hide, leave
- Read receipts, typing indicator with faces, presence, unread jump
- Own status, status message and work location from the avatar menu; profile cards with org chart
- Activity bell: new messages, @mentions and reactions, kept for 14 days
Messages
- Send, edit, delete, react, quote-reply, @mentions
- Forward, copy link, save (Saved panel), pin to the chat banner, mark unread from here
- Inline images, file cards, link previews
- Adaptive Cards like Teams: tables, code blocks, badges, charts, date and time pickers, live refresh, task dialogs
- GIFs and stickers in messages
- Select and copy message text
Composer
- Rich text: format bar on selection,
Ctrl+B/Ctrl+I/Ctrl+U, lists, quotes, code - Markdown converts as you type or paste
- Picker with Emoji, GIF and Sticker tabs
:thumbsup:and:)convert as you type, German aliases included- Schedule send: right-click send or
Ctrl+Shift+Enter - Drafts and unsent messages survive a restart
- Keyboard like Teams:
Ctrl+1..4panels and tabs,Alt+Up/Alt+Downnext chat, call keys onCtrl+Shift+A/D/H/O/E/M/J,Ctrl+.lists them all
Calls
- Test call to the Teams Echo bot from the avatar menu: native WebRTC audio, mute (
Ctrl+Shift+M), device switching, mini window while you read other chats - Phone button in 1:1 and group chat headers: callee tiles show Calling and Ringing, Cancel while ringing, notices like "Bea declined" or "No answer"
- Video and screen sharing: H264 tiles, shared screen on a stage (double click for full window, Esc back), camera and screen share buttons with a "You are sharing" banner. Linux needs glib at run time
- Incoming calls: topmost ring toast with Decline and Accept, ring tone, missed calls in Activity
- Join a running meeting from its chat (audio): roster tiles, speaking ring, lobby state, Leave or End meeting for the organizer
- After every call a pseudonymized test report (JSON and Markdown, newest 30) is saved to the app data folder
call-reports; toast "Test report saved" with Open folder, Settings > Devices switch - Organizer controls: lobby banner with Admit and Deny, tile menu (pin, spotlight, mute, remove), Mute all, live captions overlay, camera background blur
Agents (MCP)
- Local MCP server at
http://127.0.0.1:40615/mcp, off by default: Settings > MCP - Agents read allowed chats, channels, meetings and transcripts (images, reactions, files and cards included, newest messages across chats), and propose replies with @mentions and images, or an emoji reaction
- A reply shows as a card above the composer: Send, Edit or Discard. A reaction shows as a note under the message: Accept or Discard. Agents never send
- One-click install for Claude Code, Codex CLI, Copilot CLI, VS Code and Cursor, Windows and WSL. WSL needs
networkingMode=mirrored - Delegate a message to a coding-agent CLI (Claude Code, Copilot, any CLI) from the hover toolbar: progress chip, Agents page, toast when it finishes, Open session
App
- Dark theme, opens instantly from the cache
- Self-update from an update folder
- Single instance: a second start brings the window to the front
Status
| Platform | State |
|---|---|
| 🪟 Windows | Main target. Login through an embedded WebView2 |
| 🐧 Linux | Connects to a Chrome started with --remote-debugging-port=9222. Built-in login is planned |
The remaining gaps are planned, see ROADMAP.md.
Quick start
Try it with demo data, no account needed:
cargo run -p app -- --demo
| Task | Command |
|---|---|
Linux build needs clang + mold (set in .cargo/config.toml); sccache shares compiled deps across worktrees | sudo apt install clang mold sccache |
| Against Chrome on a debug port | cargo run -p app -- --endpoint http://127.0.0.1:9222 |
| Windows exe from WSL/Linux | scripts/build-windows.sh crates/app teams |
| Tests | cargo test |
| Headless screenshot (Xvfb, xdotool, xclip, mesa-vulkan-drivers) | cargo build -p app && scripts/headless-shot.sh shot.png -- "mousemove 450 740" "click 1" "type hello" |
Layout sweep before every UI deploy: 8 screens at 640x480 and 1920x1080, PNGs in target/layout-sweep (look at each) | cargo build -p app && scripts/layout-sweep.sh |
Layout guard: no overlapping or clipped elements, no negative offsets outside widgets::corner_badge | cargo test -p app layout_guard |
How it works
Rusty Teams never sees your password and never stores a token. It signs you in through a real Teams web page and lets that page make the API calls.
+--------------------------- Rusty Teams (Rust) ---------------------------+
| app GPUI window: sidebar, chat view, composer, Ctrl+K |
| core sync engine, actions, mapping to view models |
| store SQLite cache + FTS5 search index |
| graph Microsoft Graph: chats, channels, messages, people, sending |
| chatsvc Teams chat service: realtime, pins, folders, read receipts |
| session runs requests inside the Teams page, one Transport trait |
| mcp local MCP server for agents, permissions, config install |
+------------------------------------|-------------------------------------+
| DevTools protocol (CDP)
+------------------------------------v-------------------------------------+
| Hidden browser page on teams.cloud.microsoft, own profile |
| webview: WebView2 (Windows) or browser: Chrome with a debug port |
+------------------------------------|-------------------------------------+
| HTTPS with the page's own MSAL tokens
Graph | chat service (ic3) | presence | Trouter socket
<details> <summary><b>Sign-in and tokens</b></summary>
1. A hidden browser page loads Teams web with its own profile. On Windows this is WebView2, so single sign-on with the Windows account usually just works. 2. If Teams asks for a login, the login window shows itself. After that the page stays parked in the background. 3. Every API call is sent to that page over CDP. A small script (crates/session/assets/fetch.js) picks the matching token from the page's MSAL cache, refreshes it when needed, and runs the fetch. 4. Only the response goes back to Rust. Tokens never leave the page.
</details>
<details> <summary><b>Data flow</b></summary>
| Step | What happens |
|---|---|
| Start | The UI renders from the SQLite cache right away. A chat still syncing shows a progress line in its header. Skeleton bubbles only when the cache has no messages yet |
| Sync | core fetches chats and channels from Graph with delta queries, pins and folders from the chat service |
| Live | chatsvc keeps the Trouter WebSocket open. An event only says "something changed", the content is then fetched fresh |
| Write | Sends, edits and reactions go out through Graph or the chat service, then the cache updates |
| Search | Local FTS5 index over cached messages, no server round trip |
</details>
<details> <summary><b>Crates</b></summary>
| Crate | Job |
|---|---|
app | GPUI desktop app, binary teams |
core | Sync engine, actions, people ranking, markdown and card rendering |
store | SQLite cache, migrations, search, image file cache |
graph | Typed Microsoft Graph client with batching and paging |
chatsvc | Teams chat service: Trouter realtime, pins, folders, receipts |
calling | Native calls: Teams signaling, SDP translation, libwebrtc audio and video |
session | Transport trait, CDP session, in-page fetch |
webview | Hidden WebView2 host (Windows only) |
browser | Chrome lifecycle and watchdog for the CDP transport |
cli | teams-probe, a read-only end-to-end check |
</details>
Roadmap
Open and finished features by priority: ROADMAP.md
License
Source
| 1 | <div align="center"> |
| 2 | |
| 3 | <img src="crates/app/assets/icon/teams-fast-256.png" alt="Rusty Teams logo" width="112"> |
| 4 | |
| 5 | # Rusty Teams |
| 6 | |
| 7 | **A fast, native Microsoft Teams chat client. Written in Rust, rendered on the GPU. No admin approval needed.** |
| 8 | |
| 9 | [](https://www.rust-lang.org/) |
| 10 | [](https://www.gpui.rs/) |
| 11 | [](#status) |
| 12 | [](LICENSE) |
| 13 | |
| 14 | [Features](#features) · [Quick start](#quick-start) · [How it works](#how-it-works) · [Roadmap](ROADMAP.md) |
| 15 | |
| 16 | <img src=".github/app-demo.png" alt="Rusty Teams with demo data" width="900"> |
| 17 | |
| 18 | </div> |
| 19 | |
| 20 | > [!NOTE] |
| 21 | > Unofficial. Not affiliated with or endorsed by Microsoft. It uses the same web APIs as the Teams web app, which can change at any time. |
| 22 | |
| 23 | ## Why |
| 24 | |
| 25 | | | Rusty Teams | |
| 26 | |---|---| |
| 27 | | 🏢 Works in company tenants | No app registration, no admin consent: it runs on the Teams web app your account is already allowed to use | |
| 28 | | ⚡ Starts instantly | Renders from a local SQLite cache before the network answers | |
| 29 | | 🔒 No tokens stored | Signs in through a real Teams web page; tokens never leave it | |
| 30 | | 📡 Live, no polling | Realtime socket pushes every change | |
| 31 | | 🔎 Offline search | Full-text index over your chats, `Ctrl+K` switcher | |
| 32 | |
| 33 | ## Features |
| 34 | |
| 35 | **Chats and channels** |
| 36 | - Teams pin order, chat folders, hidden teams, Muted and Meeting chats sections |
| 37 | - Channel posts like Teams: one card per post, newest activity on top, last 3 replies, inline reply, new post with a subject, full conversation view |
| 38 | - Channel tabs and the Shared tab (library and files from posts), per-channel notifications |
| 39 | - Chat menu: pin, move to folder, mark as unread, mute, hide, leave |
| 40 | - Read receipts, typing indicator with faces, presence, unread jump |
| 41 | - Own status, status message and work location from the avatar menu; profile cards with org chart |
| 42 | - Activity bell: new messages, @mentions and reactions, kept for 14 days |
| 43 | |
| 44 | **Messages** |
| 45 | - Send, edit, delete, react, quote-reply, @mentions |
| 46 | - Forward, copy link, save (Saved panel), pin to the chat banner, mark unread from here |
| 47 | - Inline images, file cards, link previews |
| 48 | - Adaptive Cards like Teams: tables, code blocks, badges, charts, date and time pickers, live refresh, task dialogs |
| 49 | - GIFs and stickers in messages |
| 50 | - Select and copy message text |
| 51 | |
| 52 | **Composer** |
| 53 | - Rich text: format bar on selection, `Ctrl+B` / `Ctrl+I` / `Ctrl+U`, lists, quotes, code |
| 54 | - Markdown converts as you type or paste |
| 55 | - Picker with Emoji, GIF and Sticker tabs |
| 56 | - `:thumbsup:` and `:)` convert as you type, German aliases included |
| 57 | - Schedule send: right-click send or `Ctrl+Shift+Enter` |
| 58 | - Drafts and unsent messages survive a restart |
| 59 | - Keyboard like Teams: `Ctrl+1`..`4` panels and tabs, `Alt+Up` / `Alt+Down` next chat, call keys on `Ctrl+Shift+A/D/H/O/E/M/J`, `Ctrl+.` lists them all |
| 60 | |
| 61 | **Calls** |
| 62 | - Test call to the Teams Echo bot from the avatar menu: native WebRTC audio, mute (`Ctrl+Shift+M`), device switching, mini window while you read other chats |
| 63 | - Phone button in 1:1 and group chat headers: callee tiles show Calling and Ringing, Cancel while ringing, notices like "Bea declined" or "No answer" |
| 64 | - Video and screen sharing: H264 tiles, shared screen on a stage (double click for full window, Esc back), camera and screen share buttons with a "You are sharing" banner. Linux needs glib at run time |
| 65 | - Incoming calls: topmost ring toast with Decline and Accept, ring tone, missed calls in Activity |
| 66 | - Join a running meeting from its chat (audio): roster tiles, speaking ring, lobby state, Leave or End meeting for the organizer |
| 67 | - After every call a pseudonymized test report (JSON and Markdown, newest 30) is saved to the app data folder `call-reports`; toast "Test report saved" with Open folder, Settings > Devices switch |
| 68 | - Organizer controls: lobby banner with Admit and Deny, tile menu (pin, spotlight, mute, remove), Mute all, live captions overlay, camera background blur |
| 69 | |
| 70 | **Agents (MCP)** |
| 71 | - Local MCP server at `http://127.0.0.1:40615/mcp`, off by default: Settings > MCP |
| 72 | - Agents read allowed chats, channels, meetings and transcripts (images, reactions, files and cards included, newest messages across chats), and propose replies with @mentions and images, or an emoji reaction |
| 73 | - A reply shows as a card above the composer: Send, Edit or Discard. A reaction shows as a note under the message: Accept or Discard. Agents never send |
| 74 | - One-click install for Claude Code, Codex CLI, Copilot CLI, VS Code and Cursor, Windows and WSL. WSL needs `networkingMode=mirrored` |
| 75 | - Delegate a message to a coding-agent CLI (Claude Code, Copilot, any CLI) from the hover toolbar: progress chip, Agents page, toast when it finishes, Open session |
| 76 | |
| 77 | **App** |
| 78 | - Dark theme, opens instantly from the cache |
| 79 | - Self-update from an update folder |
| 80 | - Single instance: a second start brings the window to the front |
| 81 | |
| 82 | ## Status |
| 83 | |
| 84 | | Platform | State | |
| 85 | |---|---| |
| 86 | | 🪟 Windows | Main target. Login through an embedded WebView2 | |
| 87 | | 🐧 Linux | Connects to a Chrome started with `--remote-debugging-port=9222`. Built-in login is planned | |
| 88 | |
| 89 | The remaining gaps are planned, see [ROADMAP.md](ROADMAP.md). |
| 90 | |
| 91 | ## Quick start |
| 92 | |
| 93 | Try it with demo data, no account needed: |
| 94 | |
| 95 | ```bash |
| 96 | cargo run -p app -- --demo |
| 97 | ``` |
| 98 | |
| 99 | | Task | Command | |
| 100 | |---|---| |
| 101 | | Linux build needs clang + mold (set in `.cargo/config.toml`); sccache shares compiled deps across worktrees | `sudo apt install clang mold sccache` | |
| 102 | | Against Chrome on a debug port | `cargo run -p app -- --endpoint http://127.0.0.1:9222` | |
| 103 | | Windows exe from WSL/Linux | `scripts/build-windows.sh crates/app teams` | |
| 104 | | Tests | `cargo test` | |
| 105 | | Headless screenshot (Xvfb, xdotool, xclip, mesa-vulkan-drivers) | `cargo build -p app && scripts/headless-shot.sh shot.png -- "mousemove 450 740" "click 1" "type hello"` | |
| 106 | | Layout sweep before every UI deploy: 8 screens at 640x480 and 1920x1080, PNGs in `target/layout-sweep` (look at each) | `cargo build -p app && scripts/layout-sweep.sh` | |
| 107 | | Layout guard: no overlapping or clipped elements, no negative offsets outside `widgets::corner_badge` | `cargo test -p app layout_guard` | |
| 108 | |
| 109 | ## How it works |
| 110 | |
| 111 | Rusty Teams never sees your password and never stores a token. |
| 112 | It signs you in through a real Teams web page and lets that page make the API calls. |
| 113 | |
| 114 | ``` |
| 115 | +--------------------------- Rusty Teams (Rust) ---------------------------+ |
| 116 | | app GPUI window: sidebar, chat view, composer, Ctrl+K | |
| 117 | | core sync engine, actions, mapping to view models | |
| 118 | | store SQLite cache + FTS5 search index | |
| 119 | | graph Microsoft Graph: chats, channels, messages, people, sending | |
| 120 | | chatsvc Teams chat service: realtime, pins, folders, read receipts | |
| 121 | | session runs requests inside the Teams page, one Transport trait | |
| 122 | | mcp local MCP server for agents, permissions, config install | |
| 123 | +------------------------------------|-------------------------------------+ |
| 124 | | DevTools protocol (CDP) |
| 125 | +------------------------------------v-------------------------------------+ |
| 126 | | Hidden browser page on teams.cloud.microsoft, own profile | |
| 127 | | webview: WebView2 (Windows) or browser: Chrome with a debug port | |
| 128 | +------------------------------------|-------------------------------------+ |
| 129 | | HTTPS with the page's own MSAL tokens |
| 130 | Graph | chat service (ic3) | presence | Trouter socket |
| 131 | ``` |
| 132 | |
| 133 | <details> |
| 134 | <summary><b>Sign-in and tokens</b></summary> |
| 135 | |
| 136 | 1. A hidden browser page loads Teams web with its own profile. On Windows this is WebView2, so single sign-on with the Windows account usually just works. |
| 137 | 2. If Teams asks for a login, the login window shows itself. After that the page stays parked in the background. |
| 138 | 3. Every API call is sent to that page over CDP. A small script (`crates/session/assets/fetch.js`) picks the matching token from the page's MSAL cache, refreshes it when needed, and runs the `fetch`. |
| 139 | 4. Only the response goes back to Rust. Tokens never leave the page. |
| 140 | |
| 141 | </details> |
| 142 | |
| 143 | <details> |
| 144 | <summary><b>Data flow</b></summary> |
| 145 | |
| 146 | | Step | What happens | |
| 147 | |---|---| |
| 148 | | Start | The UI renders from the SQLite cache right away. A chat still syncing shows a progress line in its header. Skeleton bubbles only when the cache has no messages yet | |
| 149 | | Sync | `core` fetches chats and channels from Graph with delta queries, pins and folders from the chat service | |
| 150 | | Live | `chatsvc` keeps the Trouter WebSocket open. An event only says "something changed", the content is then fetched fresh | |
| 151 | | Write | Sends, edits and reactions go out through Graph or the chat service, then the cache updates | |
| 152 | | Search | Local FTS5 index over cached messages, no server round trip | |
| 153 | |
| 154 | </details> |
| 155 | |
| 156 | <details> |
| 157 | <summary><b>Crates</b></summary> |
| 158 | |
| 159 | | Crate | Job | |
| 160 | |---|---| |
| 161 | | `app` | GPUI desktop app, binary `teams` | |
| 162 | | `core` | Sync engine, actions, people ranking, markdown and card rendering | |
| 163 | | `store` | SQLite cache, migrations, search, image file cache | |
| 164 | | `graph` | Typed Microsoft Graph client with batching and paging | |
| 165 | | `chatsvc` | Teams chat service: Trouter realtime, pins, folders, receipts | |
| 166 | | `calling` | Native calls: Teams signaling, SDP translation, libwebrtc audio and video | |
| 167 | | `session` | `Transport` trait, CDP session, in-page fetch | |
| 168 | | `webview` | Hidden WebView2 host (Windows only) | |
| 169 | | `browser` | Chrome lifecycle and watchdog for the CDP transport | |
| 170 | | `cli` | `teams-probe`, a read-only end-to-end check | |
| 171 | |
| 172 | </details> |
| 173 | |
| 174 | ## Roadmap |
| 175 | |
| 176 | Open and finished features by priority: [ROADMAP.md](ROADMAP.md) |
| 177 | |
| 178 | ## License |
| 179 | |
| 180 | [MIT](LICENSE) |