The Robots are coming for your job, and that's okay - Elmer Thomas and Maria Bermudez

AI EngineerAbout 4 min readJun 4, 2025Watch original
THE SUMMARYAI-generated

Key Concepts:

  • AI Agents for Documentation
  • Automated Documentation Workflows
  • GPT-4.0 Model Customization
  • Hallucination Mitigation
  • Documentation Style Guide Enforcement
  • Accessibility (Alt Text Generation)
  • Jargon Simplification
  • SEO Metadata Generation
  • Continuous Improvement via Feedback Loops

1. Pain Points in Documentation Workflow:

  • Error-prone First Drafts: Over 100 product teams contribute drafts, leading to inconsistencies and errors.
  • Time-Sync Grooming: Style checks, alt text creation, and SEO optimization consume significant time.
  • Hallucination Risk: Letting AI run without controls can lead to inaccurate or fabricated information.

2. AI Agent Architecture:

  • Six Single-Purpose Agents: Instead of a single "megabot," the team built specialized agents for specific tasks.
  • Next.js Frontend: A simple user interface for interacting with the agents.
  • Automated Editor: Fixes grammar, formatting, and accuracy.
  • Image Alt Text Generator: Creates alt text for images to improve accessibility.
  • Jargon Simplifier: Translates technical jargon into plain English.
  • SEO Metadata Generator: Provides title and description suggestions, respecting character limits.
  • Docs Outline Builder: Recommends navigation and structure (coming soon).
  • Slack Backbot: Helps triage help channel requests.

3. Agent Workflow:

  • NexJS UI Input: User input is fed into the system through the Next.js interface.
  • Custom GPT-4.0 Agent: Uses the appropriate model for the specific task.
  • Style Guide and Rubric: The custom GPT is pre-loaded with the documentation style guide and rubric, retrieved from Airtable for easy collaboration.
  • Validation Layer: Includes Veil linting and CI/CD tests to ensure quality.
  • GitHub PR with Codeowner Review: Changes are submitted as a pull request, requiring review by code owners.
  • Human Approval: A human must review and approve the changes before merging.
  • Product and Engineering Reviews: Additional human eyes review the changes before merging.

4. Maria's Demo: Live Agent Walkthrough:

  • Copilot for Overview and Release Notes: Used to autogenerate overview and release notes pages.
  • Automated Editor Demo:
    • Can load MDX files or live URLs.
    • Uses the 01 model for consistent style guide application.
    • Displays a diff of changes made.
    • Provides explanations for each change, referencing the relevant style guide and rubric item.
  • SEO Metadata Generator Demo:
    • Generates meta titles and descriptions, accounting for character limitations.
  • Alt Text Generator Demo:
    • Generates alt text for multiple images simultaneously.
    • Conforms to the required format for the documentation platform.
  • Jargon Simplifier Demo:
    • Simplifies complex text into plain English.
    • Provides a diff view for easy comparison.
    • Offers revised text that can be copied and pasted into pull requests or directly edited.

5. Guard Rails for Quality:

  • Hallucination Mitigation:
    • Veil Linting
    • CI Tests
    • Human Stakeholder Review
  • Bias Mitigation:
    • Dataset Tests
    • Prompt Audits
  • Stakeholder Misalignment Mitigation:
    • Weekly PR Reviews (sometimes compressed to days or hours)
    • Slack Feedback Loops with Product Managers and Engineering Teams

6. Three-Step Playbook:

  1. Identify a Pain Point: Choose a problem that significantly impacts throughput.
  2. Pick a Repeatable Task: Select a single, rule-based task that can be automated.
  3. Loop with Users: Gather feedback weekly (at least) to ship, measure, and refine the agent.

7. Notable Quotes:

  • "The robots are coming for your job and that's okay" - Elmer Thomas (title, tongue-in-cheek)
  • "Pick tasks that are repeatable, high volume, and low creativity. That's the sweet spot for an AI helper." - Elmer Thomas

8. Technical Terms:

  • MDX: Markdown with JSX, a file format used for documentation.
  • GPT-4.0: A large language model from OpenAI.
  • Veil Linting: A tool for checking documentation for style and consistency.
  • CI/CD: Continuous Integration/Continuous Deployment, an automated process for building, testing, and deploying code.
  • SEO: Search Engine Optimization, the process of improving a website's visibility in search engine results.

9. Logical Connections:

The presentation flows logically from identifying the pain points in documentation to presenting the architecture of the AI agents, demonstrating their capabilities, and outlining the guard rails and processes for ensuring quality. The three-step playbook provides actionable advice for implementing similar solutions.

10. Synthesis/Conclusion:

The presentation demonstrates how AI can be used to augment, not replace, human effort in documentation workflows. By focusing on single-purpose agents, implementing robust validation processes, and maintaining continuous feedback loops, the Twilio docs team has successfully leveraged AI to improve efficiency and quality. The key takeaway is that AI should be viewed as a tool to enhance human capabilities, allowing teams to focus on higher-level tasks that require judgment and creativity.

AI summaries can miss context or contain errors. Check important details against the original video.

Go a little deeper.

Have a question about this video? Load its transcript to open the video chat.