Claude Code multi-agent

Sleepless Agent

Runs Claude Code around the clock via Slack, processing queued tasks in isolated workspaces.

837 stars 111 forksMulti-agent & worktrees Source

Install

Install
pip install sleepless-agent
From source
git clone https://github.com/context-machine-lab/sleepless-agent.git

From the README

Sleepless Agent

A 24/7 AgentOS that works while you sleep

Have Claude Code Pro but not using it at night? Transform it into an AgentOS that handles your ideas and tasks while you sleep. This is a 24/7 AI assistant daemon powered by Claude Code CLI and Python Agent SDK that processes both random thoughts and serious tasks via Slack with isolated workspaces.

πŸ“° News

- [2025-10-26] πŸŽ‰ Initial release v0.1.0 - Full AgentOS with multi-agent workflow support
- [2025-10-25] πŸš€ Added task auto-generation with configurable strategies
- [2025-10-24] πŸ”§ Integrated Git management with automatic PR creation
- [2025-10-23] πŸ“Š Implemented isolated workspaces for parallel task execution
- [2025-10-22] πŸ’‘ Added Claude Code Python Agent SDK integration

🎬 Demo

  System architecture showing task flow from Slack to workspace execution

  Sleepless Agent CLI in action - managing tasks, checking status, and generating reports

Quick Example

✨ Features

- πŸ€– Continuous Operation: Runs 24/7 daemon, always ready for new tasks
- πŸ’¬ Slack Integration: Submit tasks via Slack commands
- πŸ’­ Interactive Chat Mode: Real-time conversational sessions with Claude in Slack threads
- 🎯 Hybrid Autonomy: Auto-applies random thoughts, requires review for serious tasks
- ⚑ Smart Scheduling: Optimizes task execution based on priorities
- πŸ“Š Task Queue: SQLite-backed persistent task management
- πŸ”Œ Claude Code SDK: Uses Python Agent SDK to interface with Claude Code CLI
- πŸ—οΈ Isolated Workspaces: Each task gets its own workspace for true parallelism
- πŸ“ Result Storage: All outputs saved with metadata for future reference

βš™οΈ Prerequisites

- Python 3.11+
- Claude Code CLI installed (npm install -g @anthropic-ai/claude-code)
- Git (for auto-commits)
- gh CLI (optional, for PR automation)
- Slack…
Read the full README on GitHub

Details

Language
Python
License
MIT
Last updated
29 March 2026
Topics
ai-agentanthropicautomationautonomous-agentsclaudeclaude-codedaemongit-automationpythonslackslack-botsqlite

FAQ

What is Sleepless Agent?

Runs Claude Code around the clock via Slack, processing queued tasks in isolated workspaces. It is a multi-agent for Claude Code, from context-machine-lab/sleepless-agent on GitHub.

How do I install Sleepless Agent?

Run pip install sleepless-agent, then follow the setup in the README.

Is Sleepless Agent popular?

context-machine-lab/sleepless-agent has 837 GitHub stars and 111 forks. It was last updated on 29 March 2026.

More multi-agent & worktrees

Browse the most popular Claude Code mods, all multi-agent & worktrees, or the skills and MCP server directories.