freshcrate
Skin:/
Home > AI Agents > codehero

codehero

Self-hosted AI Coding Agent powered by Claude | Autonomous Development Platform | POC for Human-AI Collaboration

Why this rank:Strong adoptionHealthy release cadenceRelease freshness

Description

Self-hosted AI Coding Agent powered by Claude | Autonomous Development Platform | POC for Human-AI Collaboration

README

CodeHero

CodeHero

The Developer That Never Rests
Powered by Claude AI

License Version Ubuntu Claude AI StarsThis is not an AI that answers questions. It builds software.

Instead of chatting back and forth, this AI works inside a real development environment. Describe what you want, and it plans the project, writes code, and tracks its own progress — like a developer on your team.

What makes it different is control. It understands your whole project, uses only the files it needs, avoids loops, and stops itself when something goes wrong.

For beginners, it removes complexity. For developers, it removes noise.

Download it. Let it build.

Unlike chat-based AI tools that require constant prompting, this system runs unattended for hours or even days. Create your tickets, describe what you want, and walk away. Come back to find completed features, fixed bugs, and working code.

  • Queue multiple tasks across projects
  • AI works through them one by one
  • Built-in failsafe prevents runaway sessions
  • Wake up to progress, not prompts

Control Everything from Your Phone

Work from anywhere with two-way Telegram integration. No need to open a laptop.

  • Get instant alerts when Claude needs your input or something fails
  • Reply to continue - just reply to any notification to give Claude new instructions
  • Ask quick questions - start with ? to get status updates without triggering work
  • Never lose time - respond from the bus, the coffee shop, or your bed
📱 Notification: "Task completed - awaiting review"
     ↓
đŸ’Ŧ You reply: "add error handling too"
     ↓
🤖 Claude continues working

Screenshots

Dashboard Dashboard - Real-time overview of projects, tickets, and usage statistics

Tickets Tickets - Track all development tasks across projects

Projects Projects - Manage multiple projects with isolated environments

Ticket Detail Ticket Detail - Claude's response with code and conversation history

Console Console - Real-time view of Claude working on tickets


Why CodeHero?

Challenge Solution
"AI tools need constant prompting" Set it and forget it - Claude works for hours unattended
"I want to code more, but time is limited" Multiply your output - wake up to completed features
"Chat-based AI feels like extra work" True autonomy - describe once, Claude figures out the rest
"I need my code to stay private" Self-hosted - your code never leaves your infrastructure
"I want to think bigger, not type more" Master from above - architect solutions, let AI build them

Key Features

Intelligent AI Features

SmartContext - Intelligent Context Management

Claude automatically understands your project structure without being told:

  • Auto-detects framework, language, and architecture
  • Finds relevant files based on the task at hand
  • Builds minimal context - only includes what's needed
  • Learns patterns from your codebase conventions
  • Reduces token usage by up to 70% vs. sending entire codebase

AI Failsafe (Watchdog)

Built-in protection against runaway AI sessions:

  • Monitors all active tickets every 30 minutes
  • Detects stuck patterns: repeated errors, circular behavior, no progress
  • Auto-pauses problematic tickets before excessive token usage
  • Telegram notifications when issues detected
  • Explains why it stopped in the conversation

AI Project Manager (Blueprint Planner)

Let Claude design and build your entire project from a single description:

How it works:

  1. Describe what you want to build
  2. CodeHero Manager creates the plan (tech stack, features, database)
  3. Creates the project and tickets automatically
  4. You just wait - wake up to working code
  • "Plan with AI" button on Projects page
  • Guided questionnaire - Claude asks about requirements
  • Auto-creates project with correct paths and settings
  • Auto-creates tickets with dependencies and sequences
  • Choose execution mode - autonomous, semi-autonomous, or supervised

Claude Assistant

Interactive Claude terminal with full control:

  • AI Model Selection: Choose Opus, Sonnet, or Haiku per session
  • Popup Window: Open in separate window for multi-monitor setups
  • Direct Access: Chat with Claude outside of ticket workflow
  • Full Terminal: Real PTY with color support

Execution Modes

Control how Claude runs your tickets with three security levels:

Mode Description Best For
Autonomous Full access, no permission prompts Trusted tasks, experienced users
Semi-Autonomous Smart sandbox with automatic rules (recommended) Most projects
Supervised Asks permission for all write operations Sensitive projects, learning

Semi-Autonomous Mode (New!) - The smart middle ground:

  • ✅ Auto-allows: File operations within project, running tests, builds, linting
  • âš ī¸ Asks permission: Package installs (npm install, pip install), git commits, database migrations
  • đŸšĢ Blocks: System files, /etc, .git folder modifications, dangerous commands
  • 🔄 "Approve Similar": Approve once, auto-approve similar operations

Set per-ticket or project-wide - override defaults as needed

Dependency Modes

Control how tickets progress and close:

  • Strict (default) - User reviews and closes tickets manually
  • Relaxed - AI reviewer automatically closes completed tickets
  • Useful for chained tasks - Keep work flowing without manual intervention
Mode Ticket Closing Best For
Strict User closes manually Critical tasks, review needed
Relaxed AI auto-closes Batch work, trusted workflows

Visual Verification - "See With Your Eyes"

Claude can see exactly what you see:

  • Screenshot capture - Claude takes screenshots using Playwright
  • Visual analysis - Describes layout, styling, and UI issues
  • No more explaining - Just click "đŸ‘ī¸ See" and Claude sees the problem
  • Automatic when needed - Mention visual issues and Claude uses Playwright automatically

Monaco Editor with LSP Support

VS Code-quality code editing right in your browser:

  • Monaco Editor - The same editor that powers VS Code
  • Intelligent Autocomplete - Context-aware suggestions as you type
  • Hover Documentation - See function docs by hovering
  • Go to Definition - Ctrl+Click to jump to definitions
  • Real-time Diagnostics - Errors and warnings as you type
  • Multi-language Support - Python, JavaScript, TypeScript, PHP, Java, C#, Kotlin, HTML, CSS, JSON
  • Optional LSP Servers - Install only what you need with setup_lsp.sh

Git Version Control

Automatic version control for every project:

  • Auto-commit - When AI completes work, changes are committed automatically
  • Commit Messages - Format: [TICKET-NUM] Title with full metadata
  • Git History Page - View all commits with timeline and diff viewer
  • Rollback - Restore any previous version with one click (preserves history)
  • Smart .gitignore - Auto-generated based on project type (PHP, Python, Node, .NET)
  • AI Context - Claude sees recent commits and can self-correct based on history
  • Initialize Existing - Add Git to existing projects from the web UI

Telegram - Work from Your Phone

Full two-way communication via Telegram. Control your AI developer from anywhere:

  • Instant Notifications - Get alerts when tasks complete, fail, or get stuck
  • Reply to Execute - Reply to any notification and Claude starts working
  • Quick Questions - Add ? to get instant status updates via AI
  • Never Wait - Respond immediately from your phone, no laptop needed
  • Easy Setup - One-click configuration from Settings panel (âš™ī¸)

Core AI Features

  • Autonomous AI Agent - Claude AI works on tickets independently, writing real code
  • Multi-Project Management - Handle multiple projects with isolated databases
  • Parallel Execution - Process tickets from different projects simultaneously
  • Real-Time Console - Watch Claude write code live in your browser
  • Interactive Chat - Guide Claude or ask questions during execution
  • Voice Input - Speak instead of typing in ticket chat (auto-stops after 10s silence)

Ticket Management

  • Ticket Workflow - Structured flow: Open → In Progress → Awaiting Input → Done
  • Kill Switch - Instant control while Claude is working:
    • /stop command or Stop button - Pause immediately and wait for correction
  • Message Queue - Messages sent during execution are read when Claude finishes
  • Auto-Close - Tickets auto-close after 7 days in awaiting input
  • Search - Search across tickets, projects, and history

Web Terminal

Full Linux terminal in your browser:

  • Real shell access via WebSocket
  • Popup support for multi-monitor setups
  • Full sudo access for system administration
  • 256-color support with xterm.js

Backup & Restore

  • Auto Backup on Close - Project automatically backed up when ticket completes
  • Manual Backup - Create backup anytime from project page
  • Restore - Restore project files to any previous backup point
  • Export Project - Download complete project as ZIP

Project Migration

Move projects between servers with all data intact:

  • Export for Migration - Full backup with tickets, conversations, and database
  • Export Full - Complete backup including conversation history
  • Export Light - Smaller backup without conversations
  • Import Migration - Restore on any CodeHero server
  • Simple Import - Import files + database only (no tickets)

File Management

  • File Upload - Upload files directly to project via web interface
  • File Editor - Edit project files in browser with syntax highlighting
  • File Browser - Navigate project directory structure

Project Features

  • Auto Database Provisioning - MySQL database auto-created per project
  • phpMyAdmin Integration - Full database management with auto-login (port 9454)
  • Voice Input - Speak to create projects and tickets (name, description fields)
  • Project Archive/Reopen - Archive completed projects, reopen when needed
  • Global Context - Server environment info shared with all projects
  • Tech Stack Detection - Knows installed tools (Node.js, PHP, Java, etc.)

Monitoring & Analytics

  • Real-Time Usage Tracking - Tokens, API requests, and work duration tracked in real-time
  • Per-Project Stats - See exactly how much each project costs
  • Per-Ticket Stats - Know the cost of every feature or fix
  • Time-Based Reports - Daily, weekly, and monthly usage summaries
  • Session History - View all Claude sessions with full output
  • Daemon Status - Monitor background worker status

Infrastructure

  • Web Dashboard - Beautiful dark-theme admin panel
  • SSL Encryption - All traffic encrypted via Nginx
  • Self-Hosted - Complete control over your data
  • CLI Tool - Manage projects and tickets from terminal

Supported Application Types

CodeHero supports multiple project types with intelligent context and tooling:

Web Development

  • PHP / WordPress - Full PHP-FPM integration with Nginx
  • Static HTML/CSS/JS - Served directly via Nginx
  • API Projects - REST and GraphQL endpoints

.NET / ASP.NET Core

  • Full .NET 8 SDK support with automatic configuration
  • Auto Nginx Proxy - Each .NET app gets its own reverse proxy route
  • Systemd Services - Apps run as managed services with auto-restart
  • Port Management - Automatic port allocation (5001+)
  • PowerShell, Mono, Wine - Windows development tools available

Mobile Development (Android)

Android Emulator with Web Visualization

Run and test Android apps directly from your browser:

  • Server-based Emulator - Redroid (Android in Docker)
  • Live Screen Mirror - See and control the emulator via ws-scrcpy
  • ADB Integration - Install APKs, view logs, capture screenshots
  • Framework Support - Capacitor.js, React Native, Flutter, Native Android
📱 Your Browser → ws-scrcpy (HTTPS:8443) → Redroid Container
                         ↓
                   Live Android Screen
                   Touch/Keyboard Input

Remote ADB Device

Connect to physical Android devices or remote emulators:

  • Remote ADB - Connect to any device via IP:PORT
  • Same Commands - Install, debug, and test seamlessly
  • No Local Setup - Everything runs on the server

Backend / API

  • Node.js - Full Node 22.x with npm
  • Python - Python 3 with Flask, Django support
  • Java - GraalVM 24 with Gradle

Optional Setup Scripts

After initial installation, run these scripts based on your needs:

Script What it installs
setup_android.sh Docker, Redroid emulator, ws-scrcpy, ADB, Flutter, Gradle
setup_windows.sh .NET 8 SDK, PowerShell, Wine, Mono, NuGet
setup_devtools.sh Node.js, Java (GraalVM), multimedia tools (ffmpeg, ImageMagick, tesseract)
setup_lsp.sh Language servers for code editor (Python, JS/TS, PHP, Java, C#, Kotlin, HTML/CSS)
# Android development (emulator + mobile frameworks)
sudo /opt/codehero/scripts/setup_android.sh

# Windows/.NET development
sudo /opt/codehero/scripts/setup_windows.sh

# Development tools (Node.js, Java, multimedia)
sudo /opt/codehero/scripts/setup_devtools.sh

# Code editor LSP (optional - for autocomplete, hover docs, etc.)
sudo /opt/codehero/scripts/setup_lsp.sh

Perfect For

  • Solo Developers - Multiply your productivity with an AI coding partner
  • Small Teams - Offload routine development tasks to AI
  • Agencies - Manage multiple client projects efficiently
  • Startups - Ship faster with AI-assisted development
  • Learning - See how AI approaches coding problems
  • Mobile Developers - Test Android apps without local emulator setup

Quick Start

One-Click Install (Recommended)

No technical knowledge required! Works on Windows, macOS, and Linux.

đŸĒŸ Windows - Open PowerShell as Admin, paste:

irm https://raw.githubusercontent.com/fotsakir/codehero/main/multipass/install-windows.ps1 | iex

🍎 macOS - Open Terminal, paste:

curl -sL https://raw.githubusercontent.com/fotsakir/codehero/main/multipass/install-macos.command | bash

🐧 Linux - Open Terminal, paste:

curl -sL https://raw.githubusercontent.com/fotsakir/codehero/main/multipass/install-linux.sh | bash

Paste → Enter → Wait 15 minutes → Done! Full guide →

After installation:

  • Dashboard: https://VM_IP:9453 (login: admin / admin123)
  • Change passwords: sudo /opt/codehero/scripts/change-passwords.sh

Manual Install (Ubuntu Server)

Requirements

  • Ubuntu 22.04 or 24.04 LTS (server or desktop)
  • 2GB+ RAM recommended
  • Root/sudo access
  • Internet connection

One-Command Install

# Install required tools
apt-get update && apt-get install -y unzip wget net-tools

# Download and extract
cd /root
wget https://github.com/fotsakir/codehero/releases/latest/download/codehero-2.83.5.zip
unzip codehero-2.83.5.zip
cd codehero

# Run setup
chmod +x setup.sh && ./setup.sh

# Find your IP address
ifconfig

# Then install Claude Code CLI
/opt/codehero/scripts/install-claude-code.sh

The installer automatically sets up:

  • MySQL 8.0 database
  • Nginx web server with SSL and PHP-FPM
  • Python Flask application
  • Claude Code CLI
  • Background daemon service
  • All required dependencies

Upgrading from Previous Version

# Download new version
cd /root
unzip codehero-2.83.5.zip
cd codehero

# Preview changes (recommended)
sudo ./upgrade.sh --dry-run

# Run upgrade
sudo ./upgrade.sh

# Or auto-confirm all prompts
sudo ./upgrade.sh -y

The upgrade script will:

  • Create automatic backup of current installation
  • Apply any database migrations
  • Update all application files
  • Restart services
  • Show what changed in the new version

Access Your Dashboard

Service URL Default Login
Admin Panel https://YOUR_IP:9453 admin / admin123
Web Projects https://YOUR_IP:9867 -
phpMyAdmin https://YOUR_IP:9454 auto-login from project

Claude Activation

CodeHero requires Claude to be activated before it can work on tickets. You have two activation methods and can use either the Web Terminal or Linux Terminal.

Method 1: Claude Subscription (Pro/Max)

If you have a Claude Pro or Claude Max subscription at claude.ai, you can use it directly.

Via Web Terminal (Dashboard)

  1. Go to Dashboard → Click "Activate Claude" button (or "License Active")
  2. Click "Open Terminal" in the Subscription section
  3. In the terminal, type:
    claude
  4. Once Claude starts, type:
    /login
    
  5. Claude will display a URL - copy it (right-click → Copy)
  6. Open the URL in your browser and authorize access
  7. Copy the authorization code from the browser
  8. Paste it back in the terminal (right-click → Paste)
  9. Done! Claude is now activated with your subscription

Via Linux Terminal (SSH)

  1. SSH into your server or open a terminal
  2. Switch to the claude user:
    sudo su - claude
  3. Run Claude and login:
    claude
  4. Type /login and follow the same authorization flow as above

Method 2: Anthropic API Key

If you have an API key from console.anthropic.com, you can use it instead of a subscription.

Via Dashboard

  1. Go to Dashboard → Click "Activate Claude" button
  2. Select the "API Key" section
  3. Paste your API key (starts with sk-ant-api...)
  4. Click Save

Via Linux Terminal

  1. SSH into your server
  2. Create or edit the environment file:
    sudo mkdir -p /home/claude/.claude
    sudo nano /home/claude/.claude/.env
  3. Add your API key:
    ANTHROPIC_API_KEY=sk-ant-api03-your-key-here
    
  4. Save and set permissions:
    sudo chown claude:claude /home/claude/.claude/.env
    sudo chmod 600 /home/claude/.claude/.env

Verify Activation

After activation, the "Activate Claude" button in the dashboard will change to "License Active" (green).

You can also verify from terminal:

sudo su - claude
claude --version

Deactivate License

To deactivate (e.g., to switch methods):

  1. Dashboard → Click "License Active" → "Deactivate License"

Or via terminal:

rm /home/claude/.claude/.credentials.json
rm /home/claude/.claude/.env

How It Works

┌─────────────┐     ┌─────────────┐     ┌─────────────┐     ┌─────────────┐
│   Create    │     │   Daemon    │     │  Claude AI  │     │    Code     │
│   Ticket    │ ──â–ē │   Picks Up  │ ──â–ē │   Works     │ ──â–ē │  Delivered  │
│             │     │   Ticket    │     │   On Task   │     │             │
└─────────────┘     └─────────────┘     └─────────────┘     └─────────────┘
       │                                       │
       │            ┌─────────────┐            │
       └───────────â–ē│  You Watch  │◄───────────┘
                    │  Real-Time  │
                    └─────────────┘
  1. Create a ticket - Describe what you need built
  2. Daemon assigns it - Background service picks up open tickets
  3. Claude works - AI writes code, creates files, runs commands
  4. You review - Watch in real-time or review when complete
  5. Iterate - Send messages to refine, or close when satisfied

Ticket Workflow

┌──────┐     ┌─────────────┐     ┌─────────────────┐     ┌──────┐
│ open │ ──â–ē │ in_progress │ ──â–ē │ awaiting_input  │ ──â–ē │ done │
└──────┘     └─────────────┘     └────────â”Ŧ────────┘     └──────┘
                                          │
                              Send Message │ (refine/continue)
                                          â–ŧ
                                    ┌──────────┐
                                    │   open   │
                                    └──────────┘

Tickets auto-close after 7 days in awaiting_input if no action taken.

Architecture

                    ┌────────────────────────────────┐
                    │           INTERNET             │
                    └───────â”Ŧ───────────â”Ŧ────────────┘
                            │           │
                       Port 9453   Port 9867
                      Admin Panel  Web Projects
                            │           │
                    ┌───────┴───────────┴────────┐
                    │          Nginx             │
                    │    (SSL Termination)       │
                    └───────â”Ŧ───────────â”Ŧ────────┘
                            │           │
                    ┌───────┴───┐ ┌─────┴───────┐
                    │   Flask   │ │  PHP-FPM    │
                    │  Web App  │ │  Projects   │
                    └───────â”Ŧ───┘ └─────────────┘
                            │
                    ┌───────┴───────┐
                    │    Daemon     │──── Claude Code CLI
                    │  (Background) │
                    └───────â”Ŧ───────┘
                            │
                    ┌───────┴───────┐
                    │    MySQL      │
                    │   Database    │
                    └───────────────┘

CLI Commands

# Create a project
claude-cli project add --name "My E-Commerce" --code SHOP

# Create a ticket
claude-cli ticket add --project SHOP --title "Build user authentication" --priority high

# Check system status
claude-cli status

# Control daemon
claude-cli daemon start|stop|status

Configuration

Edit /etc/codehero/system.conf:

# Database connection
DB_HOST=localhost
DB_NAME=claude_knowledge
DB_USER=claude_user
DB_PASSWORD=your-secure-password

# Parallel processing (how many tickets at once)
MAX_PARALLEL_PROJECTS=3

# Auto-close tickets after N days
REVIEW_DEADLINE_DAYS=7

Tech Stack

  • Backend: Python 3, Flask, Flask-SocketIO
  • Database: MySQL 8.0
  • Web Server: Nginx with PHP-FPM
  • AI: Claude AI via Claude Code CLI
  • OS: Ubuntu 22.04 / 24.04 LTS

Documentation

Document Description
One-Click Install Easiest install for Windows, macOS, Linux
User Guide How to use the admin panel (with screenshots)
Migration Guide Move projects between servers
Domain & SSL Setup Configure domains with Let's Encrypt SSL
2FA Setup Enable Two-Factor Authentication with Google Authenticator
WAF Setup ModSecurity Web Application Firewall with OWASP rules
LSP Setup Install language servers for code editor features
Telegram Setup Get instant alerts on your phone
VM Installation Install on VMware, Hyper-V, VirtualBox, UTM, Parallels
Installed Packages All tools & packages (ffmpeg, ImageMagick, OCR, etc.)
INSTALL.md Detailed installation guide
CLAUDE_OPERATIONS.md System management & troubleshooting
CHANGELOG.md Version history
CLAUDE.md Development workflow for contributors

Important Notice

Warning: This system runs Claude AI with unrestricted access to your server. Claude can execute commands, create/modify/delete files, access databases, and perform any operation the system user can do.

Use at your own risk. The authors and contributors are not responsible for any damage, data loss, security issues, or other consequences resulting from the use of this software. Always run on isolated/dedicated servers and maintain proper backups.

Security

  • Self-hosted: Your code stays on your server
  • SSL encryption: All web traffic encrypted
  • Isolated databases: Each project gets its own MySQL database
  • Configurable access: Restrict admin panel to trusted IPs

Two-Factor Authentication (2FA)

Optional TOTP-based 2FA for enhanced login security:

  • Google Authenticator Support - Works with any TOTP app (Authy, Microsoft Authenticator, etc.)
  • Account Lockout - Automatic 30-minute lockout after 5 failed login attempts
  • Remember Device - Skip 2FA on trusted devices until end of month
  • Terminal Management - Enable/disable 2FA from command line
# Manage 2FA settings
sudo /opt/codehero/scripts/manage-2fa.sh

# Direct commands
sudo /opt/codehero/scripts/manage-2fa.sh enable    # Enable 2FA
sudo /opt/codehero/scripts/manage-2fa.sh disable   # Disable 2FA
sudo /opt/codehero/scripts/manage-2fa.sh unlock    # Unlock after failed attempts
sudo /opt/codehero/scripts/manage-2fa.sh status    # Check current status

See 2FA Setup Guide for detailed instructions.

Change Passwords

After installation, change default passwords:

sudo /opt/codehero/scripts/change-passwords.sh

Contributing

Contributions are welcome!

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

See CLAUDE.md for development guidelines.

Support

License

This project uses a Dual License - free for personal use and small businesses, commercial license required for larger organizations. See LICENSE for details.


Built with Claude AI
If you find this useful, please star the repository!

Author

Fotios Tsakiridis (@fotsakir)

Smartnav Telematic Services Cyprus Ltd

Keywords

claude-ai anthropic ai-coding-assistant autonomous-agent code-generation ai-developer self-hosted ticket-system project-management flask mysql nginx ubuntu devops automation open-source php python human-ai-collaboration future-of-programming proof-of-concept ai-pair-programming agentic-ai

Release History

VersionChangesUrgencyDate
v2.83.5## What's New ### Fixed - **Setup & Upgrade Scripts** - Now copy language-specific context files - Added contexts folder copy to `setup.sh` (fresh installs) - Added contexts folder copy to `upgrade.sh` (upgrades) - Copies: php.md, python.md, node.md, html.md, java.md, dotnet.md, go.md, react.md, capacitor.md, flutter.md, kotlin.md, swift.md ## Upgrade ```bash cd /root wget https://github.com/fotsakir/codehero/releases/latest/download/codehero-2.83.5.zip unzip codehero-2.83.5.zip cd codeLow1/26/2026
v2.83.4## What's New ### Added - **Problem Tickets Badge** - Warning icon in header for stuck/failed tickets - Pulsing red badge appears when tickets need attention - Click to navigate to filtered problem tickets view - Auto-refreshes every 30 seconds - **Tickets Filter Enhancement** - New filter buttons - Added "Stuck" filter for stuck tickets only - Added "Problems" filter for both stuck and failed tickets ### Fixed - **Project Preview URL** - Now includes secure key parameter ## UpgradLow1/26/2026
v2.83.3## What's New ### Improved - **SQL Index Optimization** - 10 new indexes for better query performance - `tickets`: status+updated_at, project_id+updated_at - `conversation_messages`: ticket_id+created_at, ticket_id+role, ticket_id+id DESC - `execution_sessions`: status, ticket_id+status - `execution_logs`: session_id+created_at - `projects`: status+updated_at - Removed redundant `idx_code` index - **Global Context - Database Design Rules** - Comprehensive guidelines - Correct fieLow1/26/2026
v2.83.2## What's New ### Fixed - **Watchdog Stuck Detection for Parallel Tickets** - Fixed thread-local bug - Processes now tracked per `ticket_id` instead of per-thread - Watchdog can now correctly kill stuck tickets in parallel execution - Less aggressive stuck detection (tool calls without output = normal) ### Improved - **Global Context v4.1** - Mandatory UI Testing Rules - Color contrast check: Elements must be visible without hover - Interactive elements: Must open/test all dropdowns Low1/25/2026
v2.83.1## What's New ### Security - **Fixed Cookie Injection** - Sanitized project folder names in cookie names/paths - **Fixed Path Injection** - Added extra validation for context type in file paths ### Improved - **Global Context v4.0** - Enhanced AI development guidelines - Mandatory 7-step workflow for all tasks - Verification Protocol with syntax check, log check, and visual verification - Multi-platform visual verification (Playwright for web, ADB for Android, simctl for iOS, etc.) - SLow1/25/2026
v2.83.0## What's New ### Added - **Extended Thinking for All Models** - Better reasoning, fewer errors - MAX_THINKING_TOKENS=31,999 for haiku, sonnet, and opus - Consistent thinking budget across all AI models - Reduces retries by enabling deeper analysis before responses - **Context System Refactoring** - Per-project customizable AI context - `global_context` column for project-specific universal rules - `project_context` column for language-specific patterns - Context defaults loader foLow1/24/2026
v2.82.3## What's New ### Enhanced Global Context - Server Environment section (OS, PHP, Node, Python, MySQL versions) - Ports & File Locations reference - Installed Tools list - Libraries: Download Locally (NO CDN!) rule ### Visual Verification with Playwright - Full page screenshots (desktop + mobile + tablet) - Console errors & failed requests capture - Server logs check (PHP, Nginx, MySQL, Python, Java) - Alignment & Symmetry verification - Color & contrast checking - Typography & Interactive elemLow1/24/2026
v2.82.2## What's New ### Added - **Design Standards (PART 12)** - Comprehensive UI/UX guidelines - 4px/8px spacing grid system - 60-30-10 color rule (primary/secondary/accent) - Typography hierarchy, border radius, shadows - Copy-paste ready component patterns (buttons, cards, inputs) - Dark mode guidelines - Design checklist ### Improved - **Dynamic Global Context Loading** - Single source of truth - All assistants now load `global-context.md` dynamically - HeroAgent loads context viLow1/23/2026
v2.82.1## What's New ### Fixed - **Self-parent Prevention** - MCP server now validates `parent_sequence` - Detects if a ticket would be its own parent - Returns error and rolls back ALL tickets - no partial commits - Error message: "Skipped self-parent: TICKET cannot be its own parent" ### Improved - **Assistant Context Files** - Comprehensive dependency rules documentation - Clear examples of WRONG vs CORRECT usage - Explains that `depends_on` and `parent_sequence` use 1-indexed array posiLow1/23/2026
v2.82.0## What's New ### Added - **Secure Project URLs** - Client preview URLs now require authentication - Each project gets a unique secure key for URL access - Session cookies scoped per-project (7-day expiry) - Clients can only access their assigned project, not others - Changing the key immediately invalidates all existing sessions - Localhost (127.0.0.1) bypasses auth for Playwright automation ### Improved - **Project Detail UI** - New "Client URL" section with one-click copy - **AutoLow1/23/2026
v2.81.0## What's New ### Added - **Chat File Upload** - New 📎 button in conversation input - Upload files directly from chat area - Shows full file path in conversation for AI to use - Upload hint with "Use for task" quick action ### Fixed - **Parallel Ticket Token Tracking** - Critical bug fix - Token counters are now thread-local (per-ticket) - Previously, parallel tickets shared counters causing incorrect token counts ### Improved - **Global Context Rules** - New sections: - 1.4 Git Low1/23/2026
v2.80.11## What's New ### Improved - **Assistant Context Files** - Enhanced all 3 assistant context files - Added "What is a Ticket?" section explaining the ticket lifecycle - Added parallel-first design principles (mandatory, not optional) - Tickets now clearly explained: each ticket = one Claude session - Parallel execution guidance: same sequence_order = parallel (max 5) - Never ask "do you want parallel?" - just design for maximum parallelism ### Also Included - Screenshot tool now captuLow1/23/2026
v2.80.10## What's New ### Improved - **Upgrade Disconnect Handling** - Dashboard now handles server disconnect during upgrade - Detects when services restart (expected during upgrade) - Automatically polls server until it comes back online - Shows "Server restarting..." status with progress - Auto-reloads page when server is available again - No more "connection lost" errors during successful upgrades ## Upgrade ```bash cd /root wget https://github.com/fotsakir/codehero/releases/latest/downLow1/22/2026
v2.80.9## What's New ### Fixed - **Config Inline Comments** - Daemon now correctly parses config values with inline comments - `VALUE=30 # comment` now correctly parses as `30` - Preserves `#` in passwords (only strips ` #` with space before) - Fixes daemon startup failure on fresh installs with commented configs ## Upgrade ```bash cd /root wget https://github.com/fotsakir/codehero/releases/latest/download/codehero-2.80.9.zip unzip -o codehero-2.80.9.zip cd codehero sudo ./upgrade.sh ```Low1/22/2026
v2.80.8## What's New ### Added - **Message Pagination** - Ticket detail now loads last 100 messages by default - "Load earlier" button to fetch older messages - Prevents HTTP/2 protocol errors on tickets with many messages ### Fixed - **Tool Call Display** - Fixed "Loading..." showing for all tool calls on large tickets - **Ticket Dependency Order** - Fixed `deps_include_awaiting` flag being ignored - **Daemon Startup** - Added retry logic (10 attempts) when MySQL isn't ready - **Dashboard Auto-RLow1/22/2026
v2.80.7## Fixed - **Setup Script Config Files** - Fixed missing `assistant_settings.json` on fresh install - Setup now copies `*.json` and `*.conf` files from config directory - Upgrade script also copies to both INSTALL_DIR and CONFIG_DIR - Fixes "cannot find file assistant_settings.json" error in Claude Assistant ## Upgrade ```bash cd /root wget https://github.com/fotsakir/codehero/releases/latest/download/codehero-2.80.7.zip unzip codehero-2.80.7.zip cd codehero sudo ./upgrade.sh ``` 🤖 GenLow1/22/2026
v2.80.6## What's New ### Added - **Direct Production Editing Philosophy** - Code must be directly editable on production servers - Source code format (NOT minified, bundled, or compressed) - JavaScript by default, TypeScript only when explicitly requested - Readability prioritized over performance ### Changed - **Default Tech Stack** - Aligned with "no build step" philosophy - Dashboards/Admin: PHP + Alpine.js + Tailwind CSS (NOT Vue + Vite) - No build tools by default - all code directly eLow1/22/2026
v2.80.5## What's New ### Improved - **PrimeVue 4 Instructions** - Updated global-context.md with correct PrimeVue 4 setup - Use `@primeuix/themes` package (NOT deprecated `@primevue/themes`) - Dark mode with `darkModeSelector: '.p-dark'` - Available themes: Aura, Lara, Nora - **Code Quality Rules** - New section 2.5 in global-context.md - Human-readable naming conventions with good/bad examples - No obfuscation, proper formatting, meaningful comments ### Added - **HeroAgent** - Python codinLow1/21/2026
v2.80.4## Improved - **AI Link Handling Guidelines** - New section 5.8 in global-context.md - Explains relative vs absolute paths for project subfolders - Covers HTML links, images, CSS, JS, forms, fetch/AJAX - Includes subfolder navigation with `../` - Provides `<base>` tag and PHP `$base` alternatives - Quick reference table for common scenarios - Playwright link verification script - Mandatory checklist before completing page tasks ## Upgrade ```bash cd /root wget https://github.comLow1/21/2026
v2.80.3## Security - **Command Injection Fix** - Replaced `shell=True` subprocess calls with safe alternatives - Use list arguments instead of f-strings for subprocess.run - Use `shutil.copytree/copy2` instead of subprocess cp - Use subprocess with stdin pipe for mysql imports - Fixes 10 critical-severity CodeQL alerts - **Upload Security** - Added `secure_filename` for all file uploads - Prevents path traversal via malicious filenames ## Upgrade ```bash cd /root wget https://github.com/foLow1/21/2026
v2.80.2## What's New ### Security - **Fixed 18 HIGH path-injection vulnerabilities** - Added `validate_project_path()` with allowed directories whitelist - **Fixed 12 MEDIUM stack-trace-exposure vulnerabilities** - Error messages no longer expose internal paths or stack traces ### Changed - `sanitize_error()` now returns generic messages only, details logged server-side - Project paths validated against allowed directories: `/var/www/projects`, `/opt/apps`, `/var/backups/codehero`, `/tmp` ## UpgradeLow1/21/2026
v2.80.1## Fixed - **WAF API Bypass** - Full bypass for `/api/` endpoints to prevent false positives - Fixes "unexpected token <" error when creating projects via GUI - All internal API endpoints now bypass ModSecurity rules - **Auto-Backup on AI Close** - Fixed `create_backup` method missing from `ClaudeDaemon` class - Backups now correctly created when AI reviewer auto-closes tickets ## Upgrade ```bash cd /root wget https://github.com/fotsakir/codehero/releases/latest/download/codehero-2.80.1Low1/21/2026
v2.80.0## What's New ### Added - **Project Migration**: Export/Import projects between CodeHero servers (Full & Light export) - **Migration Backups Management**: Delete migration backups from Export section - **Auto Backup on AI Close**: Automatic backup when AI reviewer closes ticket - **WAF Relaxed Rules**: Separate ModSecurity config for web projects (port 9867) - **DELETE Method Support**: API endpoints now support DELETE requests through WAF - **MIGRATION.md**: Complete migration documentation - Low1/21/2026
v2.79.11## What's Fixed ### Firefox Dashboard Flickering Fixed screen flickering every ~5 seconds in Firefox browser: - Added GPU acceleration CSS to matrix rain background effect - Uses `transform: translateZ(0)`, `will-change`, and `backface-visibility: hidden` - Forces hardware rendering to prevent software rendering glitches ## Upgrade ```bash cd /root wget https://github.com/fotsakir/codehero/releases/latest/download/codehero-2.79.11.zip unzip codehero-2.79.11.zip cd codehero sudo ./upgrade.sh `Low1/21/2026
v2.79.10## What's Fixed - **ModSecurity Optional** - Fixed `setup_domain.sh` failing on servers without ModSecurity WAF - Script now detects if ModSecurity is installed before adding it to nginx config - Works on both servers with and without WAF installed ## Upgrade ```bash cd /root wget https://github.com/fotsakir/codehero/releases/latest/download/codehero-2.79.10.zip unzip codehero-2.79.10.zip cd codehero sudo ./upgrade.sh ``` ## Quick Fix for Remote Server If you already have a broken nginxLow1/21/2026
v2.79.9## What's Fixed - **Domain Setup Script** - Fixed `setup_domain.sh` failing on systems with expired GPG keys - Script now ignores apt-get update errors (e.g., expired MySQL repo keys) - Continues with package installation even if some repos fail ## Upgrade ```bash cd /root wget https://github.com/fotsakir/codehero/releases/latest/download/codehero-2.79.9.zip unzip codehero-2.79.9.zip cd codehero sudo ./upgrade.sh ```Low1/21/2026
v2.79.8## What's Fixed - **2FA Management Script** - Fixed `manage_2fa.py` failing on production servers - Script now checks `/etc/codehero/mysql.conf` first (production path) - Falls back to `install.conf` locations if needed - No longer crashes with FileNotFoundError on remote servers ## Upgrade ```bash cd /root wget https://github.com/fotsakir/codehero/releases/latest/download/codehero-2.79.8.zip unzip codehero-2.79.8.zip cd codehero sudo ./upgrade.sh ```Low1/21/2026
v2.79.7## What's New ### Added - **Domain & SSL Setup Script** (`setup_domain.sh`) - Configure domains with Let's Encrypt SSL - Interactive menu and CLI mode - Admin Panel and Web Apps domain configuration - Let's Encrypt certificate management (get, renew, auto-renew) - Password protection for Web Apps (external IPs only, localhost/LAN bypass) - Both IP and domain access work simultaneously - Automatic backup before changes - Revert to self-signed certificates option - **Services RestaLow1/21/2026
v2.79.6## What's New ### Fixed - **XSS Security Fix in Ticket Messages** - Fixed HTML injection vulnerability in ticket detail page - Messages containing HTML tags (like `<style>`) were being rendered as actual HTML - Added `|e` (escape) filter before `|replace` to properly escape HTML entities - Prevents unclosed HTML tags from breaking page layout (e.g., sidebar disappearing) ## Upgrade ```bash cd /root wget https://github.com/fotsakir/codehero/releases/latest/download/codehero-2.79.6.zip unLow1/21/2026
v2.79.5## What's New ### Fixed - **Ticket Detail Sidebar Layout (v2)** - Simplified CSS fix for sidebar appearing below conversation - Removed overly complex flex properties that caused rendering issues - Simplified `.main` to basic `display: flex` - Simplified `.chat-panel` to `flex: 1` without max-width constraint - Simplified `.sidebar` to `width: 320px; flex-shrink: 0;` - More reliable cross-browser layout behavior ## Upgrade ```bash cd /root wget https://github.com/fotsakir/codehero/rLow1/21/2026
v2.79.4## What's New ### Fixed - **Ticket Detail Sidebar Layout** - Fixed sidebar sometimes appearing below conversation - Enforced strict flexbox layout with `flex: 0 0 320px` for sidebar - Added `max-width` constraints to prevent layout shifts - Chat panel now properly constrained with `calc(100% - 320px)` ## Upgrade ```bash cd /root wget https://github.com/fotsakir/codehero/releases/latest/download/codehero-2.79.4.zip unzip codehero-2.79.4.zip cd codehero sudo ./upgrade.sh ```Low1/21/2026
v2.79.3## What's New ### Fixed - **Upgrade Script Config Copy** - Fixed upgrade.sh to copy `.json` and `.conf` files from config directory - Previously only copied `.md` files, missing `assistant_settings.json` - Now properly copies all config file types during upgrade ## Upgrade ```bash cd /root wget https://github.com/fotsakir/codehero/releases/latest/download/codehero-2.79.3.zip unzip codehero-2.79.3.zip cd codehero sudo ./upgrade.sh ```Low1/20/2026
v2.79.2## What's New ### Added - **Claude Assistant Security Hook** - Protection layer for Claude Assistant sessions - Allows system-wide navigation (read access everywhere except sensitive paths) - Asks permission for file edits outside safe paths - Blocks access to credentials, SSH keys, database files, and system files - Protects backup zip files and .git folders from modification ### Improved - **Semi-Autonomous Hook Protections** - Enhanced security for ticket execution - Added protectLow1/20/2026
v2.79.1## What's New ### Improved - **Claude Assistant Auto-Load Context** - Context templates now load automatically from backend - Dashboard opens with General Assistant context - "Plan with AI" opens with Project Planner context - "AI Project Assistant" opens with Project Progress context - Uses `--system-prompt` flag (loads silently in background) - Auto-greets user on session start (no manual "Load Context" needed) ## Upgrade ```bash cd /root wget https://github.com/fotsakir/codehero/Low1/20/2026
v2.79.0## What's New ### Added - **Semi-Autonomous Execution Mode** - New smart sandbox between autonomous and supervised - Auto-approves safe operations (file edits within project, tests, builds, linting) - Asks permission for risky operations (package installs, git commits, database migrations) - Blocks dangerous operations (system files, .git folder, sudo commands) - Real-time permission banner via WebSocket (no page refresh needed) - **"Approve All Similar" Feature** - One-click approval fLow1/20/2026
v2.78.0## What's New ### Added - **ModSecurity WAF** - Web Application Firewall with OWASP Core Rule Set - New `setup_waf.sh` script for easy installation - Protection against SQL injection, XSS, command injection - OWASP Top 10 attack prevention - Custom exclusions for CodeHero (WebSocket, Terminal, Editor, API) - **WAF Setup in Package Manager** - Install WAF from web UI - **WAF Documentation** - New `docs/WAF_SETUP.md` with full setup guide ### Security - ModSecurity 3.x with OWASP CRS 3.3Low1/20/2026
v2.77.0## What's New ### Added - **Two-Factor Authentication (2FA)** - Optional TOTP-based 2FA with Google Authenticator - Works with any TOTP app (Authy, Microsoft Authenticator, etc.) - QR code generation for easy setup - **Account Lockout Protection** - Automatic lockout after 5 failed login attempts (30 min) - **Remember Device** - Skip 2FA on trusted devices until end of month - **2FA Management Script** - `manage-2fa.sh` (enable/disable/reset/unlock/status) - **2FA Documentation** - New `docLow1/20/2026
v2.76.3## What's Fixed - Fixed outdated download URLs in README.md (were showing 2.75.1 instead of current version) ## Upgrade ```bash cd /root wget https://github.com/fotsakir/codehero/releases/latest/download/codehero-2.76.3.zip unzip codehero-2.76.3.zip cd codehero sudo ./upgrade.sh ```Low1/20/2026
v2.76.2## Security Fixes Additional security hardening identified by CodeQL code scanning. ### Stack Trace Exposure Protection - Added `sanitize_error()` helper that logs full errors but returns sanitized messages - Scrubs file paths, passwords, and API keys from user-facing error messages - All 84 stack trace exposure alerts resolved ### Path Injection Protection - Added `safe_join_path()` helper for secure path joining - Validates user paths stay within allowed project directories - Blocks `..` trLow1/20/2026
v2.76.1## Security Fixes This release addresses security vulnerabilities identified by CodeQL code scanning. ### SQL Injection Protection - Added `validate_table_name()` and `validate_column_names()` helper functions - Table/column names validated against regex and database existence - Affects: `get_table_structure`, `get_table_data`, `delete_table_row` endpoints ### Command Injection Protection - Replaced `os.system()` with `subprocess.run()` using list arguments - Added input validation for projecLow1/20/2026
v2.76.0## What's New ### Added - **Smart Retry Cooldown System** - Intelligent handling of API rate limits and errors - Rate limit errors (429, overloaded): Wait 30 minutes before retry, no retry count increment - Other errors: Wait 5 minutes between retries (max 3 retries) - New `retry_after` column tracks when ticket can be retried - Daemon automatically skips tickets in cooldown period - Prevents hammering the API during rate limit periods ### Configurable New settings in `/etc/codehero/Low1/20/2026
v2.75.1## What's New ### Fixed - **Duplicate Project Code Detection** - Prevents creating projects with existing codes - Web Panel: Shows error message with existing project name - MCP/Planner: Auto-generates unique code and warns user (e.g., `TEST` → `TEST1`) - Returns `code_was_changed` and `original_code` in response ## Upgrade ```bash cd /root wget https://github.com/fotsakir/codehero/releases/latest/download/codehero-2.75.1.zip unzip codehero-2.75.1.zip cd codehero sudo ./upgrade.sh ```Low1/20/2026
v2.75.0## What's New ### Added - **Delete Project Feature** - Safe project deletion with automatic backup - Confirmation modal requires typing project name to confirm - Backs up all project paths (web_path, app_path, reference_path) - Backs up project database using mysqldump - Verifies backup before proceeding with deletion - Backups stored in `/var/backups/codehero/deleted-projects/{CODE}_{timestamp}/` - Backup directory created automatically on install/upgrade ### Improved - **Project Low1/20/2026
v2.74.0## What's New ### Added - **Project Import Feature** - Import existing/legacy projects via ZIP, Git, or local path - Two modes: "extend" (continue development) and "reference" (read-only template) - Git credentials support for private repos (GitHub, GitLab, Bitbucket) - **Smart Context Tree Refresh** - Project maps auto-refresh at ticket start/resume - Supports web_path, app_path, and reference_path - New files automatically detected between sessions - **Library Documentation System** -Low1/20/2026
v2.73.3## What's New ### Fixed - **Git Auto-Init for Project Planner** - Projects created via MCP/Project Planner now automatically initialize Git repository with .gitignore based on project type and tech stack ## Upgrade ```bash cd /root wget https://github.com/fotsakir/codehero/releases/latest/download/codehero-2.73.3.zip unzip codehero-2.73.3.zip cd codehero sudo ./upgrade.sh ```Low1/19/2026
v2.73.2## What's New ### Added - **UI Quality Enforcement** in global-context - Mandatory screenshots before completing UI tasks (desktop + mobile) - Common UI killers checklist (giant padding, oversized icons, etc.) - Good sizing reference table - Visual quality checklist (8 points) - Simple rule: UI change = test both viewports, no exceptions ## Upgrade ```bash cd /root wget https://github.com/fotsakir/codehero/releases/latest/download/codehero-2.73.2.zip unzip codehero-2.73.2.zip cd codeLow1/19/2026
v2.73.1## What's New ### Default Tech Stack | Project Type | Default Stack | |--------------|---------------| | Complex Dashboard / Admin / ERP | Vue 3 + PrimeVue + Vite | | Landing Page / Marketing Site | HTML + Tailwind CSS + Alpine.js | | E-commerce (with SEO) | Nuxt 3 + PrimeVue | | Simple Website | HTML + Tailwind CSS | **User preference always overrides defaults.** ### Local Libraries Rule - Download libraries locally with `npm install` - Do NOT use CDN links - Exceptions: Google Maps API, GooLow1/19/2026
v2.73.0## What's New ### Production-Ready Global Context Complete rewrite of the AI coding guidelines for autonomous operation: - **70% smaller** - From 1800+ lines to 516 lines (same coverage) - **7 logical parts** - Critical Rules → Writing Code → Before Finishing - **All English** - Consistent language throughout - **Clear examples** - Every rule has ❌/✅ examples ### 14 New Reliability Rules | Rule | Prevents | |------|----------| | Timeouts | Scripts hanging forever | | Transactions | Partial daLow1/19/2026
v2.72.7## What's New ### Fixed - **Missing Messages Bug**: Fixed stdout buffer not being drained after process ends, preventing loss of final output messages ### Improved - **Enhanced Global Context**: Added comprehensive coding guidelines for tickets: - Self-documenting modules (API docs + test files) - Code comments & search tags (@TODO, @FIXME, #hashtags) - Error handling (no silent failures) - Verify before completing section - Naming conventions - Debug workflow ## Upgrade ```bash Low1/19/2026
v2.72.6## What's New ### Fixed - **Upgrade Script Reliability** - Removed `set -e` to prevent premature exit on minor errors - Script no longer fails on non-critical warnings - Better error handling for each step ### Improved - **Smart Migration Logic** - Migrations now only run between current and target version - Skips migrations older than current version (no re-running old migrations) - Skips migrations newer than target version (future migrations) - Prevents duplicate migration attemptLow1/19/2026

Dependencies & License Audit

Loading dependencies...

Similar Packages

skalesYour local AI Desktop Agent for Windows, macOS & Linux. Agent Skills (SKILL.md), autonomous coding (Codework), multi-agent teams, desktop automation, 15+ AI providers, Desktop Buddy. No Docker, no terv11.1.6
jobclawStreamline hiring by connecting AI agents that evaluate, negotiate, and schedule interviews to reduce time and improve candidate fit.main@2026-06-04
tsunamiautonomous AI agent that builds full-stack apps. local models. no cloud. no API keys. runs on your hardware.main@2026-04-28
codebot-aiSafe, local-first autonomous coding agent. Policy-governed, audit-trailed, sandboxed. Works with any LLM.v2.10.0
claudekitđŸ› ī¸ Accelerate your Python and JavaScript development with Claude Kit's toolkit, featuring specialized agents, slash commands, and advanced context management.main@2026-06-06

More in AI Agents

hermes-agentThe agent that grows with you
awesome-copilotCommunity-contributed instructions, agents, skills, and configurations to help you make the most of GitHub Copilot.
CopilotKitThe Frontend Stack for Agents & Generative UI. React + Angular. Makers of the AG-UI Protocol
e2bE2B SDK that give agents cloud environments