‹ BackHN Continuity

Thread

Agents don't need memory, they need documentation

364 points · 260 comments · kmeh

  1. bushido · · focus · HN ↗
    Something I started doing recently was writing out principles instead of memories.

    Essentially patterns the agents need to always think in. I also implemented a versioning system to the principles that need to be quoted in any comments which are there in the code. That way, when my principles evolve, so does the code.

    I did package it up in a way that I can share it with friends [0]. System still evolving, but the last two-ish months that I've used it has served me really, really well, And it's been even better with the latest models.

    I've had surprisingly good adherence from agents on this technique.

    [0] <a href="https:&#x2F;&#x2F;principledriven.dev&#x2F;" rel="nofollow">https:&#x2F;&#x2F;principledriven.dev&#x2F;

    1. PetriCasserole · · focus · HN ↗
      Timely comment! I&#x27;m learning harness design and was introduced to the concept of writing guiding principles. I look forward to trying it. (Great site. I agree with another comment. It does look commercial. Had I not been committed to looking for ways people define principles and rules, I might have skipped it. Glad I didn&#x27;t.)

      Do you have any resources that guided your work?

      1. bushido · · focus · HN ↗
        I have a few other projects which slowly evolved to this point, like <a href="https:&#x2F;&#x2F;github.com&#x2F;DheerG&#x2F;swarms" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;DheerG&#x2F;swarms

        A big part of it really comes to that I have led large product teams and platform engineering teams in the past, And I like giving feedback to my agents in the same way that I would plan things with my teams.

        One of which is give them repeatable mental models which allow them to make decisions without relying on managers or me. The result is usually that the teams can work for weeks-to-months with autonomy.

        I try achieving the same with my agents, so that they can work for 1-14 days without my intervention. I usually have them working on very very long running tasks&#x2F;initiatives.

        If you do want some resources, this is one of the pages that I&#x27;ve been using for nearly a decade to help people get started with mental models: <a href="https:&#x2F;&#x2F;fs.blog&#x2F;mental-models&#x2F;" rel="nofollow">https:&#x2F;&#x2F;fs.blog&#x2F;mental-models&#x2F;

Open on Hacker News to reply ↗

Unofficial Hacker News client; not affiliated with Y Combinator.