正在加载视频...

视频加载失败

255,006 次观看 • 4 个月前 •via X (Twitter)

42 条评论

Joseph Hurtado - Founder Granata Consulting 的头像
Joseph Hurtado - Founder Granata Consulting4 个月前

A way to spend all your tokens faster and give your money to OpenAI, Anthropic and friends.

Matthew Berman 的头像
Matthew Berman4 个月前

this is true

Elix 的头像
Elix4 个月前

How is this any different than just saying " double check your work and test it before finalizing"? I understand that loops are for specific cases, are "designed" for verification, but at the end of the day it's just the AI agent verifying its own work one way or any isn't it?

Matthew Berman 的头像
Matthew Berman4 个月前

you need a non-deterministic "loop" around the model to ensure it continues. it's not about double checking work, it's about checking against an end goal

Elix 的头像
Elix4 个月前

Yeah... Like you said that's the hard part, most of the time I don't even know how it's supposed to work. I've been working on my characters to make a line queue to use a water cooler.. sounds easy "just make sure they all form a line".. It's been 2 days😅

NeuralCat 的头像
NeuralCat4 个月前

In Codex or CC, is it feasible to have two loops running in parallel? One that analyzes output and gives feedback, raising the bar each iteration. The other that works towards the goals set by the first. Or better to design both inside one loop?

Matthew Berman 的头像
Matthew Berman4 个月前

good question. I suspect one loop per goal is the right way.

GooGZ AI 的头像
GooGZ AI4 个月前

This is a great summary. It’s surprisingly simple in concept (a trigger, and a goal) but the mechanism options (or even knowing how to define your goal) is where folk can get unstuck. Cheers.

Matthew Berman 的头像
Matthew Berman4 个月前

yeah it was a lot simpler than I thought. still not easy to design loops though.

GooGZ AI 的头像
GooGZ AI4 个月前

And the potential cost! The biggest elephant in the room…

Matthew Berman 的头像
Matthew Berman4 个月前

the cost goes exponential with loops

Duckets 的头像
Duckets4 个月前

/goal is the best loop

Matthew Berman 的头像
Matthew Berman4 个月前

/loop is the best loop

Jacob Beers 的头像
Jacob Beers4 个月前

I think this was a good video overall but I don't agree with the final speculation. Even in your scenario someone has to kick off the goal-oriented self-improving agent. There may not be someone sitting at a workstation directing it but that doesn't mean it isn't being pointed in a direction.

Matthew Berman 的头像
Matthew Berman4 个月前

someone might kick off the initial loop, but if no humans are needed after that, it's self-improving.

am.will 的头像
am.will4 个月前

@ThePrimeagen predicted this 😂

Ben Pielstick 的头像
Ben Pielstick4 个月前

Recursive self-improvement is when a model can design a better model. A model designing a workflow that uses models is nested, not recursive.

Diogo Veluza 的头像
Diogo Veluza4 个月前

Nice mat 🫡

stevefrenchfry 的头像
stevefrenchfry4 个月前

Thanks for the explanation

Prismor 的头像
Prismor4 个月前

thanks! a loop with immunity-agent is a dangerous combo:

Gordon McCreight 的头像
Gordon McCreight4 个月前

Your point about feature development having amorphous goals (at 3:30) resonated with me. I haven't gotten pure spec-driven development to work well for complex features, mainly because I don't know exactly how the feature should work until I prototype it and then iterate on it.

Alpha Batcher 的头像
Alpha Batcher4 个月前

i still didn't understand what is it loop

jibblitworld 的头像
jibblitworld4 个月前

What is the tool you are using in the video?

Gilson Melo 的头像
Gilson Melo4 个月前

Use Codex /goal with the product design plugin is another way to create a loop for a specific goal. Try that. I paused a /goal after 10 hours building a macOS app. Amazing results.

Naren 的头像
Naren4 个月前

How this diff from Ralph?

Buddy Williams 的头像
Buddy Williams4 个月前

Refine handles my loops.

Yusuf 的头像
Yusuf4 个月前

/goal

Hybrid 🏃🏾 的头像
Hybrid 🏃🏾4 个月前

Great video Matt

AR | Build Notes 的头像
AR | Build Notes4 个月前

Matthew, you are the one asking the right questions! That’s why I follow you.

ዛውዲ 的头像
ዛውዲ4 个月前

Bullshit on tokens becoming cheaper.

Chad Brewbaker 的头像
Chad Brewbaker4 个月前

It is a fixed point iteration, not a "loop". Some are P-COMPLETE so unless P == NC there is no faster way to do it.

SlowBlade 的头像
SlowBlade4 个月前

Just another reason why local AI will win.

Mo ShaRaf (sharaf.eth) 的头像
Mo ShaRaf (sharaf.eth)4 个月前

But if we used a local model that will have more frequent running loops to increase output quakity through iterations, the limitation won’t be tokens… it would be time to market

Mooo ಠ_ಠ 的头像
Mooo ಠ_ಠ4 个月前

thanks for always keeping us in the, ummm.., loop! :D

Me 的头像
Me4 个月前

Copilot Cli has done this for a while now. Just: /autopilot goal

Argin Gerigorian 的头像
Argin Gerigorian4 个月前

What page is that on Claude?

ዛውዲ 的头像
ዛውዲ4 个月前

What’s the point of the loop if the prompt contains the goal? Just produce the goal.

0xFastly 的头像
0xFastly4 个月前

Game changing tech. Great explainer!

Praveen Singh 的头像
Praveen Singh4 个月前

The way I understand it: a prompt is one instruction. a loop is a small operating system around the agent. It decides what context to load, what task to run, how to check the result, when to retry, when to stop, and what to report back. The hard part is not making the agent do more. It is giving it a repeatable way to know what "done" means.

MinisterOfDefenseSF 的头像
MinisterOfDefenseSF4 个月前

I swear some of the most basic shit in programming get you guys going. A basic programming concept and you're treating it like its rocket science.

Harsh Kasana 的头像
Harsh Kasana4 个月前

Ok so we have a new term that will replace vibe coding now.

Dinudsi 的头像
Dinudsi4 个月前

Thanks for this.

相关视频