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

14
requirements.txt Normal file
View File

@@ -0,0 +1,14 @@
# Core dependencies
watchdog>=3.0.0
anthropic>=0.40.0
requests>=2.31.0
# Adapter dependencies
pyyaml>=6.0.1
# Slack adapter (Socket Mode)
slack-bolt>=1.18.0
slack-sdk>=3.23.0
# Telegram adapter
python-telegram-bot>=20.7