Why Agent Frameworks Will Fail (and what to use instead)

  Рет қаралды 6,828

Dave Ebbelaar

Dave Ebbelaar

5 күн бұрын

Want to get started with freelancing? Let me help: www.datalumina.com/data-freel...
Need help with a project? Work with me: www.datalumina.com/consulting
You probably don't need an agent framework to solve your automation problem. In this video, I'll cover my approach.
👋🏻 About Me
Hi there! I'm Dave, an AI Engineer and the founder of Datalumina. On this channel, I share practical coding tutorials to help you become better at building intelligent systems. If you're interested in that, consider subscribing!

Пікірлер: 31
@alvandal
@alvandal 10 сағат бұрын
Great video, I am not big on KZbin, but this is the first time I see someone really understanding the current state of the tech.
@istvandarvas3372
@istvandarvas3372 3 күн бұрын
I mostly agree with everything. But there are two kinds of pipelines. The first one is when you have a finite amount of transformations, and the second one is when you don't know all the transformations in advance and need to delegate decision-making (in this case, you need an agentic approach). However, every pipeline can be represented as a finite transformation when you know it. for example classification. and t that is the key. So, if your pipeline is research-like, then you can't know it in advance; in other cases, you can.
@matterhart
@matterhart 2 күн бұрын
I like this distinction. I build UI heavy pipelines with a lot of human input where there's a ton of variability/decision-making in both the E and the T, and only the L is known in advance.
@daveebbelaar
@daveebbelaar 2 күн бұрын
Good point. In those cases, agentic workflows make perfect sense.
@ShpanMan
@ShpanMan 20 сағат бұрын
@@daveebbelaar So you admit your title is extremely silly.
@EmilioGagliardi
@EmilioGagliardi 3 күн бұрын
Interesting. Working on a CrewAI project atm and I found I was using a DAG approach to tasks because of my experience with Kedro. One task, one transformation, one output and keep working sequentially. In a nutshell, you're describing Kedro's approach and philosophy. Its just not fine-tuned for generative AI use cases yet. What I've found with multi agent apps is that I end up building tools that do all the heavy lifting and the agent Is used to generate a piece of data (like a query string) used in subsequent processing. The challenge is building guardrails to prevent an agent from going off the reservation when something doesn't work. If you give an agent access to a tool as simple as a search tool, if it gets stuck, it could end up calling the tool in a loop and there goes your credits. So we're still having to treat agents like toddlers... would be interesting to see your take on kedro.
@hailrider8188
@hailrider8188 Күн бұрын
Cyclical/recursive algorithms are needed for many problems which in part, is what agentic frameworks attempt solve. Your sequential processing only paradigm is applicable only to certain problems.
@micbab-vg2mu
@micbab-vg2mu 3 күн бұрын
Great video - thank you for sharing:)
@LuisBorges0
@LuisBorges0 Күн бұрын
AutoGen and CrewAI I think are more experiments than anything else. I use Python as a Maestro... then some AI, when I need it's generative abilities, some playwright when I need web automation... but business run on logic not in a democratic way and not in a creative way. They incorporate creativity in some steps but that's just that. A procedure is the only way to go since ever or else we'll have unpredictability that goes against efficiency and bad for processes in business, in factories, and would make it impossible to have any type of Quality Control.
@michaelirey
@michaelirey 2 күн бұрын
While your critique of agent frameworks is spot on and compelling, it seems there's a misconception about their potential. Your custom system resembles langchain+langgraph, highlighting a need for deeper understanding before dismissing existing frameworks.
@JohnDoe-m6s
@JohnDoe-m6s 2 күн бұрын
@13:33 Please create an in-depth video on these concepts using the example that you are showing in this video !
@Crates-Media
@Crates-Media 10 сағат бұрын
Here's something you can help me understand, as an intermediate-level coder learning all of the nuances of AI/ML and their applcations. You're extolling the value of the directed acyclic graph approach towards data processing pipelines, to avoid sending data to earlier stages. As a fan of idempotency and functional programming, I _think_ that I somewhat understand where you're coming from in your premise. But in my studies of models, I'm also seeing a lot of buzz around the differentiation between methodologies of KANs vs MLPs. My question is this: wouldn't there be some value in using information uncovered later in the pipeline to refine what you're doing earlier on? For instance, let's say you're entertaining guests, and planning to serve appetizers. A very early step might be purchasing ingredients. Later on, you realize that not all of the guests show up. If we're just going to keep moving forward, we make more appetizers than are needed. The alternative: when less guests show up or RSVP, instead of making as many apps as your ingredients/plans dictate, you make less. Now you have less appetizers and you store or freeze the ingredients you didn't use. You _could_ make them, and freeze the unused portions. But by sending the information collected later back to an earlier step, you instead have the raw ingredients to use in other recipes instead. This is a really lousy and forced metaphor, but it's all I could come up with off the top of my head. It just seems like there's value in the concept. On a different level, isn't this just sort of a form of backpropagation? The ability to reinform earlier calculations with the results of later ones?
@Rusputin-eo6tv
@Rusputin-eo6tv 3 күн бұрын
framework in the end is just how you organize your code.
@mtrifiro
@mtrifiro Күн бұрын
Thank you for putting into words exactly what I had been feeling when trying these agent tools.
@ShpanMan
@ShpanMan 20 сағат бұрын
You are just looking for reasons why your career is not ending 🤣 Just accept it and be thankful AI will do all the work for us in a few years.
@mikekidder
@mikekidder 3 күн бұрын
state machines, state machines, state machines...
@scottc8274
@scottc8274 2 күн бұрын
I think this is fair, for linear data flows and data transforms simplicity is best but for complex, multiphase transactional goals which contain conditional variables which could change during the flow you need a controller/manager which can identify and respond to these state changes. In addition ideally an orchestration agent wouldn't be bound to a set of pre agreed agents/services/API s but would be constantly optimising its flow - searching out better ways to reach its outcome. A solid Agentic framework should be able to switch between and explicit and discoverable transformation approach hopefully..
@Bartskol
@Bartskol 2 күн бұрын
This is exactly what i needed.
@333SFx
@333SFx Күн бұрын
Langgraph
@toi500
@toi500 3 күн бұрын
One of the worst videos I've seen this year. You ignored a very capable framework like LangGraph. Also, the fact you did not talk about hierarchical or sequential agent workflows and you ONLY focused in the multi-agent ones to present us "your case" is not serious. In any event, even a simple multi-agent graph can achieve a 100% success rate in resolving tickets. You don't need to hardcode all those steps at all.
@jasonsuarez6439
@jasonsuarez6439 3 күн бұрын
I thought the same starting the video but I ended up appreciating the effort to take a step back to first principles. It's refreshing and at least make us think about choosing a framework. If he was really dishonest, I could have talked about the biggest problem of those agentic frameworks... latency at scale
@daveebbelaar
@daveebbelaar 2 күн бұрын
I might be too ignorant here, but I haven't seen any of those frameworks implemented in production yet. I'm aware that I just scratched the surface here and that there are indeed many different agent workflows. My point is not to discard all of them but rather to mention that, based on my experience, for most business automation problems, building your own pipeline from scratch is typically better. What's your experience with agent frameworks, and do you have a good production-ready use case? I'd love to learn more about this because I really want to like them!
@ShpanMan
@ShpanMan 20 сағат бұрын
@@daveebbelaar Not a single person thinks Agents are ready for production. It's an early implementation prototype that gets better and better with each new AI model that comes out. In a few years it will crush any human and send you to retirement (in a good way).
@opensky1710
@opensky1710 19 сағат бұрын
My problem is having hard time to find girl friends.
@denisblack9897
@denisblack9897 3 күн бұрын
Another day - another wave of similar videos… I did not get this agents bullshit from the start(felt like data gathering scams to me), cuz i was chaining prompts when chatgpt came out. You gonna chain prompts manually if you are building something more than a useless demo.
@mrprogamer896
@mrprogamer896 3 күн бұрын
could you explain more about "chaining prompts manually"? Everything about agents seems confusing to me tbh.
@ali-om4uv
@ali-om4uv 3 күн бұрын
Really cool idea!! You need to get rid of your erat8c teaching style tho. Especially with respect to quickly showing pictures jump g to Code etc.... Anyhow.... I would love to See the full fledged videos!!
@daveebbelaar
@daveebbelaar 2 күн бұрын
Thank you for the tip! Normally, my tutorials are structured and step-by-step. However, this one was not intended to be like that. But it's good to know! I will most likely publish a video on this approach in the near future.
@SiyaNtombela
@SiyaNtombela 2 күн бұрын
Such a weird take
I wish every AI Engineer could watch this.
33:49
1littlecoder
Рет қаралды 58 М.
I can't believe this is real
11:54
Theo - t3․gg
Рет қаралды 106 М.
I’m just a kid 🥹🥰 LeoNata family #shorts
00:12
LeoNata Family
Рет қаралды 18 МЛН
БОЛЬШОЙ ПЕТУШОК #shorts
00:21
Паша Осадчий
Рет қаралды 6 МЛН
Василиса наняла личного массажиста 😂 #shorts
00:22
Денис Кукояка
Рет қаралды 9 МЛН
DO YOU HAVE FRIENDS LIKE THIS?
00:17
dednahype
Рет қаралды 32 МЛН
Why I stopped using Jupyter Notebooks
11:17
Dave Ebbelaar
Рет қаралды 6 М.
How to Find Freelance Data & AI Projects in 2024
23:19
Dave Ebbelaar
Рет қаралды 9 М.
Have You Picked the Wrong AI Agent Framework?
13:10
Matt Williams
Рет қаралды 45 М.
15 INSANE Use Cases for NEW Claude Sonnet 3.5! (Outperforms GPT-4o)
28:54
Official PyTorch Documentary: Powering the AI Revolution
35:53
Claude 3.5 Sonnet vs GPT-4o: Side-by-Side Tests
25:10
Patrick Storm
Рет қаралды 30 М.
How I'd Learn AI in 2024 (if I could start over)
17:55
Dave Ebbelaar
Рет қаралды 835 М.
How Cohere will improve AI Reasoning this year
1:00:23
Machine Learning Street Talk
Рет қаралды 11 М.
Best mobile of all time💥🗿 [Troll Face]
0:24
Special SHNTY 2.0
Рет қаралды 1,1 МЛН
Asus  VivoBook Винда за 8 часов!
1:00
Sergey Delaisy
Рет қаралды 1,1 МЛН