DocuThinker-AI-App

DocuThinker — Agent Coordination Protocol

Project Overview

DocuThinker is a FERN-Stack AI-powered document analysis app with a Python AI/ML layer (ai_ml/) and a Node.js orchestrator (orchestrator/).

File Reservation System

Each agent declares file reservations before editing. Check .beads/.status.json before starting ANY work. Use branch naming: agent/<agent-name>/<bead-id>

Conflict Zones (single agent only)

Safe Parallel Zones

Communication Protocol

  1. Post to .beads/.status.json with agent ID and claimed files
  2. Check for conflicts before editing
  3. Update status every 30 minutes
  4. Release reservations on completion