by JudyaiLab
Multi-agent autonomous framework โ let your AI work while you sleep ๐
# Add to your Claude Code skills
git clone https://github.com/JudyaiLab/ai-night-shiftA multi-agent autonomous framework that lets your AI assistants work while you sleep.
AI Night Shift is an open-source framework for running multiple AI agents (Claude Code, Gemini, and more) in coordinated autonomous sessions during off-hours. Born from 30+ real production night shifts, this isn't theoretical โ it's battle-tested.
Most "autonomous agent" tools run a single agent in isolation. AI Night Shift orchestrates multiple heterogeneous AI agents working together:
| Agent | Engine | Role | Mode | |-------|--------|------|------| | Developer | Claude Code | Coding, debugging, deploying | Continuous (hours) | | Researcher | Gemini CLI | Research, data gathering, triage | Periodic (minutes) | | Coordinator | Any LLM | Task routing, monitoring | Heartbeat (30min) |
They communicate through shared protocols โ a file-based message queue, shared chat log, and task board integration.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ AI Night Shift โ
โ โ
โ โโโโโโโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโโโ โ
โ โ Claude โ โ Gemini โ โHeartbeat โ โ
โ โ Code โ โ CLI โ โ Agent โ โ
โ โ โ โ โ โ โ โ
โ โ night_ โ โ patrol. โ โ heartbeatโ โ
โ โ shift.sh โ โ sh โ โ _config โ โ
โ โโโโโโฌโโโโโโ โโโโโโฌโโโโโโ โโโโโโฌโโโโโโ โ
โ โ โ โ โ
โ โโโโโโโโฌโโโโโโโโดโโโโโโโฌโโโโโโโโ โ
โ โ โ โ
โ โโโโโโโโผโโโโโโโ โโโโโโผโโโโโโ โ
โ โ night_chat โ โ bot_inboxโ โ
โ โ .md โ โ (JSON) โ โ
โ โโโโโโโโโโโโโโโ โโโโโโโโโโโโ โ
โ โ
โ โโโโโโโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโโโ โ
โ โ Plugins โ โDashboard โ โTemplates โ โ
โ โโโโโโโโโโโโ โโโโโโโโโโโโ โโโโโโโโโโโโ โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
git clone https://github.com/judyailab/ai-night-shift.git
cd ai-night-shift
bash install.sh
# Copy the example config and edit your settings
cp config.env.example config.env
nano config.env
# Customize the night shift prompt
nano claude-code/prompt_template.txt
# Run a single round to verify setup
bash claude-code/night_shift.sh --max-rounds 1
# The installer adds cron jobs automatically, or set up manually:
crontab -e
# Add: 0 1 * * * cd ~/ai-night-shift && bash claude-code/wrapper.sh
| Module | Description | Docs ...
No comments yet. Be the first to share your thoughts!