Initial commit: Ajarbot with optimizations

Features:
- Multi-platform bot (Slack, Telegram)
- Memory system with SQLite FTS
- Tool use capabilities (file ops, commands)
- Scheduled tasks system
- Dynamic model switching (/sonnet, /haiku)
- Prompt caching for cost optimization

Optimizations:
- Default to Haiku 4.5 (12x cheaper)
- Reduced context: 3 messages, 2 memory results
- Optimized SOUL.md (48% smaller)
- Automatic caching when using Sonnet (90% savings)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
2026-02-13 19:06:28 -07:00
commit a99799bf3d
58 changed files with 11434 additions and 0 deletions

8
.env.example Normal file
View File

@@ -0,0 +1,8 @@
# Environment Variables (EXAMPLE)
# Copy this to .env and add your actual API keys
# Anthropic API Key - Get from https://console.anthropic.com/settings/keys
ANTHROPIC_API_KEY=your-api-key-here
# Optional: GLM API Key (if using GLM provider)
# GLM_API_KEY=your-glm-key-here