Live preview
FlueOutput will stream here when you run the agent.
Summary
The Slack Agent turns your agent into a Slack bot. It answers mentions and direct messages, keeps each conversation scoped to its thread, and replies with Slack formatting. Reach for it to put an assistant where your team already works — an on-call helper, a docs bot, or a triage assistant.
Install
$ pnpm dlx shadcn@latest add https://agentcn.vercel.app/r/flue/slack-agent.json
Composition
agents/
└── slack-agent.ts # Agent + route handler stub for Slack events
tools/
└── post-message.ts # Posts a (threaded) Slack messageCustomization
- Verify signatures. Implement Slack signature verification in the exported
routebefore callingnext(). - Add more actions. Add tools for reactions, file uploads, or modals.
- Scope memory by thread. Key sessions on
thread_tsfor clean context. - Swap the model. Change the
modelfield on the agent.