AI-powered documentation generator for Concourse pipelines.
ConcourseGPT automatically generates comprehensive documentation for Concourse CI pipelines using AI. It analyzes your pipeline YAML files and produces detailed markdown documentation explaining:
- Pipeline architecture and purpose
- Individual jobs and their functions
- Resource configurations
- Pipeline groups and their relationships
The generated documentation is organized into a searchable static site using MkDocs with the Material theme.
- Intelligent Pipeline Analysis: Automatically understands and documents pipeline architecture and patterns
- Comprehensive Coverage: Documents all pipeline components including jobs, resources, and groups
- Large Pipeline Support: Handles large pipelines through intelligent chunking
- Beautiful Documentation: Generates a modern, searchable static site with dark/light mode
- Progress Tracking: Real-time progress display with error handling and retries
- Markdown-Based: All documentation in Markdown format for easy version control and editing
- Getting Started - Quick start guide and installation
- Usage Guide - Detailed usage instructions and examples
- Configuration - Environment setup and customization
- Examples - Example pipelines and generated documentation
- Set up environment variables:
export LLM_API_BASE="your-llm-api-endpoint"
export LLM_MODEL="your-model-name"
export VLLM_TOKEN="your-api-token"
Note about API BASE url's
- Ollama style: https://ollama-url.com/api/v1
- OpenAI style: https://api.openai.com/v1
- Run documentation generation:
concourse-gpt generate path/to/pipeline.yml
- Build the documentation site:
concourse-gpt build-site
- View your documentation:
concourse-gpt serve
# Generate docs for a pipeline
concourse-gpt generate pipeline.yml
# Generate overview README of all documented pipelines
concourse-gpt gen-readme
# Build static documentation site
concourse-gpt build-site
# Serve documentation locally
concourse-gpt serve
- Bash 4.0+
- Python 3.7+ (for MkDocs)
- Access to an LLM API endpoint
- yq command line tool
- curl
git clone /~https://github.com/jmcdice/concourse-gpt.git
cd concourse-gpt
python3 -m venv .venv
source .venv/bin/activate
./scripts/install.sh
ConcourseGPT is intentionally written in Bash. Since Concourse pipeline authors regularly work with shell scripts and Bash-based tasks, this makes the codebase immediately accessible to the Concourse community. While other languages might offer different advantages, Bash keeps the barrier to entry low and aligns with the daily tools and skills of Concourse users.
Contributions are welcome! Please feel free to submit a Pull Request.