seo_blog.json


Overview

The seo_blog.json file defines a comprehensive SEO Blog Generation Workflow designed to automatically produce SEO-optimized blog articles from minimal user input. It encapsulates a multi-agent system that interprets user requests, generates structured blog outlines, writes content section-by-section, and performs final editorial polishing to ensure quality and SEO effectiveness.

This workflow enables users without writing expertise to generate professional-quality blog posts by simply providing a topic, target audience, and blog goals. The system orchestrates a sequence of specialized agents, each responsible for a distinct stage of blog creation, leveraging large language models (LLMs) and search tools to enhance content relevance and SEO alignment.


Detailed Components

The core of this file is the DSL (Domain Specific Language) definition of interconnected components (agents and messages), their configurations, and the workflow graph connecting them.

Key Agents and Their Roles


1. Agent:ClearRabbitsScream — Parse and Keyword Agent

Purpose:
Interprets the user's blog writing request to extract the writing intent and generate a keyword strategy.

Functionality:

Parameters:

Input:

Output:

Usage Example:

If the user inputs:
"How to get more Google traffic using AI"

The agent might output:

## Writing Type
How-to

## Target Audience
SEO marketers

## User Intent Summary
Guide readers on applying AI for SEO growth

## Suggested Long-tail Keywords
- AI for SEO traffic
- Google SEO tips with AI
- Increase Google traffic using AI

Notes:
This agent does not write blog content but only prepares a structured brief.


2. Agent:BetterSitesSend — Outline Agent

Purpose:
Generates a clear, SEO-optimized blog outline based on the parsed intent and keywords.

Functionality:

Parameters:

Input:

Output:

Usage Example:

Given the parsed intent and keywords, the agent might output:

## Blog Title (suggested)
How to Boost Google Traffic Using AI: A Step-by-Step Guide

## Outline

### Introduction
- Purpose of the article
- Brief context
- **Suggested keywords**: [AI for SEO, Google traffic growth]

### H2: Understanding AI in SEO
- Overview of AI applications in SEO
- **Suggested keywords**: [AI SEO tools, AI for search ranking]

### H2: Strategies to Increase Traffic
- Step-by-step tactics integrating AI
- **Suggested keywords**: [AI content optimization, Google SEO tips]

### Conclusion
- Recap key takeaways
- Optional CTA
- **Suggested keywords**: [increase Google traffic]

3. Agent:EagerNailsRemain — Body Agent

Purpose:
Writes the full blog content section-by-section based on the outline and keywords.

Functionality:

Parameters:

Input:

Output:

Usage Example:

For the section "Understanding AI in SEO," it generates:

## H2: Understanding AI in SEO

Artificial intelligence (AI) has revolutionized the way SEO professionals approach search engine optimization. By leveraging AI-powered tools, marketers can analyze data patterns, predict trends, and optimize content more effectively than ever before...

[Content continues, naturally embedding keywords such as "AI SEO tools" and "AI for search ranking."]

4. Agent:LovelyHeadsOwn — Editor Agent

Purpose:
Finalizes the blog post to ensure readability, coherence, and SEO effectiveness.

Functionality:

Parameters:

Input:

Output:


5. Message:LegalBeansBet — Final Output Message

Purpose:
Contains the final polished blog content to be delivered to the user or downstream system.


6. begin — Entry Point

Purpose:
Initial node in the workflow that starts the conversational interaction with the user.

Functionality:


Supporting Tools


Workflow Overview and Interactions

The workflow progresses through the following stages:

  1. User Input Collection (begin)
    Initiates the conversation and receives minimal user input.

  2. Parsing and Keyword Extraction (Agent:ClearRabbitsScream)
    Understands user intent, writing type, audience, and generates keyword suggestions.

  3. Outline Generation (Agent:BetterSitesSend)
    Creates a structured blog outline based on the parsed brief.

  4. Content Writing (Agent:EagerNailsRemain)
    Generates detailed, SEO-optimized content for each blog section.

  5. Editing and Polishing (Agent:LovelyHeadsOwn)
    Finalizes the blog for clarity, SEO, and style.

  6. Output Delivery (Message:LegalBeansBet)
    Provides the final blog content for use outside the workflow.

Each agent uses output from its upstream agent(s) as input, forming a linear pipeline with optional tool calls for external data enrichment. The flow is strictly controlled with retries and error handling parameters to ensure robustness.


Important Implementation Details


Interaction With System/Application


Visual Diagram: Workflow Flowchart

flowchart LR
    Begin("Begin\n(User Input)")
    ParseKW("Parse and Keyword Agent\n(Interpret User Intent + Keywords)")
    Outline("Outline Agent\n(Create Blog Structure)")
    Body("Body Agent\n(Write Section Content)")
    Editor("Editor Agent\n(Finalize and Polish)")
    Message("Output Message\n(Final Blog Content)")
    TavilySearch1("Tavily Search\n(Support for Outline Agent)")
    TavilySearch2("Tavily Search\n(Support for Body Agent)")

    Begin --> ParseKW
    ParseKW --> Outline
    Outline --> TavilySearch1
    TavilySearch1 -.-> Outline
    Outline --> Body
    Body --> TavilySearch2
    TavilySearch2 -.-> Body
    Body --> Editor
    Editor --> Message

Summary of Agents and Their Parameters

Agent Name

Role

LLM Temperature

Max Rounds

Key Feature

Parse and Keyword

Parse user intent & keywords

0.2

1

Extracts intent, audience, keywords

Outline

Generate blog outline

0.5

3

Structured headings + SEO keywords

Body

Write blog content

0.2

5

Section-by-section content writing

Editor

Polish and SEO audit

0.2

5

Final editing & SEO optimization


Usage Scenario Example

  1. User initiates the workflow by entering:
    "I want a how-to guide on improving Google SEO using AI for marketing managers."

  2. The Parse and Keyword Agent extracts:

    • Writing Type: How-to

    • Target Audience: Marketing managers

    • Intent: Guide on improving Google SEO with AI

    • Keywords: AI SEO tools, Google SEO tips, AI marketing strategies

  3. The Outline Agent creates a structured blog outline with appropriate headings and assigns keywords.

  4. The Body Agent writes detailed paragraphs for each section, embedding keywords naturally.

  5. The Editor Agent refines the content for clarity, flow, and SEO best practices.

  6. The final polished blog post is output and ready for publication or export.


End of Documentation for seo_blog.json