Claude Code multi-agent

AI Doc Gen

AI-powered multi-agent system that automatically analyzes codebases and generates comprehensive documentation. Features GitLab integration, concurrent processing, and multiple LLM support for better code understanding and developer onboarding.

769 stars 80 forksMulti-agent & worktrees Plugin marketplace Source

Install

Inside Claude Code
/plugin marketplace add divar-ir/ai-doc-gen

Found in the project README. Check it for setup steps after installing.

From source
git clone https://github.com/divar-ir/ai-doc-gen.git

From the README

AI Documentation Generator

An AI-powered code documentation generator that automatically analyzes repositories and creates comprehensive documentation using large language models. The system employs a multi-agent architecture: five specialized analysis agents run concurrently to map a codebase's structure, dependencies, data flow, request flow, and APIs, and generation agents turn those analyses into a polished README.md and AI assistant configuration files (CLAUDE.md, AGENTS.md, .cursor/rules/). A GitLab cronjob mode discovers active projects and opens merge requests with fresh analysis automatically.

📝 Blog Posts

Read the full story behind this project:
- 🇺🇸 English: Docs That Don’t Rot: How Multi-Agent AI Rewrote Our Workflow
- 🇮🇷 از دستیار کدنویس تا همکار هوشمند؛ گام اول: کابوس مستندسازی

Table of Contents

- Features
- Installation
- Quick Start
- Usage
- Configuration
- Architecture
- License

Features

- Multi-Agent Analysis: Five specialized AI agents for code structure, data flow, dependency, request flow, and API analysis, writing reusable analysis documents to .ai/docs/
- Automated Documentation: Generates comprehensive README files with configurable sections
- AI Assistant Configuration: Generates CLAUDE.md, AGENTS.md, and .cursor/rules/*.mdc files for AI coding assistants
- Claude Code Plugin & Skills: Ships as an installable Claude Code plugin with analyze-codebase, generate-readme, and generate-ai-rules skills (.claude-plugin/, skills/)
- GitLab Integration: Cronjob mode discovers recently active GitLab projects, runs analysis, and opens merge requests
- Concurrent Processing: Parallel agent execution with a configurable worker pool (ANALYZER_MAX_WORKERS, 0 = auto-detect CPU count)
- Flexible Configuration: Layered configuration — Pydantic…
Read the full README on GitHub

Details

Language
Python
License
MIT
Last updated
21 July 2026
Topics
agentaiai-documentationclaudeclaude-code-pluginclaude-code-skillcode-analysisdocumentationmulti-agentpydantic-aipythonskiils

FAQ

What is AI Doc Gen?

AI-powered multi-agent system that automatically analyzes codebases and generates comprehensive documentation. Features GitLab integration, concurrent processing, and multiple LLM support for better code understanding and developer onboarding. It is a multi-agent for Claude Code, from divar-ir/ai-doc-gen on GitHub.

How do I install AI Doc Gen?

Run /plugin marketplace add divar-ir/ai-doc-gen inside Claude Code, then follow the setup in the README.

Is AI Doc Gen popular?

divar-ir/ai-doc-gen has 769 GitHub stars and 80 forks. It was last updated on 21 July 2026.

More multi-agent & worktrees

Browse the most popular Claude Code mods, all multi-agent & worktrees, or the skills and MCP server directories.