Skip to main content
Mintive is the new name for MintMCP.Read the announcement
Mintive

How to Deploy a Coworker Agent in Slack With Governed Memory and Permissions

Deploying AI agents in Slack without centralized governance can create security gaps, including fragmented audit trails, inconsistent credential controls, and limited visibility into what agents read or write. Enterprises deploying AI agents across Claude, Cursor, ChatGPT, and Copilot need more than chatbot functionality. They need agents that operate like teammates, with persistent memory, scoped permissions, and complete accountability. Coworker Agents fill that gap by providing Slack-native AI teammates that maintain long-term context, execute scheduled work, and operate under governed tool access, all while keeping memory in files the company owns.

Key Takeaways​

  • Coworker Agents differ from chatbots by maintaining persistent memory across sessions, continuing work across days, and operating with their own governed identity
  • Git-based memory stores agent instructions, progress, and context in team-readable files, not opaque vendor databases
  • Per-agent identity through Agent Bundles provides authentication credentials, scoped tool access, and independent rotation without touching human credentials
  • Coworker Agents are a beta feature requiring organizational enablement, Mintive admin permissions, GitHub repository access, and supported model credentials before deployment
  • Agent Monitor provides visibility into supported agent activity, including off-gateway MCP usage, while centralized audit logging supports enterprise security investigations
  • Pilot and enterprise rollout timelines depend on identity configuration, required integrations, security reviews, and organizational deployment requirements

Understanding Coworker Agents and Their Role in Workplace Automation​

The distinction between a chatbot and a coworker agent matters for enterprise deployment. Traditional chatbots often focus on responding to messages within a conversation, although some retain context across sessions. Coworker Agents extend this model with persistent work, scheduled execution, and independently governed identities and tool access.

Coworker Agents work differently:

  • Persistent identity: Each agent operates as a distinct principal with its own credentials, not an extension of a human's API key
  • Long-term memory: Agents retain prior conversations, decisions, and context across sessions, with company-owned memory that teams can review, update, and validate as information changes
  • Scheduled execution: Beyond responding to @mentions, agents can run on schedules for nightly reports, weekly summaries, or recurring workflows
  • Governed tool access: Tool calls routed through an assigned Virtual MCP follow scoped permissions and gateway policies, while direct MCP connections require separate controls

Research presented at ICLR 2026 found a 39% performance drop in multi-turn conversations compared to single-turn tasks across six generation tasks. Although the study did not test persistent memory, it highlights the reliability challenges of multi-turn work. Persistent memory can help agents maintain project continuity, provided teams keep that memory accurate and relevant.

Why Use AI Agents for Collaboration?​

Enterprise teams deploy coworker agents to automate work that requires context:

  • Incident triage: Aggregating context from Slack threads, GitHub commits, and monitoring tools to reduce manual investigation and context gathering
  • Customer support context: Pulling account data from CRM, email history, and support tickets before escalations
  • Account research: Preparing briefings from calendar events, CRM notes, and product usage data before customer calls
  • Recurring reports: Generating daily or weekly summaries from multiple data sources on schedule

Time savings vary by workflow, integration complexity, and the amount of context an agent can access. Teams should measure productivity gains against existing processes rather than assume a fixed time saving per incident, ticket, or customer call.

Setting Up Your Slack Environment for AI Agent Integration​

Before deploying a coworker agent, confirm that Coworker Agents is enabled for your organization. The feature is currently documented as a beta offering for eligible enterprise and team deployments. You also need Mintive admin permissions, access to a GitHub repository, permission to install the Mintive GitHub App, and a supported model credential. Create the agent and connect its repository in Mintive before configuring its dedicated Slack app.

Creating a New Slack App​

Start in Mintive using the Coworker Agent Slack setup:

  1. Create your agent: Connect a GitHub repository, create a Coworker Agent, and configure its model, memory, and tools
  2. Open Slack integration: On the agent's detail page, open Connectors and locate the Slack Event Subscription card
  3. Create the Slack app: Click Create New Slack App. Mintive opens Slack's app creation page with a prefilled manifest containing the required bot scopes and event subscription
  4. Copy credentials: Copy the Slack Client ID, Client Secret, and Signing Secret into Mintive
  5. Install the app: Click Add to Slack and complete the workspace authorization flow
  6. Invite and test: Invite the agent to the relevant Slack channel using /invite @agent-name, then test its response to an @mention

For workspaces that restrict automated app creation, use Mintive's Manual Setup option. This requires configuring the Slack app manually, supplying its signing secret and bot token, and entering Mintive's event subscription and interactivity URLs.

Granting Necessary Permissions​

Slack scopes map directly to what your agent can access. Start with minimum viable permissions:

Read-only operations:

  • channels:history for public channel messages
  • users:read for user directory information
  • files:read for accessing shared files

Write operations:

  • chat:write for posting messages
  • reactions:write for adding emoji reactions
  • files:write for uploading content

Avoid scope creep by mapping each requested scope to a specific API method the agent needs. Requesting groups:history for private channels when the agent only operates in public channels creates unnecessary security exposure.

Common mistakes at this stage:

  • Using the Slack MCP connector guide instead of the coworker-agent setup flow: The connector makes Slack a data source for other agents. The coworker setup gives an agent its own bot identity.
  • Confusing bot tokens with user tokens: Use a bot token for the Coworker Agent's Slack app identity. User tokens may be required for specific user-authorized Slack APIs, including private-channel and direct-message search, with the appropriate OAuth scopes and consent.

Establishing Governed Identity and Tool Access for Your Slack Agent​

With Slack configured, the next step is giving your agent a governed identity. This means the agent operates as its own principal, not as an extension of whichever human credential was convenient at setup time.

Assigning Unique Identities to Agents​

Agent Bundles solve the identity problem by creating first-class non-human principals:

  • Dedicated agent credentials: Each agent receives its own authentication credentials, using bearer keys by default or OAuth 2.0 M2M credentials where configured
  • Scoped tool access: The agent's Virtual MCP restricts gateway-connected tools, while direct MCP connections require separate controls through the agent's tool allowlist and sandbox
  • Independent rotation: Credentials can be rotated or revoked for one agent without touching users or other agents
  • Attribution in audit logs: Gateway-connected tool calls are attributed to the specific agent identity, while supported Agent Monitor activity provides additional session visibility

The authentication hierarchy from simplest to most secure:

  1. Bearer keys: Static key on every request with name, expiry, and individual revocation
  2. M2M tokens: OAuth client-credentials exchange for short-lived tokens; the secret stays out of the request path
  3. Workload identity federation: The agent's infrastructure (Kubernetes service account, cloud role, CI job identity) mints short-lived OIDC tokens; Mintive holds no secret at all

Managing Tool Access With Agent Bundles​

Agent Bundles package everything the agent needs into a single governed object:

  • Agent-scoped access: Bind the agent's Virtual MCP directly to its non-human identity, while SCIM directory groups govern access for human teams
  • Curated MCP tools: Select which tools from supported MCP connectors and custom servers the agent can reach
  • Custom security policies: Define what the agent can do with each tool
  • Audit trails: Gateway-connected tool calls are logged with agent identity, timestamp, arguments, and results, while direct MCP activity is captured through supported Agent Monitor sessions

Virtual MCP Bundles centralize tool curation, access policies, and audit controls, reducing the need to manage separate configurations for each employee. In Coursera's deployment, this approach supported governed AI access for approximately 2,000 employees through centrally managed tool bundles.

Implementing Robust Access Controls and Permissions for Enterprise AI​

Role-based access control determines which tools each agent can reach. The key is designing permissions at the right granularity: too broad creates security risk, too narrow prevents useful work.

Integrating With Enterprise SSO for User Groups​

The MCP Gateway authenticates through your existing identity provider:

  • SSO support: Okta, Azure AD, and Google Workspace with SCIM group sync
  • Directory-driven access: Suspend a user in the IdP, and it propagates to tool access
  • OAuth on both sides: Client-to-gateway and gateway-to-connector with automatic token refresh
  • US and EU regions: Data residency options for compliance requirements

SCIM sync means tool access follows organizational structure automatically. When someone joins the engineering team in your directory, they get access to engineering tools. When they move to a different role, permissions update accordingly.

Defining Granular Permissions for Tools​

Virtual MCPs (Bundles) enable fine-grained control:

Separate read and write access: Create two Bundles over the same connector: one with read-only tools for general access, one with write tools for authorized operations.

Tool-level toggles: Toggle individual tools on or off within a Bundle. Enable search_issues but disable delete_issue on the same Jira connector.

Policy cascading: Policies cascade from organization to team to individual. Set organization-wide defaults, then override at team or agent level where needed.

New tool approval: Configure whether new upstream tools become available automatically or require admin approval before use. This addresses silent capability expansion through MCP list_tools changes.

Ensuring Data Security With Programmable Policies and DLP for Agents​

Visibility alone is insufficient. You need runtime controls that determine whether an action should be allowed before it executes.

Leveraging Built-In Security Detections​

Mint Guard provides managed detection policies:

  • Prompt injection detection: Blocks high-confidence injection attempts; logs everything else for review
  • Credentials and secrets: Identifies API keys, passwords, and tokens in arguments or results
  • PII detection: Names, emails, phone numbers, and tax IDs detected and logged, with additional Rules or Middleware available for custom blocking or masking
  • Harmful content: Content screening with configurable thresholds

Mint Guard operates in three modes: Off, Monitoring (log only), and Enforcing (block high-confidence prompt injection attempts while logging other detections). Most teams start in Monitoring mode to establish baselines before enabling enforcement.

Creating Custom Data Loss Prevention Rules​

Beyond built-in detections, custom policies handle organization-specific requirements:

Rules engine:

  • Match tool names, argument patterns, or content via regex
  • Actions include flag, block, ask-user, mask, or Slack notify
  • Support varies by agent type and hook phase

Gateway Middleware:

  • Customer-authored JavaScript runs on every matching call
  • Transform, redact, or rewrite requests and responses
  • Integrate external classifiers or existing DLP systems
  • Pre-built templates for AWS Bedrock Guardrails, Google Cloud Model Armor, OpenAI moderation, and Teleskope, with support for custom integrations with other API-accessible DLP services

Example use cases:

  • Block .env file reads through supported Agent Monitor hooks or restrict sensitive-file access through governed MCP tools
  • Redact internal IP addresses from responses
  • Restrict tool calls to approved destinations or resources using configurable allowlists and custom policies
  • Route sensitive tool calls through external approval workflows

The middleware executes inside the gateway runtime with enforce or dry-run mode, so you can test policies before they affect production traffic.

Leveraging Long-Term Memory for Persistent and Context-Aware Agents​

Memory architecture determines whether your agent operates as a stateless tool or a context-aware teammate. The choice of where memory lives, who can review it, and how it persists matters for governance.

The Importance of Memory for Effective Agents​

Without persistent memory, every conversation starts from zero:

  • Context loss: Agents forget decisions made yesterday, requiring repeated explanation
  • Relationship gaps: Customer history, preferences, and prior interactions unavailable
  • Work duplication: Tasks completed last week get re-analyzed from scratch
  • Inconsistency: Different responses to the same questions depending on session

Persistent memory enables agents to continue multi-day projects, reference prior decisions, build institutional knowledge, and maintain relationship context with customers and stakeholders.

How Mintive Enables Persistent Agent Memory​

Coworker Agents use Git-based memory stored in files the company owns:

Repository structure:

  • CLAUDE.md: Agent instructions and behavioral guidelines
  • progress.md: Running memory of completed work and context
  • inbound/: Task drop folder for incoming work items

Memory characteristics:

  • Team-readable: Anyone with repo access can review what the agent knows
  • Version-controlled: Full history of memory changes with commit attribution and additional provenance available when captured by the agent's workflow
  • Portable: Memory moves with the repository, not locked to a vendor
  • Auditable: Memory changes recorded through Git version history

Memory scoping:

  • Organization context: Shared with authorized agents through configured repositories and workspaces
  • Team context: Restricted through repository permissions and approved agent access
  • Individual agent context: Maintained within the agent's own files and configured workspaces

This approach contrasts with opaque vendor-managed memory stores where teams cannot inspect, audit, or migrate what their agents retain.

For teams adopting Claude-based coworker agents, the Claude Cowork guide provides detailed patterns for memory configuration and workflow design.

Monitoring and Auditing Agent Activities for Compliance and Visibility​

Governance requires knowing what agents actually do, not just what they were configured to access. Agent Monitor provides visibility beyond gateway traffic.

Tracking Agent Interactions and Costs​

Gateway connections and supported Agent Monitor hooks generate audit and activity records based on their configured coverage:

  • Tool calls: Gateway and supported agent activity recorded with relevant identity, tool, timestamp, request, and policy metadata
  • Token usage: Usage and estimated spend tracked by supported model, user, agent, and session
  • Cost attribution: Usage and cost breakdowns to support budget monitoring and internal allocation
  • Session investigation: Activity feeds and call-level details for supported agent sessions

Agent Monitor retains activity records for seven days by default, with customizable retention available to enterprise customers. Access-grant history is append-only and cryptographically signed at write time, with signatures verifiable offline through published JWKS.

SIEM integration: Export supported audit and activity records to your existing security infrastructure:

  • OTLP/HTTP export to compatible OpenTelemetry collectors
  • Splunk HEC export for Splunk deployments
  • Integration with Microsoft Sentinel or custom storage pipelines through compatible collectors and ingestion infrastructure

Detecting and Addressing Shadow AI​

Agent Monitor extends visibility beyond governed gateway traffic:

  • Off-gateway MCP detection: Hooks in Cursor and Claude Code report local tool calls, bash commands, file reads, and off-gateway MCP server usage
  • MDM deployment: Push configurations to developer machines via Intune, Kandji, or JumpCloud
  • Detect or enforce modes: Start with detection to understand scope before blocking

Shadow AI detection closes a gap that gateway-only monitoring misses. When developers run local MCP servers that bypass the gateway, supported Agent Monitor hooks can capture those calls in agent activity records, even though they do not generate MCP Gateway audit events.

Deploying Your Governed Coworker Agent and Measuring Impact​

With identity, permissions, security, memory, and monitoring configured, deployment follows a structured rollout pattern.

Step-by-Step Deployment Guide​

Week 1: Platform setup

  1. Connect SSO (Okta, Azure AD, Google) and enable SCIM group sync
  2. Import or deploy MCP servers from the catalog
  3. Create Bundles per role, map to directory groups, toggle tools on or off
  4. First MCP server connection typically completes in 5 minutes

Week 2: Agent configuration

  1. Connect a GitHub repository, initialize the required agent infrastructure, and create a Coworker Agent within it
  2. Assign Virtual MCP Bundle to control tool access
  3. Configure model preference, secrets, and sandbox settings
  4. Set up memory files in connected repository
  5. Define ambient mode or @mention-only invocation

Week 3: Testing and validation

  1. Send test @mentions requesting tool usage
  2. Verify tool calls appear in audit trail with agent identity
  3. Test permission enforcement across different scenarios
  4. Confirm memory updates in GitHub files
  5. Validate approval flows for high-risk actions

Week 4: Pilot deployment

  1. Invite Slack app to pilot channel with 10-50 users
  2. Run parallel with existing workflows during validation
  3. Gather feedback on response quality and usefulness
  4. Compare before and after metrics

Best Practices for Agent Adoption​

  • Start with read-only tools: Deploy knowledge search and context aggregation before enabling write access or consequential actions.
  • Create separate Bundles per team: Customer success, engineering, and sales should have purpose-built tool sets rather than one monolithic Bundle.
  • Schedule quarterly reviews: Review agent memory, tool usage audit logs, and shadow AI detection alerts. Remove unused servers and rotate credentials.
  • Measure specific outcomes: In Modern Treasury's deployment, a bank-operations agent reportedly saves Technical Account Managers 30 minutes to four hours per case by accelerating bank-integration research. Results depend on the workflow and available data access.

Why Mintive Provides the Infrastructure for Governed Coworker Agents​

Deploying coworker agents in Slack without governance creates liability: agents running on shared credentials, memory locked in vendor systems, and limited visibility into what they actually do.

Mintive's Agent Gateway builds on the MCP Gateway foundation by extending governed data and tool access to first-class agent identities, scoped permissions, memory, and monitoring. The platform addresses the specific challenges of enterprise agent deployment:

  • Per-agent identity without shared credentials: Each agent receives its own gateway identity and authentication credentials through Agent Bundles. Downstream connections can use shared, delegated, or agent-owned credentials depending on the connector and workflow. Revoking an agent's bearer key stops access through that key without affecting other agents. The "act as agent" OAuth flow allows administrators to provision agent-owned downstream credentials where supported.
  • Company-owned memory: Git-backed memory files mean the enterprise owns what agents know. The agent's instructions, persistent memory, and agent-maintained activity log live in Git-backed files the team owns and can review. Gateway audit records, Agent Monitor telemetry, and run transcripts provide additional visibility through Mintive.
  • Unified governance across agent types: Whether teams deploy Claude, ChatGPT, Cursor, or custom agents, the same governance layer applies. Model choice does not determine the identity, permission, or audit architecture.
  • Shadow AI visibility: Agent Monitor detects off-gateway MCP usage in developer tools, closing the visibility gap that gateway-only monitoring leaves open.
  • Enterprise compliance: Mintive is SOC 2 Type II audited, compliant with HIPAA standards, and penetration tested. Customers handling protected health information can request HIPAA documentation and a Business Associate Agreement. Mintive's identity, access-control, monitoring, and audit capabilities can support governance programs informed by frameworks such as the NIST AI Risk Management Framework, but organizations remain responsible for evaluating their own compliance obligations.

Teams building their first Slack-based coworker agent or scaling from pilot to enterprise rollout can explore the complete deployment guide for detailed configuration steps and the Claude skills tips guide for optimizing agent behavior.

Frequently Asked Questions​

What are Mintive's Coworker Agents and how do they work in Slack?​

Coworker Agents are hosted autonomous agents that live in Slack channels and work alongside employees. They maintain long-term memory across sessions, run on schedules for recurring tasks, and operate with their own governed credentials. They respond to @mentions, execute scheduled workflows, and continue multi-day projects without losing context.

How does Mintive ensure the security and governance of AI agents in Slack?​

Agent Bundles provide per-agent credentials with scoped tool access. The MCP Gateway enforces tool-level permissions driven by SCIM directory groups. Mint Guard screens MCP gateway tool requests and responses for prompt injection, credentials, PII, and harmful content, with high-confidence prompt injection blocking available in enforcing mode and other findings logged for review.

Can Coworker Agents access internal company tools and data securely?​

Yes. The MCP Gateway connects agents to supported MCP servers and custom integrations, including internal databases, APIs, and enterprise tools like Salesforce, GitHub, Slack, and Snowflake. Access is governed through Virtual MCP Bundles that control exactly which tools each agent can reach. Credential injection means connectors never hold long-lived secrets.

What is long-term memory for a Slack agent, and why is it important?​

Long-term memory enables agents to retain context across conversations and sessions rather than starting fresh each interaction. Mintive stores agent memory in Git-backed files including CLAUDE.md for instructions, progress.md for running context, and inbound/ for task inputs. Teams can review what agents know, audit memory changes with version history, and migrate memory without vendor lock-in.

How does Mintive help with compliance and auditing for agents deployed in Slack?​

Agent Monitor captures supported agent activity, including tool calls, commands, file access, and security events. The MCP Gateway separately records governed tool interactions and access changes. Access-grant history is cryptographically signed and can be verified through published JWKS. Supported audit and activity records can be exported through OTLP/HTTP or Splunk HEC for integration with enterprise SIEM infrastructure.