AutoResearchClaw: Fully Autonomous Research to Paper
GitHub Repo
MIT
March 24, 2026 at 05:14 PM
0 views

AutoResearchClaw: Fully Autonomous Research to Paper

@aiming-labProject Author

AutoResearchClaw: A Fully Autonomous Research Pipeline from Idea to Conference Paper

Introduction

AutoResearchClaw is an innovative, open-source research automation tool designed to transform a single research idea into a fully developed academic paper—complete with experimental results, statistical analysis, and peer-reviewed content—without requiring human intervention. Developed by the Aiming Lab, this system leverages advanced AI agents, multi-agent collaboration, and self-learning mechanisms to create an end-to-end pipeline capable of handling complex research tasks across multiple domains, including machine learning (ML), natural language processing (NLP), and other scientific disciplines.

The tool operates through a 23-stage pipeline, divided into eight phases: Research Scoping, Literature Discovery, Knowledge Synthesis, Experiment Design, Execution, Analysis & Decision, Paper Writing, and Finalization. Each stage is designed to autonomously generate, validate, and refine research artifacts, ensuring robustness, accuracy, and adherence to academic standards.


Core Features and Innovations

1. Fully Autonomous Research Pipeline

AutoResearchClaw eliminates the need for manual intervention by automating the entire research workflow:

  • From idea to paper: Users simply input a research topic, and the system generates a complete draft.
  • Self-healing experiments: If an experiment fails (e.g., due to runtime errors or hardware limitations), the pipeline detects issues and refines or pivots toward alternative approaches.
  • Multi-agent collaboration: Different AI agents handle distinct tasks—such as hypothesis generation, literature review, code execution, and peer review—ensuring structured decision-making.

AutoResearchClaw Framework Figure 1: AutoResearchClaw’s modular framework, illustrating its 23-stage pipeline across eight phases.

2. Multi-Source Literature Integration

The system aggregates research from multiple reputable sources:

  • OpenAlex: A comprehensive database of academic publications.
  • Semantic Scholar: Specialized in scientific literature with advanced search capabilities.
  • arXiv: Open-access preprint server for technical papers.

AutoResearchClaw performs query expansion, deduplication, and relevance scoring to ensure only high-quality references are included. It also employs a 4-layer citation verification system, cross-checking arXiv IDs against CrossRef, DataCite DOIs, Semantic Scholar titles, and LLM-based relevance assessments to eliminate hallucinated citations.

3. Hardware-Aware Execution

AutoResearchClaw dynamically detects hardware capabilities:

  • GPU/MPS (Apple Silicon) support: Automatically adjusts code generation for NVIDIA CUDA or Apple’s Metal Performance Shaders.
  • CPU-only fallback: If GPU acceleration is unavailable, the system generates optimized CPU-based experiments.
  • Resource estimation: Estimates memory and computational requirements to prevent crashes during execution.

4. Sandboxed Experimentation

Experiments are run in an isolated environment with safeguards:

  • AST validation: Ensures code correctness before execution.
  • Immutable harnesses: Prevents unintended modifications to the research environment.
  • Self-healing mechanisms: Detects NaN/Inf values, runtime errors, and other anomalies, automatically repairing or refining experiments up to 10 iterations.

5. Conference-Grade Paper Generation

The system produces polished academic papers with:

  • LaTeX templates: Supports NeurIPS (2025), ICLR (2026), and ICML (2026) formats.
  • Section-by-section drafting: Generates structured introductions, literature reviews, methods, experiments, results, and conclusions (typically 5,000–6,500 words).
  • Peer review integration: Multi-agent debates ensure methodological consistency with empirical evidence.

6. Quality Gates and Human-in-the-Loop Approvals

To maintain academic rigor, AutoResearchClaw includes three critical human-in-the-loop stages:

  1. Literature Screening (Stage 5): Users can approve or reject literature references.
  2. Experiment Design (Stage 9): Researchers must validate the experimental plan before execution.
  3. Final Paper Review (Stage 20): The system checks for disclaimers, anti-fabrication safeguards, and length compliance.

Users can skip these stages with --auto-approve, but manual intervention ensures accountability.


Integration with OpenClaw

AutoResearchClaw is designed to work seamlessly with OpenClaw, a modular AI assistant framework. Users who already use OpenClaw can integrate AutoResearchClaw by:

  1. Sharing the GitHub repository URL.
  2. Opening RESEARCHCLAW_AGENTS.md to define research agents.
  3. Saying, "Research [topic]"—OpenClaw handles cloning, installation, and execution automatically.

Integration Workflow Figure 2: AutoResearchClaw’s integration with OpenClaw for streamlined research workflows.

Advanced Bridge Capabilities

For deeper customization, AutoResearchClaw supports an OpenClaw bridge adapter system with six optional features:

  • Scheduled Research Runs (use_cron)
  • Progress Notifications (use_message): Discord/Slack/Telegram alerts.
  • Cross-Session Knowledge Persistence (use_memory)
  • Parallel Sub-Sessions (use_sessions_spawn)
  • Live Web Search (use_web_fetch)
  • Browser-Based Paper Collection (use_browser)

These flags enable dynamic adaptation to user workflows without modifying code.


Agent Client Protocol (ACP) Compatibility

AutoResearchClaw supports any ACP-compatible AI agent (e.g., Claude Code, Codex CLI, Gemini CLI, OpenCode) via the acp provider. Users can configure agents directly in the pipeline:

llm:
  provider: "acp"
  acp:
    agent: "claude"  # Any ACP-compatible agent
    cwd: "."         # Working directory for the agent

This eliminates the need for API keys, allowing seamless integration with alternative LLMs.


Self-Learning Mechanism (MetaClaw Integration)

AutoResearchClaw enhances its own learning through MetaClaw, a cross-run knowledge transfer system. When enabled:

  • Failure lessons are captured and converted into reusable skills.
  • Skills are injected into subsequent pipeline stages, reducing retries and improving robustness.

How MetaClaw Works

  1. Run N executes → failures/warnings are logged as lessons.
  2. MetaClaw converts these lessons into skills (e.g., error-handling strategies).
  3. Skills are stored in ~/.metaclaw/skills/ and injected into future runs via build_overlay().

Performance Impact

MetaClaw improves pipeline efficiency by:

  • Reducing retry rates by 24.8%.
  • Cutting refine cycle counts by 40%.
  • Increasing stage completion from 18/19 to 19/19 (a +5.3% improvement).
  • Boosting overall robustness score by 18.3%.

Pipeline Stages and Workflow

Phase A: Research Scoping

  1. TOPIC_INIT: The system decomposes the research topic into structured questions.
  2. PROBLEM_DECOMPOSE: Breaks down the problem into sub-questions for hypothesis generation.

Example Output:

Research Topic: "Improving few-shot learning in NLP"
Sub-Problems:
1. Define metrics for few-shot generalization
2. Identify key papers on transfer learning
3. Design experiment with minimal data

Phase B: Literature Discovery

  1. SEARCH_STRATEGY: Defines search parameters (e.g., OpenAlex query expansion).
  2. LITERATURE_COLLECT: Fetches and screens papers from multiple sources.
  3. KNOWLEDGE_EXTRACT: Extracts key findings into structured knowledge cards.

Phase C: Knowledge Synthesis

  1. SYNTHESIS: Clusters literature, identifies gaps, and generates testable hypotheses via multi-agent debate.

Phase D: Experiment Design

  1. EXPERIMENT_DESIGN: Creates a runnable Python script with hardware-aware optimizations.
  2. CODE_GENERATION: Generates imports and dependencies based on detected resources.

Phase E: Experiment Execution

  1. EXPERIMENT_RUN: Runs experiments in a sandbox, detects failures, and self-heals via LLM repair.
  2. ITERATIVE_REFINE: Adjusts parameters or pivots to new directions if hypotheses fail.

Phase F: Analysis & Decision

  1. RESULT_ANALYSIS: Multi-agent analysis of results.
  2. RESEARCH_DECISION: Stage 15 autonomously decides:
  • PROCEED (if results validate the hypothesis).
  • REFINE (tweak parameters).
  • PIVOT (shift to a new research direction).

Phase G: Paper Writing

  1. PAPER_OUTLINE: Structures sections (Introduction, Related Work, Method, Experiments, Results, Conclusion).
  2. PAPER_DRAFT: Writes the full paper in Markdown.
  3. PEER_REVIEW: Multi-agent debate ensures methodology-evidence consistency.

Phase H: Finalization

  1. QUALITY_GATE: Validates disclaimers, anti-fabrication safeguards, and length compliance.
  2. KNOWLEDGE_ARCHIVE: Stores findings in structured KB (Markdown/Obsidian).
  3. EXPORT_PUBLISH: Generates LaTeX with conference templates (NeurIPS/ICLR/ICML).
  4. CITATION_VERIFY: Ensures all references are real and relevant.

Output Deliverables

AutoResearchClaw produces a comprehensive package for academic submission:

  • paper_draft.md: Full Markdown paper with sections.
  • paper.tex: Conference-ready LaTeX (NeurIPS/ICLR/ICML templates).
  • references.bib: Real BibTeX citations from OpenAlex/Semantic Scholar/arXiv.
  • verification_report.json: 4-layer citation verification results.
  • experiment_runs/: Generated code, sandbox logs, and structured JSON metrics.
  • charts/: Auto-generated condition comparison charts with error bars.
  • reviews.md: Multi-agent peer review feedback.
  • evolution/: Self-learned lessons from past runs.

Quick Start Guide

Step 1: Install Dependencies

git clone https://github.com/aiming-lab/AutoResearchClaw.git
cd AutoResearchClaw
python3 -m venv .venv && source .venv/bin/activate
pip install -e .

Step 2: Configure Environment

Edit config.researchclaw.example.yaml to set:

  • LLM API endpoint (base_url)
  • API key (OPENAI_API_KEY)
  • Hardware preferences (GPU/CPU)

Example config snippet:

project:
  name: "my-research"
research:
  topic: "Few-shot learning in NLP"
llm:
  base_url: "https://api.openai.com/v1"
  api_key_env: "OPENAI_API_KEY"
  primary_model: "gpt-4o"
experiment:
  mode: "sandbox"

Step 3: Run the Pipeline

export OPENAI_API_KEY="sk-your-key-here"
researchclaw run --config config.arc.yaml --topic "Few-shot learning in NLP" --auto-approve

Output is saved in artifacts/rc-YYYYMMDD-HHMMSS-/deliverables/.


Advanced Configuration Options

MetaClaw Integration

Enable cross-run learning for improved robustness:

metaclaw_bridge:
  enabled: true
  skills_dir: "~/.metaclaw/skills"

OpenClaw Bridge

For seamless integration with OpenClaw agents:

openclaw_bridge:
  use_message: true  # Send progress updates to Discord
  use_memory: true   # Persist knowledge across sessions

Testing and Community Support

AutoResearchClaw includes 1,284 test cases to ensure reliability. Users are encouraged to contribute feedback via the Discord community or the TESTER_GUIDE.md.


Key Advantages Over Existing Tools

| Feature | AutoResearchClaw | AI Scientist (Sakana) | AutoResearch (Karpathy) | |-----------------------|------------------------------------------|-----------------------------|-----------------------------| | Autonomy | Fully autonomous (no human babysitting) | Limited manual oversight | Manual intervention required | | Literature Quality| 4-layer citation verification | Basic API checks | Minimal validation | | Hardware Awareness| GPU/MPS/CPU auto-detection | CPU-only | No hardware adaptation | | Peer Review | Multi-agent debate with evidence checks | Manual review | None | | Self-Learning | MetaClaw integration (cross-run skills) | No learning mechanism | No adaptive improvements |


Conclusion

AutoResearchClaw represents a significant leap forward in AI-assisted research automation. By combining multi-agent collaboration, self-healing experiments, and conference-grade paper generation, it eliminates many of the bottlenecks in traditional academic workflows. Whether used standalone or integrated with OpenClaw, MetaClaw, or other ACP-compatible agents, AutoResearchClaw empowers researchers to transform ideas into publishable papers efficiently—reducing iteration cycles, improving robustness, and accelerating discovery.

For users seeking a fully autonomous research assistant, AutoResearchClaw provides an unparalleled blend of accuracy, scalability, and adaptability, making it a powerful tool for academia and AI-driven research.

Enjoying this project?

Discover more amazing open-source projects on TechLogHub. We curate the best developer tools and projects.

Project
auto-research-claw
Created
March 24
Last Updated
March 24, 2026 at 05:14 PM

Find more projects like this

One email a week: new and trending developer tools, fresh comparisons, and what shipped. Unsubscribe in one click.