Wink Pings

LangChain Puts a Persistent Agent in Slack: It Can Schedule Its Own Work—and Knows When to Stay Quiet in Channels

LangChain has open-sourced Persistent Agent, putting a persistent agent inside Slack. It can schedule its own work, remember goals, run playbooks, and also stay quiet in channels. The deployment bar is fairly high; it suits team pilots, not personal toys.

LangChain reposted a demo on X: Liam Bush built a Persistent Agent, an agent that lives permanently in Slack. The project is already open source, with the code at langchain-samples/Persistent-Agent.

Persistent Agent 图标

Liam Bush put the selling points bluntly in his tweet: it schedules its own work and keeps pushing forward on the goals you give it; it comes with the organization’s best practices and knowledge built in, and keeps learning as it’s used; each person can connect their own tools. In other words, the team shares one Slack bot, but each person sees their own memory, goals, and app connections.

首次 Slack 对话,agent 列出已连接应用并提供 Morning Brief、Weekly Planner、Watchlist

The GitHub README defines it as a proactive, always-on, goal-oriented agent built on Managed Deep Agents. Several items in the feature list are worth noting: personal memory, goal tracking, dreaming overnight tasks, playbooks, watch mode, background sub-agents, tool gateway integration, and browser operation.

Watch mode is one design that’s easy to overlook. It reads every message in a channel but only speaks up when it can actually help. The hard part of a persistent agent has never been just model capability; it’s also permission boundaries and interruption frequency. A bot that talks nonstop in Slack will quickly get muted. Persistent Agent limits “proactivity” to playbooks and goals while keeping channel mode restrained.

The README FAQ also spells out the boundaries: everyone shares one deployment and one Slack bot, but memory, schedules, goals, apps, and browser logins are isolated per person, and personal memory is not loaded into shared channels. It acts only within the scope you ask for and confirms before booking, purchasing, sending, or deleting anything.

Deployment is not lightweight. You need uv, a LangSmith Plus or Enterprise workspace, an Anthropic or OpenAI model key—or LangSmith LLM Gateway—and a Slack workspace where you can install apps. The README specifically distinguishes three types of credentials: the LangSmith API key is used for deployment and local development; the model provider key pays for and authorizes model calls; and connected app accounts let tools access a person’s Google, Linear, GitHub, and other accounts. These three are not the same thing.

LangSmith 工作区设置,复制 workspace ID

创建 Personal Access Token

On the tools side, connections go through LangSmith’s Tool Gateway. Built-in integrations include Excel, GitHub, Gmail, Google BigQuery, Google Calendar, Google Docs, Google Drive, Google Meet, Google Sheets, Google Slides, Linear, LinkedIn, OneDrive, Outlook, PowerPoint, Salesforce, SharePoint, Slack, Teams, Word, X, and more; some require OAuth, and some require an API key. You can also add custom MCP servers.

内置集成列表,可按 Built-in 过滤

Select a kit, check the tools, copy the kit’s MCP URL, and put it into TOOLS_MCP_URL in .env. The README warns that this URL is not the Tools address in the browser, nor is it the upstream service’s own MCP URL. After changing .env, you need to run uv run mda deploy again.

工具 kit 的 MCP URL 复制位置

One easy pitfall: when creating a kit, you first have to connect your own account before the editor can load the tool list; but every colleague who uses the bot still has to connect their own account. What the workspace kit shares is the tool selection, not your personal OAuth credentials. If you’re not connected, the tool preview is simply unavailable.

未连接账号时,工具预览不可用

Usage is close to everyday conversation. You can have it send a morning brief, summarize what you shipped every Friday at 4 p.m., notify you when a release PR is approved, research the pricing of three competitors, or send an action-item summary after each meeting. !clear makes it forget everything about you and cancels your schedule. After you pull the bot into a channel, it stays quiet by default unless it’s mentioned or can genuinely help.

My judgment is that this project is worth trying first by the people on a team who have Slack admin and LangSmith permissions. It puts several hard problems of persistent agents on the table: how to isolate memory, how to make permissions follow each person, how to constrain proactive behavior through playbooks, and when to shut up in a channel. For ordinary users, it’s not yet suitable as a casual install-and-go tool. For AI practitioners, it’s a runnable reference implementation—especially its watch mode, dreaming, and per-person isolated memory design.

Project repository: https://github.com/langchain-samples/Persistent-Agent

Demo tweet: https://x.com/LangChain/status/2125663426865508717

发布时间: 2026-11-26 06:28