AI Agent that updates its own rules to modify behavior
n8n template #4694Summary
Use templateVideo 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
- AI Personal Assistant18K
- Build an AI-Powered Tech Radar Advisor with SQL DB, RAG, and Routing Agents12K
- Explore n8n Nodes in a Visual Reference Library5,197
- AI-Powered MIS Agent437
- Scrape business leads from Google Maps using OpenAI and Google Sheets44K
- Automate Product Training & Customer Support via WhatsApp, GPT-4 & Google Sheets32K
- Telegram bot starter template setup & AI Agent Chatbot27K
- Conversational Interviews with AI Agents and n8n Forms27K