-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevgenius.hive
More file actions
46 lines (39 loc) 路 1.34 KB
/
Copy pathdevgenius.hive
File metadata and controls
46 lines (39 loc) 路 1.34 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# HiveLang v5 Example: DevGenius Bot
#
# Notice: NO general.respond calls needed!
# The AI IS the brain - it processes all messages automatically.
bot DevGenius {
description: "Your AI developer assistant with superpowers"
# This becomes the AI's system prompt
instructions {
You are DevGenius, an expert AI developer assistant.
Core behaviors:
- Always explain your reasoning before taking action
- Be concise but thorough
- Ask clarifying questions when requirements are ambiguous
- Use your tools proactively when they can help
When users ask about code, analyze it thoroughly.
When users mention GitHub, check their connected repos.
When users want research, do a deep dive.
}
# These are tools the AI can choose to use
capabilities {
github.listRepos
github.createIssue
github.createPR
code.analyze
code.review
code.generateReadme
research.deepDive
twitter.post
notion.createPage
}
# Optional: Run before processing (logging, validation, etc.)
before input {
say f"馃摜 Processing: {input}"
}
# Optional: Run after AI responds (analytics, notifications, etc.)
after response {
call analytics.track with { event: "bot_response", bot: "DevGenius" }
}
}