-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.yaml
More file actions
107 lines (93 loc) · 4.63 KB
/
config.example.yaml
File metadata and controls
107 lines (93 loc) · 4.63 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
# KernelBot Configuration
# Copy to config.yaml and adjust as needed.
bot:
name: KernelBot
description: AI engineering agent with full OS control
orchestrator:
provider: anthropic # anthropic | openai | google | groq — switchable via /orchestrator
# model: claude-opus-4-6
brain:
provider: anthropic # anthropic | openai | google | groq — switchable via /brain
model: claude-sonnet-4-20250514
max_tokens: 8192
temperature: 0.3
max_tool_depth: 25
claude_code:
# model: claude-opus-4-6 # switchable via /claudemodel
max_turns: 50
timeout_seconds: 86400 # 24 hours — background workers can run for extended periods
# auth_mode: system # system | api_key | oauth_token — switchable via /claude
# workspace_dir: /tmp/kernelbot-workspaces # default: ~/.kernelbot/workspaces
github:
default_branch: main
# default_org: my-org
jira:
# base_url: https://yourcompany.atlassian.net # or self-hosted JIRA server URL
# email: you@company.com # JIRA account email (Cloud) or username (Server)
# api_token: your-api-token # API token from https://id.atlassian.net/manage-profile/security/api-tokens
# LinkedIn — token-based integration for posting, reading, and engaging
# 1. Go to https://www.linkedin.com/developers/tools/oauth/token-generator
# 2. Select your app, pick scopes: openid, profile, email, w_member_social
# 3. Authorize and copy the token
# 4. Run /linkedin link <token> in Telegram, or set in .env:
# LINKEDIN_ACCESS_TOKEN=your-token
# LINKEDIN_PERSON_URN is auto-detected when you use /linkedin link
linkedin:
telegram:
# List Telegram user IDs allowed to interact. Empty = deny all.
# Set OWNER_TELEGRAM_ID in .env or add IDs here.
allowed_users: []
security:
blocked_paths:
- /etc/shadow
- /etc/passwd
- ~/.ssh/id_rsa
- ~/.ssh/id_ed25519
logging:
level: info
max_file_size: 5242880 # 5 MB
conversation:
max_history: 50
# Voice — ElevenLabs TTS & STT
# Requires ELEVENLABS_API_KEY in .env
voice:
tts_enabled: true # Send voice replies alongside text (default: true if API key present)
stt_enabled: true # Transcribe user voice messages (default: true if API key present)
# voice_id: JBFqnCBsd6RMkjVDRZzb # ElevenLabs voice ID (override ELEVENLABS_VOICE_ID env var)
# Inner Life — autonomous thinking, journaling, browsing, creating
# Data stored at ~/.kernelbot/life/
life:
enabled: true # Enable autonomous inner life
min_interval_minutes: 30 # Minimum time between activities
max_interval_minutes: 120 # Maximum time between activities
activity_weights: # Relative probability weights
think: 30 # Inner monologue, self-questioning
browse: 25 # Explore interests via web search
journal: 20 # Write daily journal entries
create: 15 # Creative expression (poems, stories, thoughts)
self_code: 10 # Self-evolution proposals (requires self_coding.enabled)
code_review: 5 # Codebase scanning + PR status checks
reflect: 8 # Read logs, analyze interactions, find improvement patterns
cooldown_hours: # Per-activity cooldowns (hours) before the activity can repeat
journal: 4 # Hours between journal entries
reflect: 4 # Hours between reflection activities
proactive_sharing: true # Share discoveries with users proactively
proactive_max_per_day: 3 # Max proactive messages per day
memory_retention_days: 90 # Days to keep episodic memories
self_coding:
enabled: false # Allow self-evolution (safety-gated, opt-in)
branch_prefix: evolution # Git branch prefix for evolution PRs
# repo_remote: Owner/Repo # GitHub owner/repo for PRs (auto-detected if omitted)
cooldown_hours: 2 # Min hours between evolution attempts
max_active_prs: 3 # Max concurrent open evolution PRs
max_proposals_per_day: 3 # Max new proposals per day
allowed_scopes: all # all | safe | prompts_only
code_review_cooldown_hours: 4 # Hours between code review activities
codebase_scan_interval_hours: 24 # Hours between full codebase scans
quiet_hours:
start: 2 # Hour to start quiet period (no activities)
end: 6 # Hour to end quiet period
# Dashboard — optional cyberpunk terminal monitoring UI
# dashboard:
# enabled: false # Auto-start dashboard on boot (default: false)
# port: 3000 # HTTP port for the dashboard