타이머 기반 Discord 폴링을 통한 다중 에이전트 조정(Claude Code)
hackernews
|
|
💼 비즈니스
#claude
#claude code
#discord
#llama
#tip
#다중 에이전트
#웹훅
#자동화
요약
저자는 복잡한 OpenClaw 설정 대신 Claude Code, Discord 웹후크, 간단한 프로토콜을 사용하여 20분 만에 구축한 자율형 AI 코딩 시스템을 소개합니다. 이 시스템은 개발자가 잠자는 동안 27,000줄 이상의 코드를 분석하고 기술적 이슈 15건을 발견하여 새벽 5시에 상세한 보고서를 전송하는 등 실제 프로덕션 환경에서 성능을 입증했습니다. 주요 기능은 결재 승인 프롬프트 없이 구현 세부사항을 스스로 결정하고, 모바일 알림으로 원격에서 여러 코딩 세션을 실시간 조율하는 것이며, 관련 설정 파일은 GitHub에서 공개되었습니다.
왜 중요한가
개발자 관점
검토중입니다
연구자 관점
검토중입니다
비즈니스 관점
검토중입니다
본문
Stop babysitting your AI. Start shipping while you sleep. After 4 days fighting OpenClaw's complexity, I built a working alternative in 4 hours using Claude Code's native hooks, Discord webhooks, and a simple communication protocol. This system runs in production, coordinates multiple autonomous coding sessions, sends real-time mobile notifications, and has delivered consultant-grade engineering reports while I sleep. AI coding tools promise autonomy but deliver constant interruptions. You end up: - Approving every file change - Stuck at your computer waiting for decisions - Managing complex frameworks that fail silently - Switching between a dozen tools that don't talk to each other OpenClaw tried to solve this. After 4 failed installs over 4 days, I learned that sometimes the best solution is the simplest one. Three components. Twenty minutes. Actually works. ┌─────────────────────────────────────────────────────────────┐ │ AUTONOMOUS WORKFLOW │ ├─────────────────────────────────────────────────────────────┤ │ │ │ 1. Start Claude Code with task │ │ 2. Claude works autonomously │ │ 3. Claude stops at decision points │ │ 4. Hook fires → Discord notification sent │ │ 5. Phone buzzes with STATUS update 📱 │ │ 6. You respond from anywhere │ │ 7. Claude continues │ │ 8. Repeat until complete │ │ │ └─────────────────────────────────────────────────────────────┘ What makes this different: - Actually autonomous - No approval prompts, Claude decides implementation details - Mobile-first - Full context in phone notifications, respond from anywhere - Production-tested - Delivered 27,000-line code analysis overnight - Simple - Bash script, webhooks, protocol document. No complex dependencies. - Multi-agent - Coordinate parallel development from your phone Last night while I slept: Opus 1 analyzed the video editor codebase: - 27,000+ lines of code reviewed - 15 technical issues found (severity-rated, with line numbers) - 15 feature proposals (value/complexity matrix) - 6-month implementation roadmap - Delivered at 5:42 AM with mobile notification Opus 2 analyzed the DAW system in parallel: - 47 audio modules identified - 12 DSP bottlenecks documented - Performance optimization roadmap - Timeline estimate: 10 weeks to production Both sessions coordinated via phone notifications. Zero laptop time required. This is the kind of report you'd pay a consultant $5,000 for. My AI did it autonomously while I slept. Prerequisites: - Claude Code installed - Discord account - 20 minutes Setup: # 1. Clone this repo git clone https://github.com/AetherWave-Studio/autonomous-claude-code.git cd autonomous-claude-code # 2. Create Discord webhook # Discord → Server Settings → Integrations → Create Webhook # Copy the webhook URL # 3. Install hook script cp scripts/discord-notify.sh ~/.claude/ chmod +x ~/.claude/discord-notify.sh # Edit and add your webhook URL nano ~/.claude/discord-notify.sh # Find: WEBHOOK_URL="YOUR_WEBHOOK_URL_HERE" # Replace with your actual webhook URL # 4. Configure Claude Code hooks cp templates/settings.json ~/.claude/ # Edit ~/.claude/settings.json — replace YOUR_WSL_USER with your username # 5. Set up protocol cp templates/CLAUDE.md ~/.claude/ # 6. Test it claude code # Give it a simple task, watch for Discord notification when it stops Windows users: See docs/SETUP.md for WSL-specific instructions. That's it. You're autonomous. ⚠️ Security Warning: Never commit your actual Discord webhook URL to version control. The template scripts containYOUR_WEBHOOK_URL_HERE placeholders. Your local copy with the real URL lives in~/.claude/ and should never be committed to git. - Real-time mobile notifications - Discord app on your phone buzzes when Claude needs input - Structured status updates - Every notification includes what was done, what works, what's next - Multi-agent coordination - Run multiple Claude sessions on different features simultaneously - Session tracking - Unique IDs keep parallel work organized - Non-blocking - Notifications don't interrupt Claude's work - Cross-platform - Works on macOS, Linux, Windows (WSL) Every notification follows this format: **STATUS: COMPLETED** - What was done: Authentication middleware implemented with JWT tokens - Current state: Middleware working, 8 tests passing, integrated with login endpoint - Next step: Ready for code review and security audit - Session: auth-middleware-001 - Modified: auth.ts, middleware.ts, auth.test.ts - Test: npm test && curl -H "Authorization: Bearer TOKEN" http://localhost:5000/api/protected From your phone, you know: - Exactly what happened - What's working - How to verify it - What files changed - What to do next No laptop needed. | Feature | OpenClaw | This System | |---|---|---| | Setup time | 4+ days | 20 minutes | | Dependencies | Ollama, Discord bot, complex config | Bash, curl, Discord webhooks | | Reliability | "Unreliable for mission-critical" | Built on proven Claude Code | | Documentation | Sparse, contradictory | You're reading it | | De