Загрузка видео...

Не удалось загрузить видео

На главную

wtf is a loop?

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.

Похожие видео