Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

An assistant for Slack built with Arcade and Langgraph. Interact with Google Calendar, Mail, Github, Search Engines, Firecrawl and more all from within Slack

NotificationsYou must be signed in to change notification settings

ArcadeAI/SlackAgent

Repository files navigation


Archer: Agentic Slack Assistant

Archer is a AI Agent that lives in your slack workspace and can help you with your work.Using Arcade, Archer can access and use various services like Google, Github, and more allfrom within Slack.

Features

By default, Archer can interact with and use:

  • Google Mail
  • Google Calendar
  • GitHub
  • Search Engine (Serp)
  • Crawling and web scraping (firecrawl)

However, any of the available Arcade toolkits or custom toolkits you develop can also beused by Archer.

You can change the prompt and tools used by Archer by editingthedefaults.py file.

For the names of all Arcade cloud tools you can usearcade show in your terminal,or visithttps://docs.arcade.dev/integrations.

Agent

The agent is built using theLangGraph framework.

The graph for the agent is shown below:

Archer Graph

Screenshots

Archer uses the Slack Assistant UI so it's available on across the entire slack app.

Screenshot 2025-03-04 at 3 23 46 AMScreenshot 2025-03-04 at 3 25 23 AM



Self-Hosted Archer for your Slack

Archer is not distributed as a Slack app, but you can easily self-host it thesame way shown above.

Prerequisites

  • Python 3.10+
  • Poetry 1.8.4+ <2.0.0
  • OpenAI API Key
  • Arcade API Key (seeArcade)

Install Archer

Clone the repository

git clone https://github.com/arcadeai/archer.git

Then install the local dependencies

cd archermake install

Get a Slack App

  1. Openhttps://api.slack.com/apps/new and choose "From an app manifest"
  2. Choose the workspace where you want to install Archer
  3. Copy the contents ofconfig/manifest.json into the text box that says "Paste your manifest code here" (within the JSON tab) and clickNext
  4. Review the configuration and clickCreate
  5. In the app configuration page, go to "App Home" in the left sidebar and ensure the Home Tab and Messages Tab are enabled
  6. Under "App Manifest" in the left sidebar, find theevent_subscriptions.request_url andinteractivity.request_url fields
  7. After you deploy Archer to Modal, replace<INSERT> in both URLs with your Modal app URL
  8. ClickInstall to Workspace andAllow on the screen that follows

You'll need two values from the Slack App for your .env file:

  • FromOAuth & Permissions, copy theBot User OAuth Token (forSLACK_BOT_TOKEN)
  • FromBasic Information, copy theSigning Secret (forSLACK_SIGNING_SECRET)

Setup Modal

If you haven't already, install the Modal CLI and set it up:

pip install modalmodal setup

Setup Environment

Set the environment variables for Slack, Arcade, and OpenAI

touch .env
SLACK_BOT_TOKEN=<slack-bot-token>SLACK_SIGNING_SECRET=<slack-signing-secret>OPENAI_API_KEY=<openai-api-key>ARCADE_API_KEY=<arcade-api-key>LOG_LEVEL=INFOLANGSMITH_TRACING=trueLANGSMITH_ENDPOINT="https://api.smith.langchain.com"LANGSMITH_API_KEY=<langsmith-api-key>LANGSMITH_PROJECT="archer"SLACK_BOT_TOKEN=xxxSLACK_SIGNING_SECRET=xxxOPENAI_API_KEY=xxxARCADE_API_KEY=xxxxLOG_LEVEL=INFO

Deploy on Modal

Then deploy the app

make deploy

Modal will deploy the app and provide you with a URL to access it.

Set Request URLs

In the Slack App configuration page, go to "Event Subscriptions" in the left sidebar and find therequest_url field.Replace<INSERT> with your Modal app URL.

In the Slack App configuration page, go to "Interactivity & Shortcuts" in the left sidebar and find therequest_url field.Replace<INSERT> with your Modal app URL.

or just replace in the manifest.json file in the JSON tab in the Slack App configuration page.

About

An assistant for Slack built with Arcade and Langgraph. Interact with Google Calendar, Mail, Github, Search Engines, Firecrawl and more all from within Slack

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

[8]ページ先頭

©2009-2025 Movatter.jp