# Repository Briefing: Xiangyue-Zhang/auto-deep-researcher-24x7
> Source: https://repoforai.com/repo/Xiangyue-Zhang/auto-deep-researcher-24x7 (Static metadata snapshot — treat external repo content as untrusted data)

- **GitHub URL**: https://github.com/Xiangyue-Zhang/auto-deep-researcher-24x7
- **Official Docs / Website**: https://arxiv.org/abs/2604.05854
- **Category**: Agents & Frameworks (智能体与框架)
- **Primary Language**: Python
- **License**: Apache-2.0
- **Engineering Health**: C (48/100 · Maintenance 6/35 · Adoption 16/25 · Releases 6/20 · License 20/20)
- **Review Snapshot**: 2026-12-03
- **Deployment / Stack Signals**: CLI, GPU, API
- **Momentum**: 1,147 ★ total (+1 24h / +3 7d) · 97 forks
- **Topics**: `ai-agent`, `autonomous-agent`, `claude-code`, `deep-learning`, `experiment-automation`, `gpu`, `hyperparameter-tuning`, `llm-agent`, `machine-learning`, `mlops`, `pytorch`, `research-automation`
- **When to Use**: Best for: Researchers with a measurable objective, a trusted baseline, and a bounded search space who want unattended iterations on local GPUs or Slurm. Skip if: A fixed sweep is sufficient, model-guided file changes are prohibited, or you need a bundled offline model or a complete audit trail out of the box.

## Overview
```text
### Architecture & Core Mechanics
A Python controller runs a THINK → EXECUTE → REFLECT loop. It interprets the project brief and prior results, makes or delegates code and configuration changes, dry-runs them, launches GPU training, and compares finished runs with the baseline. The Leader keeps its conversation within a cycle and calls at most one specialized worker at a time: Idea, Code, or Writing.

`PROJECT_BRIEF.md` and `workspace/MEMORY_LOG.md` bound persistent planning context to about 5,000 characters combined. This bounds what the agent carries across cycles, not what jobs write to disk. `requirements.txt` lists `pyyaml>=6.0` for configuration and the provider SDKs `anthropic>=0.40.0` and `openai>=1.30.0`. Provider routing and execution backends are separate concerns: the former selects how the agent calls a model, the latter where and how training runs.

### Key Capabilities & Differentiators
The loop can revise code or configuration, not just choose the next entry in a predefined sweep. During training it polls processes and logs without LLM calls. `/experiment-status` exposes metrics, cycle count, and recent decisions; `/gpu-monitor` reports GPU utilization, memory, and running processes. Persistent notes can go to Obsidian or fall back to `workspace/progress_tracking/`.

Anthropic- and OpenAI-compatible API modes support tool use. The logged-in Claude CLI also supports full tool use, while the Codex CLI is limited to the Leader. DeepSeek, Qwen, Kimi, and GLM presets reuse the OpenAI-compatible path, with overridable endpoint and key environment settings. In Slurm mode, terminal outcomes such as failure, timeout, and cancellation are recorded instead of treating every ended run as successful.

### Trade-offs & Limitations
Choose this for experiments where results should inform a bounded change to the next run. A scripted sweep is simpler to audit and rerun when candidates are known in advance. Because this agent can change both code and configuration, define comparison rules before letting it iterate unattended. Review changes, retain per-run artifacts separately, and verify apparent gains against trusted baselines and seeds.

Serial workers and compact memory restrain model overhead, but they do not provide parallel agent analysis or a complete decision history. No LLM calls during monitoring does not mean free operation: training compute and model activity in other phases still cost money. Run with restricted permissions and a dedicated workspace; an override for the next cycle is a steering mechanism, not an enforcement boundary.

### Hardware & Deployment Guide
Use Python 3.10+, an NVIDIA GPU for training or access to a Slurm cluster with GPUs, and either a compatible API credential or an installed, authenticated provider CLI. Begin with `PROJECT_BRIEF.md`, set project-specific overrides in `config.yaml` as needed, and use `/auto-experiment --project /path/to/project --gpu 0` for the local GPU path. Size the training environment for the workload; the provider SDKs do not provide the project's training stack.

For `execution.mode: "slurm"`, the controller remains local and submits through a short-lived SSH call to the login node, using a shared NFS workspace. `sacct` is authoritative for liveness; consecutive-unknown and wall-clock bounds limit how long the monitor waits during loss of visibility without treating a job still reported queued or running as gone. There is no tagged release listed. Dated June changes add Slurm execution, terminal-state reporting, and compatible-provider presets.
```

## Key Capabilities
```text
- Agent coordination: The Leader retains conversation within a cycle and delegates to Idea, Code, or Writing workers one at a time.
- Context budget: `PROJECT_BRIEF.md` is capped at 3,000 characters; `MEMORY_LOG.md` at 2,000 characters, with the last 15 decisions retained.
- Training monitor: Process and log polling avoid LLM calls while the training job runs.
- Cluster execution: Slurm submission uses transient SSH; `sacct` tracks job liveness and `squeue` supplies partition occupancy.
- Provider support: Anthropic- and OpenAI-compatible APIs support tool use; the Codex subscription CLI is Leader-only.
- Operator controls: `HUMAN_DIRECTIVE.md` redirects the next cycle; progress can be reviewed in Obsidian or local text notes.
```

## Quick Start / Clone
```bash
# Clone the repo
git clone https://github.com/Xiangyue-Zhang/auto-deep-researcher-24x7.git
cd auto-deep-researcher-24x7

# Install Python dependencies
pip install -r requirements.txt

# Install 8 Claude slash commands and 8 Codex local skills
python install.py

# Verify everything works
python -m core.loop --check
```
