A personal AI assistant with persistent memory, powered by Claude AI.
- Interactive Chat - Natural conversation with Claude AI
- Persistent Memory - Remember context across sessions
- Task Management - Schedule and track tasks
- Goal Tracking - Set and monitor personal goals
- Daily Notes - Automatic daily summaries and reflections
- Telegram Bot - Interact via Telegram messages
- Background Daemon - Run as a background service
- Node.js 22+ (Node.js 23+ recommended)
- Anthropic API access
# Clone the repository
git clone <repository-url>
cd ChronoMind
# Install dependencies
npm install
# Copy configuration
cp config.example.yaml config.yaml
# Set required environment variables
export ANTHROPIC_BASE_URL=https://api.anthropic.com
export ANTHROPIC_AUTH_TOKEN=your-auth-token-here
# Start interactive chat
npm run cli| Variable | Description | Required |
|---|---|---|
ANTHROPIC_BASE_URL |
Claude API endpoint | Yes |
ANTHROPIC_AUTH_TOKEN |
Your API auth token | Yes |
TELEGRAM_BOT_TOKEN |
Telegram bot token | No |
TELEGRAM_CHAT_ID |
Default Telegram chat | No |
LOG_LEVEL |
Logging level | No |
Copy config.example.yaml to config.yaml and customize:
cp config.example.yaml config.yamlnpm run cli
# or
tsx bin/chronomind.tstsx bin/chronomind.ts exec "What can you help me with?"# Start daemon with Telegram and scheduler
tsx bin/chronomind.ts start --telegram --scheduler
# Check status
tsx bin/chronomind.ts status
# Stop daemon
tsx bin/chronomind.ts stop| Command | Description |
|---|---|
chat |
Start interactive chat (default) |
exec <prompt> |
Execute a single prompt |
start |
Start background daemon |
stop |
Stop background daemon |
status |
Show daemon status |
task |
Manage scheduled tasks |
memory |
Manage memory system |
goal |
Set and track goals |
daily |
Daily notes and summaries |
history |
View conversation history |
analyze |
Analyze data or patterns |
modify |
Modify configurations |
config |
Manage settings |
Run tsx bin/chronomind.ts --help for more details.
# Run tests
npm test
# Type check
npm run typecheck
# Build
npm run build
# Development mode
npm run devchronomind/
├── src/
│ ├── cli/ # CLI commands and interface
│ ├── agent/ # Claude Agent SDK integration
│ ├── memory/ # Persistent memory system
│ ├── scheduler/ # Task scheduling
│ ├── telegram/ # Telegram bot integration
│ ├── db/ # SQLite database layer
│ ├── config/ # Configuration management
│ ├── logger/ # Logging system
│ └── types/ # TypeScript types
├── workspace/
│ ├── memory/ # Memory storage files
│ └── data/ # SQLite database
├── bin/ # CLI entry point
└── tests/ # Test files
MIT