{
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "name": "CTO Agent with Engineering Team",
  "nodes": [
    {
      "id": "engineering-chat-trigger",
      "name": "When chat message received",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        -2864,
        -576
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 1.1
    },
    {
      "id": "cto-agent",
      "name": "CTO Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -2640,
        -816
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 2.1
    },
    {
      "id": "engineering-think",
      "name": "Think",
      "type": "@n8n/n8n-nodes-langchain.toolThink",
      "position": [
        -2512,
        -496
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "software-architect-agent",
      "name": "Software Architect Agent",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        -2240,
        -96
      ],
      "parameters": {
        "text": "={{ $fromAI('Prompt__User_Message_', ``, 'string') }}",
        "options": {},
        "toolDescription": "call this AI Agent that specializes in system architecture, design patterns, technology stack decisions, and scalability planning"
      },
      "typeVersion": 2.2
    },
    {
      "id": "devops-agent",
      "name": "DevOps Engineer Agent",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        -1280,
        -704
      ],
      "parameters": {
        "text": "={{ $fromAI('Prompt__User_Message_', ``, 'string') }}",
        "options": {},
        "toolDescription": "call this AI Agent that specializes in CI/CD pipelines, infrastructure automation, containerization, and deployment strategies"
      },
      "typeVersion": 2.2
    },
    {
      "id": "security-agent",
      "name": "Security Engineer Agent",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        -1840,
        -304
      ],
      "parameters": {
        "text": "={{ $fromAI('Prompt__User_Message_', ``, 'string') }}",
        "options": {},
        "toolDescription": "call this AI Agent that specializes in application security, vulnerability assessments, secure coding practices, and compliance frameworks"
      },
      "typeVersion": 2.2
    },
    {
      "id": "qa-agent",
      "name": "QA Test Engineer Agent",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        -1328,
        -80
      ],
      "parameters": {
        "text": "={{ $fromAI('Prompt__User_Message_', ``, 'string') }}",
        "options": {},
        "toolDescription": "call this AI Agent that specializes in test automation, quality assurance strategies, test case design, and performance testing"
      },
      "typeVersion": 2.2
    },
    {
      "id": "backend-agent",
      "name": "Backend Developer Agent",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        -1744,
        -1024
      ],
      "parameters": {
        "text": "={{ $fromAI('Prompt__User_Message_', ``, 'string') }}",
        "options": {},
        "toolDescription": "call this AI Agent that specializes in server-side development, API design, database architecture, and microservices implementation"
      },
      "typeVersion": 2.2
    },
    {
      "id": "frontend-agent",
      "name": "Frontend Developer Agent",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        -1344,
        -1264
      ],
      "parameters": {
        "text": "={{ $fromAI('Prompt__User_Message_', ``, 'string') }}",
        "options": {},
        "toolDescription": "call this AI Agent that specializes in user interface development, responsive design, frontend frameworks, and user experience optimization"
      },
      "typeVersion": 2.2
    },
    {
      "id": "cto-model",
      "name": "OpenAI Chat Model CTO",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -2672,
        -496
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "o3",
          "cachedResultName": "o3"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "architect-model",
      "name": "OpenAI Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -2208,
        368
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "devops-model",
      "name": "OpenAI Chat Model2",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -1312,
        -496
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "security-model",
      "name": "OpenAI Chat Model3",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -1824,
        -144
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "qa-model",
      "name": "OpenAI Chat Model4",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -1328,
        96
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "backend-model",
      "name": "OpenAI Chat Model5",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -1776,
        -768
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "frontend-model",
      "name": "OpenAI Chat Model6",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -1312,
        -944
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "header-sticky",
      "name": "Sticky Note Header",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3808,
        -880
      ],
      "parameters": {
        "color": 5,
        "width": 580,
        "height": 320,
        "content": "=======================================\n        CTO AGENT WITH ENGINEERING TEAM\n=======================================\nFor any questions or support, please contact:\n    Yaron@nofluff.online\n\nExplore more tips and tutorials here:\n   - YouTube: https://www.youtube.com/@YaronBeen/videos\n   - LinkedIn: https://www.linkedin.com/in/yaronbeen/\n======================================="
      },
      "typeVersion": 1
    },
    {
      "id": "main-sticky",
      "name": "Sticky Note Main",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3808,
        -544
      ],
      "parameters": {
        "color": 5,
        "width": 740,
        "height": 2500,
        "content": "## \ud83e\udde0 **CTO AGENT WITH ENGINEERING TEAM - AI WORKFLOW**\n\n**\ud83d\udd25 Powered by OpenAI O3 & GPT-4.1-mini Multi-Agent System**\n\n#EngineeringAutomation #TechLeadership #n8nWorkflows #OpenAI #SoftwareDevelopment\n\n---\n\n### \ud83d\udcdd **Overview**\n\nThis multi-agent n8n automation simulates a complete engineering department. A strategic CTO agent receives your technical requests, analyzes engineering needs, and delegates to specialized agents for architecture, DevOps, security, QA, backend, and frontend development\u2014delivering comprehensive technical solutions instantly.\n\n---\n\n### \u2699\ufe0f **How It Works**\n\n1. **Chat trigger** receives engineering requests (e.g., \"Design a microservices architecture for e-commerce platform\")\n2. **CTO Agent** (O3) analyzes request and determines required engineering functions\n3. Delegates to specialist agents:\n   - Software Architect Agent\n   - DevOps Engineer Agent\n   - Security Engineer Agent\n   - QA Test Engineer Agent\n   - Backend Developer Agent\n   - Frontend Developer Agent\n4. Each agent uses **GPT-4.1-mini** for fast, focused execution\n5. Results compiled and returned via chat or integrated with development tools\n\n---\n\n### \ud83d\udc65 **Meet Your AI Engineering Team**\n\n| Agent | Purpose | Model | Output |\n|-------|---------|-------|--------|\n| \ud83e\udde0 **CTO Agent** | Technical strategy & team delegation | O3 | Central command |\n| \ud83c\udfd7\ufe0f **Software Architect** | System design, patterns, scalability | GPT-4.1-mini | Architecture docs |\n| \ud83d\ude80 **DevOps Engineer** | CI/CD, infrastructure, deployment | GPT-4.1-mini | Automation scripts |\n| \ud83d\udd12 **Security Engineer** | Security assessments, compliance | GPT-4.1-mini | Security guidelines |\n| \ud83e\uddea **QA Test Engineer** | Test automation, quality strategies | GPT-4.1-mini | Test frameworks |\n| \u2699\ufe0f **Backend Developer** | APIs, databases, microservices | GPT-4.1-mini | Server-side code |\n| \ud83c\udfa8 **Frontend Developer** | UI/UX, responsive design, frameworks | GPT-4.1-mini | Client-side code |\n\n---\n\n### \ud83d\udca1 **Use Cases**\n\n- **Full Stack Development**: End-to-end application architecture and implementation\n- **System Architecture**: Scalable designs for microservices, distributed systems\n- **DevOps Automation**: CI/CD pipelines, containerization, cloud deployment\n- **Security Audits**: Vulnerability assessments, secure coding practices\n- **Quality Assurance**: Test automation frameworks, performance testing\n- **Technical Documentation**: API docs, system diagrams, deployment guides\n\n---\n\n### \ud83d\udcb8 **Cost Optimization**\n\n- **O3 for CTO**: Strategic technical decisions only\n- **GPT-4.1-mini for specialists**: 90% cost reduction\n- **Parallel processing**: All agents work simultaneously\n- **Code template reuse**: Common patterns and frameworks\n\n---\n\n### \ud83c\udff7\ufe0f **Tags**\n\n#SoftwareEngineering #TechStack #DevOps #SecurityFirst #QualityAssurance\n#FullStackDevelopment #Microservices #CloudNative #TechLeadership #n8n\n#OpenAI #MultiAgentSystem #EngineeringExcellence #DevAutomation #TechInnovation"
      },
      "typeVersion": 1
    }
  ],
  "connections": {
    "Think": {
      "ai_tool": [
        [
          {
            "node": "CTO Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "Software Architect Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model2": {
      "ai_languageModel": [
        [
          {
            "node": "DevOps Engineer Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model3": {
      "ai_languageModel": [
        [
          {
            "node": "Security Engineer Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model4": {
      "ai_languageModel": [
        [
          {
            "node": "QA Test Engineer Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model5": {
      "ai_languageModel": [
        [
          {
            "node": "Backend Developer Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model6": {
      "ai_languageModel": [
        [
          {
            "node": "Frontend Developer Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "DevOps Engineer Agent": {
      "ai_tool": [
        [
          {
            "node": "CTO Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model CTO": {
      "ai_languageModel": [
        [
          {
            "node": "CTO Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "QA Test Engineer Agent": {
      "ai_tool": [
        [
          {
            "node": "CTO Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Backend Developer Agent": {
      "ai_tool": [
        [
          {
            "node": "CTO Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Security Engineer Agent": {
      "ai_tool": [
        [
          {
            "node": "CTO Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Frontend Developer Agent": {
      "ai_tool": [
        [
          {
            "node": "CTO Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Software Architect Agent": {
      "ai_tool": [
        [
          {
            "node": "CTO Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "When chat message received": {
      "main": [
        [
          {
            "node": "CTO Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}