Keyflow

Search Keyflow

Find a shortcut, workflow, MCP server or skill

AI Agent that updates its own rules to modify behavior

n8n template #4694
Video walkthrough https://www.youtube.com/watch?v=OwIFK-r-NtQ Summary of agent This agent can write and rewrite its own rules, allowing you to mold its behavior. It receives rules from a database as system instructions and has tools to create, edit, or delete them. This is a great baseline for new agent builds. You can tell it things like "Next time, use present tense when talking about this subject" and it will use a tool to save this as a rule, then receive that instruction in all future iterations. How to start using it Option 1: With a Postgres database (e.g., Supabase) Supabase Schema: Create a table (e.g., agentrules) with the following columns: id: bigint (Primary Key, auto-incrementi

Hand off to your agent

Prompt

Help me set up the n8n workflow "AI Agent that updates its own rules to modify behavior" (https://n8n.io/workflows/4694). It uses: Google Sheets, Postgres, AI Agent, Anthropic Chat Model, Simple Memory. Import the template JSON into my n8n instance, list every credential I need to create, and walk me through testing it.

Paste into Claude Code and it will do the rest.

Apps and nodes

Similar workflows

NameViews
  1. AI Personal Assistant18K
  2. Build an AI-Powered Tech Radar Advisor with SQL DB, RAG, and Routing Agents12K
  3. Explore n8n Nodes in a Visual Reference Library5,197
  4. AI-Powered MIS Agent437
  5. Scrape business leads from Google Maps using OpenAI and Google Sheets44K
  6. Automate Product Training & Customer Support via WhatsApp, GPT-4 & Google Sheets32K
  7. Telegram bot starter template setup & AI Agent Chatbot27K
  8. Conversational Interviews with AI Agents and n8n Forms27K
Buy me a coffee