AI Agent Node Missing Inputs on Google Cloud VM (Works on Repocloud)
Issue Summary
My AI Agent node is not displaying the expected tool, chat, and memory inputs and looks different to what it should look like on self-hosted n8n instances running on Google Cloud VMs. The same workflow works perfectly on Repocloud.
Created multiple fresh VMs from scratch - same issue
Different Google Cloud regions - same issue
Latest n8n Docker image - same issue
Fresh installations with no data migration - same issue
Standard nginx reverse proxy setup - working for everything else
Verified networking - all other n8n functionality works
Specific Symptoms
Agent node shows red warning triangle
Missing inputs: No tool/chat/memory connection points visible
OpenAI Model node: Also shows red warning triangle
All other nodes: Work normally (webhooks, HTTP requests, triggers, etc.)
n8n interface: Loads and functions normally otherwise
Questions
Environment Variables: Are there specific environment variables required for AI Agent functionality that Repocloud sets automatically?
Memory Requirements: Does the Agent node require more memory than e2-medium provides? Repocloud might allocate more resources.
Google Cloud Restrictions: Could Google Cloud be blocking specific AI API endpoints that the Agent node requires?
Docker Configuration: Is there a specific Docker setup needed for AI features that’s different from standard n8n deployment?
Version Information
n8n Version: Latest (as of pulling n8nio/n8n:latest)
Docker Version: Latest
OS: Ubuntu 22.04 LTS on Google Cloud
Browser: Chrome (same browser works with Repocloud)
Additional Context
This is a very specific issue where only the AI Agent node fails while everything else works perfectly. The exact same workflow template works on Repocloud but fails on self-hosted Google Cloud instances.
I’ve been debugging this for an entire day and am stuck. Any insights into what might be different between Repocloud’s n8n setup and a standard Docker deployment would be greatly appreciated.
Has anyone successfully deployed AI Agent nodes on Google Cloud VMs? What configuration did you use?
Yeah it used to work without any configuration. I tried copy pasting it but it pastes as the same weird agent component. I tried importing from files, from urls, same issue. It’s very strange, tbh it doesn’t make any sense that everything else works except for this issue.
Yeah I know about digital ocean and other options. I have it running on repocloud. However, i’d like to understand what’s going on and fix it. I’m using a standard docker -Docker | n8n Docs- container on a debian VM instance on Google Cloud. (NOT using the GKE (Kubernetes) tutorial on n8n docs site).
I’m experiencing the exact same problem on a self-hosted n8n instance. Your description matches my situation perfectly!
My Environment Details
Platform: Self-hosted VPS (Ubuntu 22.04 LTS) VM Size: 8 vCPU, 32GB RAM (so memory isn’t the issue) Docker: Latest version with Docker Compose n8n: Version 1.94.1 (n8nio/n8n:latest) Database: PostgreSQL 15 (not SQLite)
Identical Symptoms
AI Agent node exists in node selector
n8n interface fully functional otherwise
Key Discovery: Timeline Issue
Most importantly: The AI Agent node worked initially with all inputs (tool/chat/memory) on the same n8n version, but the inputs disappeared after configuration changes during development. This suggests it’s not a version issue but a configuration/environment variable problem.
What I’ve Tried
Multiple Docker image pulls - same issue persists
Browser cache clearing and incognito mode - no change
Complete “clean reset” to minimal configuration - inputs still missing
Database analysis - found empty settings table (suspicious)
Version verification - confirmed n8n 1.94.1 supports AI Agent (requires 1.19.4+)
Environment Variables Theory
Based on the Repocloud vs self-hosted difference, I suspect Repocloud automatically sets environment variables that enable AI Agent inputs, such as:
I’m glad to know i’m not the only one having this issue, then this confirms this issue is not specific from my setup and deployment process. And yeah i’ve also tried starting from scratch and the issue persists. I agree on this:
Not a configuration issue (clean install)
Not data corruption (fresh database)
Not version compatibility (latest available)
It’s a very strange bug that could be worth some research. What other options are there? Is it a bug on n8n’s last version’s code? I might try deploying an older version so to check if that produces any different results.
After a LOT of tesitng xD I think the missing AI Agent inputs are caused by Content Security Policy blocking JavaScript features AI Agent needs. Try temporarily commenting out the Content-Security-Policy line, and test - if the inputs appear, that’s our culprit.
After that replace it with an AI-friendly CSP that allows inputs, and don’t break other security stuff xD
btw. Has anyone found other security settings that break n8n features in unexpected ways? What to look for?