Agentic Workflows Book

A living book about agentic workflows, agent orchestration, and agentic scaffolding

View the Project on GitHub arivero/agentbook

Setup Instructions

This document explains how to enable the self-maintaining features of this book.

GitHub Pages Setup

  1. Go to your repository Settings
  2. Navigate to “Pages” section
  3. Under “Source”, select:
    • Source: GitHub Actions
  4. The site will be available at: https://<username>.github.io/<repository>

Required Secrets and Permissions

Repository Permissions

Ensure the following permissions are enabled in Settings → Actions → General:

For the main branch:

Workflows Overview

1. Deploy to GitHub Pages (pages.yml)

2. Build PDF (build-pdf.yml)

3. Process Issue Suggestions (GH-AW workflows)

Labels

The following labels are used by the automated workflows:

Testing the Setup

Test GitHub Pages Deployment

  1. Make a change to any markdown file
  2. Commit and push to main branch
  3. Check the “Actions” tab for workflow progress
  4. Visit your GitHub Pages URL after deployment

Test PDF Generation

  1. Make a change to any file in book/chapters/
  2. Commit and push to main branch
  3. Check the “Actions” tab
  4. Download the PDF artifact from the workflow run

Test Issue Processing

  1. Create a new issue with content related to agentic workflows
  2. The workflow should automatically:
    • Add labels
    • Post a welcome comment
    • Determine relevance
  3. Check the issue for automated responses

Manual Workflow Triggers

All workflows support manual triggering:

  1. Go to “Actions” tab
  2. Select the workflow
  3. Click “Run workflow”
  4. Choose the branch (usually main)
  5. Click “Run workflow” button

Local Development

Prerequisites

Setup

# Install dependencies
bundle install

# Serve locally
bundle exec jekyll serve

# View at http://localhost:4000

Building PDF Locally

Requires Pandoc and LaTeX:

# Install dependencies (Ubuntu/Debian)
sudo apt-get install pandoc texlive-latex-base texlive-fonts-recommended texlive-latex-extra

# Generate PDF
cat book/README.md book/chapters/*.md > combined.md
pandoc combined.md -o book.pdf --pdf-engine=xelatex --toc --number-sections

Troubleshooting

Pages not deploying

PDF generation failing

Issue processing not working

Further Customization

Adding New Sections

  1. Create a markdown file in book/chapters/
  2. Update book/index.md table of contents
  3. Update the PDF build workflow to include the new section

Modifying Issue Templates

Edit .github/ISSUE_TEMPLATE/suggestion.yml to customize the suggestion form.

Customizing Jekyll Theme

Modify _config.yml and _layouts/ to change the appearance.

Support

For issues or questions: