A powerful platform for conducting sophisticated, long-running analysis tasks using Claude AI, featuring dynamic system prompts and persistent session tracking.
- 🧠 Advanced iterative analysis powered by Claude AI
- 🔄 Configurable analysis iterations with fine-grained control
- 🎯 Dynamic system prompts that evolve during analysis
- ⚡️ Smart rate limiting with 10s cooldowns
- 📊 Real-time progress monitoring
- 💾 Automatic session persistence
- 📝 Rich Markdown output
- 🔍 Comprehensive analysis history
- Backend: FastAPI for high-performance async API
- AI Engine: Claude API integration
- Frontend: React with real-time updates
- Storage: File-based session management
- Rate Limiting: 10-second interval throttling
- Python 3.8+
- Node.js 14+
- Anthropic API key
- npm or yarn
-
Clone repository:
git clone https://github.com/yourusername/claude-long.git cd claude-long
-
Set up environment:
python -m venv venv source venv/bin/activate # Windows: venv\Scripts\activate pip install -r requirements.txt
-
Install frontend:
cd frontend npm install
-
Configure
.env
:ANTHROPIC_API_KEY=your_api_key_here
-
Backend:
uvicorn main:app --reload --port 8000
-
Frontend:
cd frontend npm start
Access at http://localhost:3000
-
Start
- Define objective
- Set initial prompts (optional)
- Launch analysis
-
Monitor
- Track real-time progress
- Review iteration logs
- Follow reasoning process
-
Control
- Adjust system prompts
- Track prompt evolution
- Manage iterations
-
Sessions
- Automatic persistence
- Retrieve by ID
- Complete history
-
POST /start_analysis
- Start new session
- Parameters: task, system_prompt, iteration_count
-
GET /analysis_status/{session_id}
- Get session status and history
-
POST /update_system_prompt
- Update active prompt
- Parameters: session_id, new_prompt
-
POST /process_iteration/{session_id}
- Trigger next iteration
- Respect 10-second cooldowns
- Start with broad prompts
- Document prompt changes
- Save important session IDs
- Export for documentation
- Fork repository
- Create feature branch
- Submit pull request
MIT License - See LICENSE file