Read Slack channel activity and post structured digest messages automatically. OE Runtime connects to your Slack workspace, summarises recent messages, surfaces unanswered questions, and posts a formatted daily digest — all from a single YAML file.
Create a file called agent.yaml inside a team-messaging/ directory:
name: Slack Notifier description: Summarize channel activity and post a daily digest instructions: | You are a Slack assistant. Read channel activity and post concise digest messages. Never post duplicate messages. Keep posts brief and actionable. Complete all steps fully before writing your report. steps: - name: Read Channel Activity content: | Fetch the last 20 messages from the #general channel. For each message note: author, timestamp, and a one-sentence summary of the content. Identify any messages that contain questions or action items that went unanswered. - name: Post Daily Digest content: | Compose and post a daily digest message to #general with the following format: *Daily Digest* - [Number] messages in the last session - Key topics discussed: [list up to 3] - Open questions needing response: [list any unanswered questions] - Reminder: stand-up at 9:00 AM tomorrow Post the message using the Slack connector. - name: Report content: | Summarize what was done: - Messages read from #general - Topics and themes identified - Unanswered questions flagged - Digest message posted (confirm with message timestamp) connectors: - connection_name: My Slack connection_type: slack
Create oe-config.json in the same directory:
{
"llm": {
"provider": "openai",
"model": "gpt-4o",
"apiKey": "YOUR_OPENAI_API_KEY"
},
"server": {
"enabled": false,
"port": 3333,
"apiKey": "your-secret-api-key"
},
"connectors": [
{
"connection_name": "My Slack",
"connection_type": "slack",
"botToken": "xoxb-YOUR-BOT-TOKEN",
"channel": "general"
}
]
}Create a Slack app at api.slack.com/apps, add the chat:write and channels:history scopes, install it to your workspace, and copy the Bot Token (starts with xoxb-). The channel field accepts the channel name without the # symbol.
# Run the agent oe-runtime-win.exe team-messaging/agent.yaml --config team-messaging/oe-config.json
# Make executable (first time only) chmod +x oe-runtime-macos # Run the agent oe-runtime-macos team-messaging/agent.yaml --config team-messaging/oe-config.json
# Make executable (first time only) chmod +x oe-runtime-linux # Run the agent oe-runtime-linux team-messaging/agent.yaml --config team-messaging/oe-config.json
macOS Gatekeeper: On first run, macOS may block the binary. Go to System Settings → Privacy & Security → click "Allow Anyway" next to oe-runtime-macos.
Add --serve to start OE Runtime as an HTTP server on port 3333:
oe-runtime-win.exe --serve --config team-messaging/oe-config.json
Then send a request:
curl -X POST http://localhost:3333/run \
-H "Content-Type: application/json" \
-d '{"yaml": "team-messaging/agent.yaml", "params": {}}'Or import the Postman collection (download above) to test all endpoints visually.
Download OE Runtime and run any AI agent locally or as a server — no cloud required.
Get OE Runtime →