> ## Documentation Index
> Fetch the complete documentation index at: https://infisical.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Team assistant with Agent Vault

> Run one Slack assistant for your team that works with the access of whoever asks it.

The team assistant is a Slack assistant that works with the access of whoever asks it. When someone sends it a direct message or mentions it in a channel, it does the work with that person's own GitHub, Linear, and Notion access. Each message runs in a fresh sandbox that can't reach the internet except through an Agent Vault proxy.

> [card] [Team assistant reference architecture](https://github.com/Infisical/agent-reference-architectures/tree/main/slack-agents/team-assistant)
>
> The code and the setup steps for Modal and Daytona, in the reference repo.

## How it works

1. An orchestrator receives each message, and starts an Agent Vault [session on behalf of](https://infisical.com/docs/documentation/platform/agent-vault/sessions-on-behalf-of-users.md) the Infisical user with the sender's Slack email. If the delegation doesn't cover them, the bot says so and starts nothing.
2. It runs the agent in a fresh sandbox, behind a [proxy](https://infisical.com/docs/documentation/platform/agent-vault/proxies) that only that sandbox can reach. The proxy attaches that person's own sign-ins, so the agent works with their access and nothing else. The reference architecture uses Claude Code as the agent.
3. The bot posts the answer in the thread, then the orchestrator revokes the session and deletes the sandbox.

## Prerequisites

* An [Agent Vault project](https://infisical.com/docs/documentation/platform/agent-vault/projects.md) where you have the [**Admin** role](https://infisical.com/docs/documentation/platform/agent-vault/access-control#product-membership)
* A Slack workspace where you can [create apps](https://api.slack.com/apps)
* A [Modal](https://infisical.com/docs/documentation/platform/agent-vault/guides/modal.md) workspace, or a [Daytona](https://infisical.com/docs/documentation/platform/agent-vault/guides/daytona.md) organization on [Tier 3 or 4](https://www.daytona.io/docs/en/network-limits/#tier-based-network-restrictions) (on lower tiers, Daytona can't limit a sandbox to reaching the proxy)
* A host for the orchestrator that runs [Docker](https://docs.docker.com/get-started/get-docker/) containers, such as a small virtual machine or Render
* For each person who uses it: a grant on the access bundle, a place in the delegation, their own sign-in for each [MCP service](https://infisical.com/docs/documentation/platform/agent-vault/mcp-servers.md#member-provided-credentials), and the same email in Slack and Infisical


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.