Connect or register a domain
Previous Tutorial

Connect or register a domain

OpenKBS allows you to deploy apps and websites on your own domain.

3/13/2026Getting Started

Your first AI agent

What We're Building

A simple OpenKBS agent that monitors a Reddit community, analyzes customer discussions, and sends a weekly insight summary to Slack — so your product, marketing, and sales teams stay informed without manual effort.

The agent will:

  • Read posts daily from a subreddit (e.g. r/Notion)
  • Analyze conversations for themes, complaints, and feature requests
  • Generate a weekly summary report
  • Deliver it to a Slack channel every Monday morning

Step 1: Write Your Prompt

Open your project in OpenKBS Studio and enter a prompt describing what you want. For example:

I want to build an agent to monitor our Notion subreddit
(https://www.reddit.com/r/Notion/) and send our team a weekly Slack
summary of problems people mention, feature ideas, and any useful
insights for product or marketing.

Before sending, switch to Spec Mode using the toggle at the bottom left of the Studio.

Step 2: Answer the Spec Questions

In Spec Mode, the Studio will ask you a series of questions to clarify requirements. Here is what it asked me and what I chose:

How should the agent connect to Reddit? I chose the Reddit API initially and changed my mind later to an option that does not require integration.

How should the agent send the Slack summary? I chose Slack Incoming Webhook — it's the simplest option and works great for one-way notifications.

What day/time should the summary be sent? I chose Monday morning — that's when our team is most likely to act on insights.

Should the agent support interactive chat? I chose Automated weekly reports only to keep things simple.

Once all questions are answered, the Studio generates a full specification. Review it and click Approve.

Step 3: Deploy

After approving the spec, the Studio automatically generates and deploys the agent code — including the Reddit reader, the analysis logic, and the Slack integration.

Step 4: Set Up Slack

You'll need a Slack Incoming Webhook URL:

  1. Go to api.slack.com/apps and create a new app
  2. Enable Incoming Webhooks
  3. Click Add New Webhook to Workspace and pick a channel
  4. Copy the webhook URL

Back in Studio, provide the URL when prompted:

The Slack webhook URL is https://hooks.slack.com/services/YOUR/WEBHOOK/URL

The Studio will confirm the webhook is set.

Step 5: Test It

Ask the Studio to run a test:

Can you run a test now?

The agent will fetch recent Reddit posts, analyze them, and send a summary to your Slack channel. You should see a report in slack.

From here on, the agent runs automatically — reading Reddit daily and sending your team a summary every Monday morning. You can ask studio for any custom changes you may need.

Building a support bot
Next Tutorial

Building a support bot

Support bots help answer customer questions automatically.

3/13/2026Build AI Agents