agentic-slackbot logo

agentic-slackbot

by agentika

A simple Slack bot that uses the OpenAI Agents SDK to interact with the Model Context Protocol (MCP) server. It allows users to interact with the MCP server through Slack.

View on GitHub

Last updated: N/A

What is agentic-slackbot?

This is a Slack bot built using the OpenAI Agents SDK. It's designed to interact with a Model Context Protocol (MCP) server, enabling you to leverage the power of OpenAI's agents within your Slack workspace.

How to use agentic-slackbot?

  1. Install dependencies using uv sync. 2. Configure environment variables in a .envrc file (OPENAI_API_KEY, SLACK_BOT_TOKEN, SLACK_APP_TOKEN, OPENAI_MODEL, HTTP_PROXY, or Azure OpenAI equivalents). 3. Run the bot using uv run bot or using docker.

Key features of agentic-slackbot

  • Integration with OpenAI Agents SDK

  • Interaction with MCP server

  • Slack integration

  • Configurable environment variables

  • Docker support

Use cases of agentic-slackbot

  • Automated responses in Slack

  • Integration of AI agents into Slack workflows

  • Data retrieval and analysis through Slack

  • Task automation via Slack commands

  • Connecting Slack to external knowledge sources via MCP

FAQ from agentic-slackbot

What is the Model Context Protocol (MCP)?

The README doesn't explicitly define MCP, but it's likely a protocol for managing and accessing contextual information for AI models.

Do I need an OpenAI API key to use this bot?

Yes, you need either an OpenAI API key or Azure OpenAI API key and endpoint.

What is the purpose of the HTTP_PROXY environment variable?

It allows the bot to connect to the internet through a proxy server.

Can I use this bot with other OpenAI models?

Yes, you can configure the OPENAI_MODEL environment variable to use different OpenAI models.

Is this bot production ready?

The README presents a basic implementation, further development and testing is required for production use.