[HN Gopher] Agentic patters from scratch using Groq
___________________________________________________________________
Agentic patters from scratch using Groq
Author : mtrofficus
Score : 70 points
Date : 2024-09-30 10:58 UTC (2 days ago)
(HTM) web link (github.com)
(TXT) w3m dump (github.com)
| mtrofficus wrote:
| I wanted to share a GitHub repository I've started a couple of
| months ago where I'm implementing, from scratch, the 4 agentic
| patterns as defined by Andrew Ng: Reflection pattern, Tool
| pattern, Planning pattern and Multiagent pattern.
| tcdent wrote:
| You put more work into the README than you did the entire
| codebase.
| someoneontenet wrote:
| The readme was the most important part for me!
| mtrofficus wrote:
| glad you find it useful :)
| mtrofficus wrote:
| peace man xD I mean, I didn't want to make a new framework,
| just try to offer some educational value. But sure, the code
| needs a refactor! :)
| throwaway314155 wrote:
| Why Groq?
|
| edit: I'm dumb. Thought Groq was the Elon thing.
| talldayo wrote:
| If you're going to lock your POC into an abusive API
| partnership with a for-profit AI organization, you might as
| well do it in a Cadillac I guess.
| throwaway314155 wrote:
| CyberTruck*
| talldayo wrote:
| Apparently Elon's AI is "Grok" not "Groq"
|
| However, both are pseudointellectual names that implicate
| the owners as insecure nerds desperate for greater
| approval.
| makk wrote:
| Aren't they a reference to Heinlein? Seems "grok" is on
| point for what it does.
| mtrofficus wrote:
| That's from Groq documentation:
|
| "In fact, our name comes from the word "grok" which means
| the ability "to understand profoundly and intuitively.""
| mtrofficus wrote:
| hahahha wow, that's hard: "pseudointellectual names". I
| mean, didn't reflect about the naming. Just the fact that
| it offered a lot of LLMs for free xD
| mtrofficus wrote:
| I'm using Groq, not Grok xD
| mtrofficus wrote:
| They offer a lot of top LLMs for free. That's the reason why. I
| mean, I'm using llama3.1 fine tuned for tools completely free.
| That's the reasoning behind haha But you could choose any
| other. At first I was thinking about Ollama, but Groq came as a
| great choice.
| throwaway314155 wrote:
| Not going to lie, I definitely confused Groq for Grok here.
| NitpickLawyer wrote:
| Fast (suited for agents) and generous free tier (14k req/day
| for 70B models) would be my guess.
| mtrofficus wrote:
| Much better explained than my own comment xD
| joeblubaugh wrote:
| Is it me, or are the patterns somewhat tautological?
| MPSimmons wrote:
| I think the Tool Use is. It would be more accurate and
| enlightening if it were clear that there were a single agent
| making the decision on which tool to use, rather than making it
| look like you're calling one of four tool agents (or if you ARE
| calling four agents, then the discriminating agent in front of
| them is being left out).
| mtrofficus wrote:
| hey! I thought the diagram was clear, but I can see it's not.
| Thanks for the advise!! I'll try to change it so that it's
| clear we are using just one agent :)
| hu3 wrote:
| Amazing diagrams.
|
| Did you use https://excalidraw.com?
| mtrofficus wrote:
| yep!!
| racl101 wrote:
| That tool is the bees knees.
| mtrofficus wrote:
| 100% amazing
| asaph wrote:
| typo in title: "patters" should be "patterns".
| mtrofficus wrote:
| ups, you're right. Sorry for that.
___________________________________________________________________
(page generated 2024-10-02 23:00 UTC)