https://www.youtube.com/watch?v=OwIFK-r-NtQ
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.
agent_rules) with the following columns:
id: bigint (Primary Key, auto-incrementing)created_at: timestamp with time zone (Default: now())rule_text: textagent: textagent value (currently 'TestAgent') in the "Get rules from database" and "Insert rule into database" nodes if you want a different agent name.rule_text and agent.rule_text and agent columns) in all relevant Google Sheets nodes.agent value (currently 'TestAgent') in the Google Sheets nodes if you want a different agent name.