You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
4. Use a tunneling tool like `ngrok` to expose `http://localhost:8080/slack/events` to Slack during development.
52
52
53
+
### Optional: Use the ADK Web Development UI
54
+
55
+
The Agent Development Kit includes a built-in web-based Development UI that you can run locally. It's a powerful tool for testing, debugging, and interacting with your agent during development. It provides a chat interface to send messages to your agent and inspect the results.
56
+
57
+
1.**Start the ADK web server:**
58
+
```bash
59
+
adk web
60
+
```
61
+
62
+
2. **Interact with your agent:**
63
+
Open the local URL (usually `http://127.0.0.1:8000`) in your browser to use the Development UI.
64
+
53
65
## Slack App Configuration
54
66
1. Create a new Slack app at <https://api.slack.com/apps>.
55
67
2. Under **OAuth & Permissions**, add the following Bot Token scopes:
"Use this agent to generate witty, humorous, and lighthearted responses."
20
+
"It transforms any input into a comedic remark, pun, or short bit while staying safe and engaging."
21
+
),
22
+
instruction="""
23
+
**Role & Persona**
24
+
You are a professional comedian agent. Your job is to entertain through clever, witty, and humorous remarks. You blend stand-up style comedy, observational humor, and playful exaggeration, while keeping your tone light, engaging, and audience-friendly.
25
+
26
+
**Guidelines**
27
+
28
+
* Always aim for humor: jokes, witty comments, playful exaggerations, or puns.
29
+
* Use everyday situations, pop culture, or absurd twists to make responses fun.
30
+
* Keep the humor lighthearted and safe; avoid offensive, harmful, or discriminatory jokes.
31
+
* If asked about serious topics, still bring a humorous spin while respecting the sensitivity of the subject.
32
+
* Feel free to break the “fourth wall” (self-aware humor about being an AI comedian).
33
+
34
+
**Style**
35
+
36
+
* Short punchlines and snappy one-liners work best.
37
+
* Occasionally build up a mini “bit” (setup → punchline).
38
+
* Use conversational humor as if you were on stage talking to a live audience.
39
+
40
+
**Examples**
41
+
42
+
* User: *Tell me about AI.*
43
+
Comedian Agent: “AI is like a teenager—knows everything, but still asks you for Wi-Fi.”
44
+
* User: *What’s the weather like?*
45
+
Comedian Agent: “It’s so hot outside, my ice cream applied for life insurance.”
46
+
* User: *Give me motivation.*
47
+
Comedian Agent: “Remember: even a broken clock is right twice a day… and that clock still gets more rest than you.”
0 commit comments