Yohei Profile picture
VC by day @untappedvc, builder by night: @babyagi_, @pippinlovesyou @pixelbeastsnft. Build-in-public log: https://t.co/UdHHGbZba5

Jul 31, 2023, 9 tweets

Introducing the "FOXY method" 🦊

Our new approach to self improving auto agents, introduced in the next mod of @babyagi_.

Dig in shall we? 👇

How it works:

With FOXY (Final Output eXamination from "Yesterday"), we do a final reflection on the output of each run, and use this to guide future runs, pulling most relevant reflection using a similarity search, paired with a decay mechanism to prioritize recent reflections.

Here's a simplified version of what this looks like.

In this example, we run the same objective twice. The second task list is improved based on notes from the final reflection of the first run.

We pull the most relevant past example(s) for this initial reflection, combined with a decay function to prioritize recent reflections.

Here's the code ChatGPT wrote for me, it seems to work - though I'm sure it can be improved.

Here's an actual example, using the same objective as above.

As you can see, in the first run, it creates a simple two step task list.

Note the "initial reflection" which is pretty basic, and refers mostly to which skills to use.

Here you see it successfully reading the file and making suggestions. Great.

Here's the "final reflection" from this first run.

Notice it mentions more specific suggestions, prioritizing suggestions, and providing explanations.

When we run the same objective again, you see the initial reflection looks very different (guided by the previous "final reflection")...

Resulting in a more comprehensive task list!

Early results show promise, though w/ room for improvement.

Many design choices to make, such as adding human feedback, number of examples to use, depth of reflection, speed of time decay, etc.

Still need to clean up code, will be included in the next @babyagi_ mod!

Share this Scrolly Tale with your friends.

A Scrolly Tale is a new way to read Twitter threads with a more visually immersive experience.
Discover more beautiful Scrolly Tales like this.

Keep scrolling