Find answers from the community

Updated 3 months ago

Are agents really necessary? Because,

Are agents really necessary? Because, from what I've seen, I can do anything with just prompt engineering and normal api calls... or by doing it manually...

example; a RAG agent.

I can go to the vector store and use the right api calls to get the embeddings, nodes, AI api calls etc.

Agents seems useless and just a beautiful word to custom pipelines... can someone tell me the utility of them?
L
A
6 comments
agents automate decision making

Given some task, iterate until its done
Basically, just a while loop, and getting the LLM to call tools in the loop automatically

But, thats a long description, so "agents" it is
In the case of RAG, you might have many indexes, or want to automatically infer metadata filters or write sql queries, or you need to ask many sub-questions to answer the original query. This is all agentic stuff.

The general idea being you can hardcode every code-path for every query
I see your point. So, underneath the agents, it's just basic iteration and references to functions (or "tools") that will be called after the iterations, correct?
I fell like I lose control over my pipelines by using agents because almost all the logic is encapsulated and done. When it's the case of building my own agent, I just write simple api calls and pipelines to do something until it didn't reach the result I wanted
Thats exactly what an agent is for the most part πŸ˜…
Add a reply
Sign up and join the conversation on Discord