Build a GitHub-to-Slack Development Digest with Agent Canvas
Configure Agent Canvas, GitHub MCP, Slack MCP, and a scheduled OpenHands automation that posts a local-LLM digest.
Overview
Developers spend a lot of time on small recurring loops: reviewing labeled pull requests, answering GitHub comments, triaging new issues, turning Slack threads into standup notes or incident follow-ups, and tracking release or research signals.
Each loop is familiar, but it still requires judgment: gather the right context, decide what matters, and post a clear update where the team already works.
OpenHands automations turn those loops into scheduled or event-triggered agent conversations: runs where an AI software agent can read context, call tools, and produce an update.
The shared automation templates in the OpenHands extensions catalog follow this pattern for GitHub pull request review, repository monitoring, Linear issue triage, incident retrospectives, Slack standup digests, and research briefs: an automation wakes up, uses configured integrations such as GitHub or Slack to fetch context, reasons over that context with a large language model (LLM), and writes back a result.
Agent Canvas is the local control plane for building and testing those automations.
In this playbook it runs an OpenHands Agent Server, the backend process that executes agent conversations, and connects the agent to external services such as GitHub and Slack.
To keep the workflow on your AMD system, the agent talks to a local model served by Lemonade Server.
Lemonade exposes that model through an OpenAI-compatible API, so Agent Canvas can configure it like a remote OpenAI-style endpoint while the model, prompt, and workflow context stay local.
In this playbook, you will build one concrete automation: a scheduled GitHub-to-Slack development digest.
It uses GitHub to inspect recent repository activity, Slack to post the digest, Agent Canvas API calls to configure and test the automation, and Lemonade to run the LLM locally.
What You’ll Learn
How to start Lemonade Server and verify a local model answers chat requests
How to launch Agent Canvas and point its Agent Server at a local LLM
How to install GitHub and Slack Model Context Protocol (MCP) servers through the Agent Server API
How to create and dispatch a scheduled OpenHands automation that posts a development digest to Slack
How to troubleshoot the most common local-model and automation failures
Core Concepts
Concept
What it is
Where it fits in this playbook
Lemonade Server
A local LLM serving platform built for AMD hardware that exposes an OpenAI-compatible API. Your data never leaves your machine.
Runs the model that powers the agent.
OpenHands Agent Server
The backend process that executes OpenHands agent conversations.
Hosts the agent, its LLM profile, and its MCP servers.
Agent Canvas
The local control plane for OpenHands that runs Agent Server and a UI for inspecting agent runs.
Launches the backends and provides the API you call.
MCP server
A Model Context Protocol server that gives an agent tools for an external service such as GitHub or Slack.
Lets the agent read GitHub and write to Slack.
OpenHands automation
A scheduled or event-triggered agent conversation that fetches context, reasons over it, and writes a result somewhere.
ifcommand-vrocminfo>/dev/null2>&1 && rocminfo|grep-qgfx; then
echo"OK: GPU visible to ROCm"
else
echo"GPU not visible via rocminfo">&2
exit1
fi
Advanced: increasing GPU memory (optional)
You may need to increase the memory allocated to the GPU to run certain larger
models or longer contexts. These devices use unified memory — the GPU shares
system RAM — so this means letting the GPU claim more of that shared pool. Leave
roughly 20% of system RAM for the operating system. This step is optional; the
default allocation is enough for most workloads.
On Windows, adjust the memory in AMD Software: Adrenalin Edition: open it and
navigate to Performance → Tuning → AMD Variable Graphics Memory. Set the value
you need and reboot for the change to take effect.
Backup method (BIOS). If your system does not show the Variable Graphics
Memory option in Adrenalin (some OEM systems hide it), set the UMA Frame
Buffer Size in the system BIOS/UEFI instead: reboot, enter setup (usually
Del, F2, or Esc), find UMA Frame Buffer Size — also labeled
Integrated Graphics or dedicated GPU memory, often under Advanced or
AMD CBS → NBIO Common Options — set it to the size you need, save, and
reboot. Menu names vary by vendor, and some BIOS do not expose it either.
On the AMD Ryzen™ AI Halo, adjust the shared memory in the pre-installed
AMD Ryzen™ AI Developer Center: open it, go to the Settings tab, and under
Graphics Performance Settings increase the Shared Video Memory slider.
Click Apply Changes and reboot for the change to take effect.
On Linux, raise the shared GTT/TTM pool so the GPU can map more system memory.
AMD recommends setting the minimum dedicated VRAM in the BIOS (0.5 GB) so the
maximum is available as shared memory.
Install the amd-debug-tools helper:
Terminal window
sudoaptinstallpipx
pipxensurepath
pipxinstallamd-debug-tools
Query the current shared-memory limit:
Terminal window
amd-ttm
Raise it (value in GB — pick a size that leaves headroom for the OS):
Terminal window
amd-ttm--set<NUM>
Reboot for the change to take effect.
Check for Software Updates
Before starting, ensure your Ryzen AI Halo has the latest software installed. Open the AMD Ryzen™ AI Developer Center and check for available updates, both to the app itself and additional software.
Go to the Updates tab. If updates are available, install them and reboot before continuing.
Go to the Manage tab. If updates are available, install them and reboot before continuing.
Prerequisites
Lemonade
Installing Lemonade
Download the latest installer from lemonade-server.ai and run the .msi file. Two installers are published, and they are not interchangeable:
Download the Windows 64-bit Installer from nodejs.org
Run the installer and follow the prompts
Verify installation:
Terminal window
node --version
npm --version
Check the version range your tool supports. The current release on nodejs.org is often
newer than a given tool’s supported range, and installing outside that range can fail with
native-build or EBADPLATFORM errors. Use
nvm-windows to install and select a specific
version:
Node.js 22.12 or later and npm, used to install the published Agent Canvas CLI and run MCP servers with npx.
uv, the Python package manager Agent Canvas uses to build the Agent Server environment. If it is not already installed, install it from the uv installation guide.
A recent published @openhands/agent-canvas package with schema-driven agent settings, LLMSummarizingCondenserSettings.max_tokens, and LLM custom_tokenizer support.
The Python transformers package available in the Agent Server environment. It is required for chat-template token counting when custom_tokenizer is set.
Docker Desktop for Windows, installed and running. On Windows, the Agent Canvas stack runs from the published Docker image, which bundles Node.js, uv, transformers, and the @openhands/agent-canvas package, so you do not install those on the host.
A GitHub token with read access to the repository you want summarized.
A Slack bot token (xoxb-...) with chat:write and channel read access.
A Slack team ID (T...).
A Slack channel ID (C...) where the digest should be posted.
Invite the Slack app to the target channel before testing the automation.
These two variables are used by the verification commands below.
The model, tokenizer, and other LLM settings are entered directly in the Agent Canvas UI in later steps, so their literal values are shown inline where you need them.
The following values are entered into the Agent Canvas UI in later steps.
Set them here so you can copy them in:
Terminal window
export GITHUB_REPO_FILTER="your-org/your-repo"
export SLACK_DIGEST_CHANNEL="C0123456789"
export DIGEST_TIMEZONE="America/New_York"
Terminal window
$env:GITHUB_REPO_FILTER ="your-org/your-repo"
$env:SLACK_DIGEST_CHANNEL ="C0123456789"
$env:DIGEST_TIMEZONE ="America/New_York"
Use an explicit owner/repo value for GITHUB_REPO_FILTER.
Broad organization wildcards can return too much MCP context for local models.
1. Start Lemonade Server
Start the model from the Lemonade CLI:
Terminal window
lemonadeconfigsetllamacpp.backend=vulkan
lemonadeconfigsetctx_size=65536
lemonaderun"${LEMONADE_MODEL}"
Terminal window
lemonade config set llamacpp.backend=vulkan
lemonade config set ctx_size=65536
lemonade run "$env:LEMONADE_MODEL"
Choose a model that fits your hardware.Qwen3.6-35B-A3B-GGUF (~20 GB) is a strong model for this workflow but needs a large memory pool.
If your device has limited memory or GPU VRAM, pick a smaller GGUF model from the Lemonade model library and use that model ID (and its matching tokenizer) throughout this playbook.
Lemonade exposes an OpenAI-compatible API at:
http://127.0.0.1:13305/api/v1
Optional: if Agent Canvas or the automation runner is not on the same machine, publish the Lemonade endpoint through a secure tunnel and use the HTTPS URL as the LLM base URL.
ngrok exposes a local port to the internet over a secure HTTPS URL; it requires a free ngrok account, and you replace YOUR_NGROK_DOMAIN.ngrok-free.dev with your own reserved domain:
If this returns a choices array, Lemonade is ready for Agent Canvas.
3. Start Agent Canvas
Install the published Agent Canvas package and start the full stack:
Terminal window
npminstall-g@openhands/agent-canvas
agent-canvas
If the global npm install fails with a permissions error, see the npm permissions troubleshooting entry below.
By default, Agent Canvas starts on http://localhost:8000.
Open that URL in your browser.
The port is not special—if 8000 is already in use, pass any free port with --port (or -p).
The default local backend should show as healthy on the home screen.
The agent-canvas command starts the agent server, the automation backend, and the web frontend together.
You only need this one command to run OpenHands locally.
The rest of this playbook configures everything through the Agent Canvas UI in your browser.
On Windows, run the published Agent Canvas container image with Docker Desktop.
The image bundles the Agent Server, automation backend, and web frontend, so you do not install Node.js, uv, or the CLI on the host.
First, create the config and workspace folders the container mounts:
Open http://localhost:8000/canvas in your browser.
If port 8000 is already in use, map a different host port, for example -p 8080:8000, and open http://localhost:8080/canvas instead.
The .openhands mount persists your LLM profile, MCP servers, and automations across container restarts.
The rest of this playbook configures everything through the Agent Canvas UI in your browser at http://localhost:8000/canvas.
4. Configure the Local LLM in the UI
On first launch, Agent Canvas opens an onboarding flow.
In that flow:
Keep OpenHands selected as the agent and click Next.
On Set up your LLM, select Advanced.
Keep Authentication set to API key.
Set Custom Model to openai/Qwen3.6-35B-A3B-GGUF.
Set Base URL to http://127.0.0.1:13305/api/v1.
For API Key, enter any non-empty placeholder such as lemonade-local. Lemonade does not require a real key, but the OpenHands client needs a value to send.
Windows (Docker): the Agent Server runs inside the container, so set Base URL to http://host.docker.internal:13305/api/v1 instead of http://127.0.0.1:13305/api/v1.
From inside the container, 127.0.0.1 is the container itself; host.docker.internal reaches Lemonade running on the Windows host, and Docker Desktop provides that hostname automatically.
The connection fields should look like this.
The API key field is masked by the UI.
Then select All and set the extra local-model fields:
Scroll to Custom Tokenizer and set it to Qwen/Qwen3.6-35B-A3B.
Scroll to LiteLLM Extra Body and set it to {"enable_thinking": true}.
Click Next.
The LLM settings should show:
Field
Value
Custom Model
openai/Qwen3.6-35B-A3B-GGUF
Base URL
http://127.0.0.1:13305/api/v1
Custom tokenizer
Qwen/Qwen3.6-35B-A3B
LiteLLM extra body
{"enable_thinking": true}
The openai/ prefix tells LiteLLM to use OpenAI-compatible request formatting against the Lemonade endpoint.
The custom tokenizer is the original Hugging Face tokenizer for the GGUF model; it lets OpenHands count the same chat-template tokens that the local model server sees.
The current first-use LLM form does not show condenser settings.
If your Agent Canvas build exposes condenser settings later under Settings > LLM, use llm_summarizing and set max tokens below the Lemonade context window, such as 56000.
5. Install GitHub and Slack MCP Servers
In the Agent Canvas UI, open Customize (or Settings > MCP) to add the MCP servers that give the agent tools for GitHub and Slack.
Token values are sent only to your local Agent Server and are persisted as encrypted settings.
Windows (Docker): the npx MCP server commands below run inside the container, which already includes Node.js, so nothing extra is installed on the host.
Because .openhands is mounted, the MCP servers and their tokens persist across container restarts.
GitHub MCP server
Add a new MCP server with these settings:
Field
Value
Name
github
Command
npx
Args
-y @modelcontextprotocol/server-github
Env
GITHUB_PERSONAL_ACCESS_TOKEN = your GitHub token
Use a GitHub token with read access to the repository you want summarized.
Slack MCP server
Add a second MCP server with these settings:
Field
Value
Name
slack
Command
npx
Args
-y @modelcontextprotocol/server-slack
Env
SLACK_BOT_TOKEN = xoxb-...
Env
SLACK_TEAM_ID = T0123456789
Env
SLACK_CHANNEL_IDS = your digest channel ID
Set SLACK_CHANNEL_IDS to the digest channel ID (the same value as SLACK_DIGEST_CHANNEL) so the agent does not need to page through every Slack channel.
After adding both servers, use the Test button on each one to confirm it connects and advertises tools.
The GitHub server should list GitHub tools, and the Slack server should list Slack tools.
6. Create the Digest Automation
In the Agent Canvas UI, open the Automations page and create a new automation:
Choose Create automation and select the Prompt preset type.
Set the Name to GitHub Development Digest to Slack.
Set the Prompt to the following text, replacing the repository and channel placeholders with your values:
Use the GitHub MCP server for exactly one repository: your-org/your-repo.
Inspect recent development activity since the previous weekday, including
merged pull requests, newly opened or reopened pull requests, notable
commits pushed to main or release branches, new issues, important issue
updates, releases, risks, blockers, and review requests. Keep GitHub
lookups small: inspect the latest 3 to 5 commits, pull requests, issues,
and releases. Use the Slack MCP server to post directly to channel ID
C0123456789. Keep the Slack message concise: title with date range, 3 to 7
bullets, links back to GitHub, and a Needs attention section only if
needed. End with: This digest was generated by an AI agent (OpenHands) on
behalf of the user. Do not include secrets, raw tokens, private
environment variables, or unrelated Slack messages.
Set the Trigger to Cron with the schedule 0 9 * * 1-5 (9 AM on weekdays) and set the Timezone to your timezone, for example America/New_York.
Set the Timeout to 900 seconds.
Save the automation.
The automation detail page shows the new automation with its cron trigger and the generated prompt-preset entrypoint.
7. Test the Automation
From the automation detail page in the Agent Canvas UI:
Click Run now (or Dispatch) to run the automation once immediately.
Watch the run list on the same page. The latest run should transition to COMPLETED.
Open your target Slack channel. It should contain the generated digest.
You do not need to wait for the cron schedule to fire—Run now triggers a run on demand so you can confirm the prompt, MCP connections, and Slack posting all work before relying on the schedule.
Troubleshooting
Docker port 8000 is already in use: map a different host port, for example docker run ... -p 8080:8000 ..., and open http://localhost:8080/canvas.
docker pull fails with a credential error (for example, “A specified logon session does not exist”): run the pull from an interactive Windows session, or pre-pull the image. The image is public, so no docker login is required.
The UI loads but the backend is unhealthy: the first launch builds the Agent Server environment inside the container. Wait a minute and refresh, then check docker logs <container> for progress.
Agent Canvas cannot reach Lemonade from the container: set the LLM Base URL to http://host.docker.internal:13305/api/v1 (not 127.0.0.1), and confirm Lemonade is running on the Windows host.
Lemonade is down: restart it with the lemonade run "${LEMONADE_MODEL}" command in step 1, then re-run the health check.
npm install -g fails with a permissions error: on Linux or WSL, configure a user-owned global npm directory, add it to your shell startup file, then install Agent Canvas again:
If you use zsh, add the same export PATH=... line to ~/.zshrc instead of ~/.bashrc.
Agent Canvas rejects the LLM settings after setting custom_tokenizer: install transformers in the Agent Server Python environment, restart Agent Canvas if needed, and retry saving the LLM settings. OpenHands requires Transformers to load the tokenizer chat template when custom_tokenizer is set.
Agent Canvas cannot reach Lemonade: verify curl -fsS "${LEMONADE_BASE_URL}/health" and confirm the base URL entered in the first-use LLM form or Settings > LLM matches the running local endpoint or HTTPS tunnel.
The LLM settings did not save: make sure you clicked Next after entering the values. Reopen Settings > LLM to confirm the values persisted.
GitHub MCP cannot see private repositories: confirm the GitHub token has read access to the target repository and that the MCP Test button in Customize advertises GitHub tools.
Slack can read channels but cannot post: invite the Slack app to the target channel and confirm the bot has chat:write.
The automation lists too many Slack channels: use a Slack channel ID and set SLACK_CHANNEL_IDS on the Slack MCP server in Customize.
The automation run fails or exceeds context: confirm Lemonade was started with ctx_size=65536, confirm the OpenHands LLM has custom_tokenizer set, and use an explicit repository with GitHub result sets capped to 3 to 5 items. If your Agent Canvas build exposes condenser settings, set condenser max tokens below the Lemonade context window.
Next Steps
Add a weekly release-only digest.
Add a GitHub event-triggered automation for faster PR or push alerts.
Route the same digest into Notion, Linear, or another MCP-backed tool.