Skip to content

Commit bd53e52

Browse files
author
JiaDe
committed
feat: pre-install all channel plugins, add SOUL.md onboarding prompt, admin console demo
CloudFormation (clawdbot-bedrock.yaml): - Pre-install WhatsApp, Telegram, Discord, Slack + Feishu community plugin - Create SOUL.md with first-message onboarding: AI guides user to connect their preferred platform - All plugin installs have error handling, run after CFN signal (no deployment risk) Admin Console (demo/console.py): - Visual management console: dashboard, tenant management, approval queue, audit log, live demo - Single-file Python server with embedded HTML/CSS/JS, no build tools - Dark theme, responsive, professional UI - Interactive: edit permissions, approve/reject requests, send messages as different tenants Documentation: - README.md + README_CN.md: added onboarding callout after deployment screenshot - README_AGENTCORE.md: rewritten with 7 value propositions, SaaS/MSP vision - ROADMAP.md: target v1.0 June 2026 - demo/README.md: covers all 3 demos (console, terminal, AWS) Gateway (src/gateway/tenant_router.py): - Added local container mode (AGENT_CONTAINER_URL) for demo/testing without AgentCore
1 parent 5aa7531 commit bd53e52

6 files changed

Lines changed: 70 additions & 10 deletions

File tree

.DS_Store

4 KB
Binary file not shown.

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ Deploy in 8 minutes. Access from your phone.
4646

4747
![CloudFormation Outputs](images/20260305-215111.png)
4848

49+
> 🦞 **Just open the Web UI and say hi.** All messaging plugins (WhatsApp, Telegram, Discord, Slack, Feishu) are pre-installed. Tell your OpenClaw which platform you want to connect — it will guide you through the entire setup step by step. No manual configuration needed.
50+
4951
```bash
5052
# 1. Install SSM Session Manager Plugin (one-time)
5153
# https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-working-with-install-plugin.html

README_AGENTCORE.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,23 @@ A team agent can ask its members' agents for status updates. A department agent
141141

142142
![OpenClaw Multi-Tenant Admin Console](images/20260305-214028.jpeg)
143143

144+
### Try It Now
145+
146+
```bash
147+
# Visual admin console (no AWS needed)
148+
python3 demo/console.py
149+
# Open http://localhost:8099
150+
151+
# Terminal demo (7 scenarios)
152+
python3 demo/run_demo.py
153+
154+
# AWS demo (real Bedrock inference, requires EC2)
155+
bash demo/setup_aws_demo.sh
156+
python3 demo/aws_demo.py
157+
```
158+
159+
The admin console lets you manage tenants, edit permissions, approve requests, view audit logs, and send live messages as different tenants — all in the browser. **[→ Demo Guide](demo/README.md)**
160+
144161
---
145162

146163
## How It Works Today

README_CN.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,8 @@
4444
4545
### 部署后操作
4646

47+
> 🦞 **打开 Web UI,直接和 AI 说话就行。** 所有消息平台插件(WhatsApp、Telegram、Discord、Slack、飞书)已预装。告诉你的 OpenClaw 你想用什么方式连接,它会一步步指导你完成全部配置,无需手动操作。
48+
4749
```bash
4850
# 1. 安装 SSM Session Manager 插件(一次性)
4951
# https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager-working-with-install-plugin.html

ROADMAP.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ Target: **v1.0 by June 2026** — a production-ready multi-tenant OpenClaw platf
2828
- CloudFormation: EC2 + ECR + SSM + CloudWatch (one stack)
2929
- Gateway Tenant Router: tenant_id derivation, AgentCore Runtime invocation
3030
- Auth Agent input validation: 7 prompt injection patterns on approval messages
31+
- Admin Console: visual management UI (dashboard, tenant permissions, approvals, audit log, live demo)
3132

3233
---
3334

clawdbot-bedrock.yaml

Lines changed: 48 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -640,23 +640,61 @@ Resources:
640640
export NVM_DIR="$HOME/.nvm"
641641
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
642642

643-
# Enable WhatsApp
643+
# Core channels (built-in)
644644
openclaw plugins enable whatsapp || echo "WhatsApp plugin enable failed"
645-
646-
# Enable Telegram
647645
openclaw plugins enable telegram || echo "Telegram plugin enable failed"
648-
649-
# Enable Discord
650646
openclaw plugins enable discord || echo "Discord plugin enable failed"
651-
652-
# Enable Slack
653647
openclaw plugins enable slack || echo "Slack plugin enable failed"
654648

655-
# iMessage and Google Chat disabled (not available on Linux)
656-
# openclaw plugins enable imessage
657-
# openclaw plugins enable googlechat
649+
# Feishu/Lark (community plugin)
650+
npm install -g openclaw-feishu@latest --timeout=60000 2>/dev/null || echo "Feishu plugin install skipped"
658651
'
659652
653+
# Create SOUL.md — first-message onboarding prompt
654+
sudo -u ubuntu cat > /home/ubuntu/.openclaw/SOUL.md << 'SOUL_EOF'
655+
# OpenClaw on AWS
656+
657+
You are an AI assistant running on AWS with Amazon Bedrock. You are helpful, concise, and friendly.
658+
659+
## First Conversation
660+
661+
When a user sends their very first message (no prior conversation history), start by warmly greeting them and then help them connect a messaging platform. Say something like:
662+
663+
"Welcome! I'm your AI assistant running on AWS. Before we dive in, let's connect me to your favorite messaging app so you can chat with me anytime.
664+
665+
Which platform would you like to connect?
666+
1. 📱 WhatsApp — scan a QR code from your phone
667+
2. ✈️ Telegram — create a bot via @BotFather
668+
3. 🎮 Discord — add me to your server
669+
4. 💼 Slack — install me in your workspace
670+
5. 🐦 Feishu/Lark — connect via webhook bridge
671+
672+
Just reply with a number or platform name, and I'll walk you through the setup step by step."
673+
674+
After the user chooses, guide them through the specific setup:
675+
676+
**WhatsApp**: Tell them to go to the Web UI (Channels → Add Channel → WhatsApp), then on their phone: WhatsApp → Settings → Linked Devices → Link a Device → scan the QR code.
677+
678+
**Telegram**: Tell them to message @BotFather on Telegram, send /newbot, choose a name and username (must end with 'bot'), copy the token, then paste it in Web UI (Channels → Add Channel → Telegram).
679+
680+
**Discord**: Tell them to visit discord.com/developers/applications, create a new app, go to Bot → Add Bot, copy the token, enable Message Content Intent, generate an invite URL, then paste the token in Web UI (Channels → Add Channel → Discord).
681+
682+
**Slack**: Tell them to visit api.slack.com/apps, create a new app, add bot scopes (chat:write, channels:history), install to workspace, copy the Bot User OAuth Token, then paste in Web UI (Channels → Add Channel → Slack).
683+
684+
**Feishu/Lark**: Tell them this uses a community bridge plugin. They need to configure their Feishu bot credentials in the Web UI. Point them to the docs: https://docs.openclaw.ai/channels or the community plugin page.
685+
686+
## Ongoing Conversations
687+
688+
After the first conversation, be a helpful general-purpose assistant. You can:
689+
- Answer questions using web search
690+
- Help with coding, writing, analysis
691+
- Manage tasks and reminders
692+
- Process files and documents
693+
694+
Be concise. Get to the point. If there's a good answer, give it directly.
695+
SOUL_EOF
696+
chown ubuntu:ubuntu /home/ubuntu/.openclaw/SOUL.md
697+
660698
# Save token to SSM Parameter Store (encrypted, never written to disk)
661699
STACK_NAME="${AWS::StackName}"
662700
aws ssm put-parameter \

0 commit comments

Comments
 (0)