Building GenAI Agents - The approach
I've been playing around with building GenAI agents using low code / no code tools as I believe very strongly that agents are what will make GenAI widely usable. Currently these are simple productivity hacks as I get familiar with the concept and test the limits of the current technologies.
I have 2 main tools I use for building agents - www.anyquest.ai and www.clay.com . I know there are quite a few others (CustomGPTs , copy.ai , relevanceai.com , respell.ai , floqer.com etc.).
Building GenAI agents is a new way of doing things and having savvy business users leveraging low code / no code tools requires some best practices. I have built an approach based on my experience that I wanted to share.
But before I get into that, currently there are 3 choices when it comes to agents -
While there is no right or wrong approach, I find this visual on the trade offs of skill, cost and flexibility as useful to pick the right tool.
My focus is on an approach that a savvy business user can use to build an agent using a low code / no code tool.
I use a 6 step process to build an agent -
Now that we have the theory behind us, let us apply this to 2 practical examples -
2. Given a job title, job description and company name generate the possible title of a hiring manager at the company and identify a few possible profiles that fit the hiring manager - I work for a hiring agency and I know an open job at a company and if I know the hiring manager (couple possibilities) I could reach out to them with a service to find them a candidate.
领英推荐
In the first example (podcast summarizer), all tasks are generative with no integration. I could add an integration step, read a list of podcasts from a Google Sheet and then call the agent, but I decided to keep it simple. I am happy to manually feed it a podcast URL (you can see how the human doing the integration vs the agent works in this example).
In the second example, there is some integration required to LinkedIn as I need to take some titles and then search LinkedIn for possible matches. I could try doing this with a web search but a LinkedIn search will be more accurate.
Here is what I get when I ask ChatGPT about it's capability of doing the task.
In summary, while I am highly capable in both tasks, a human might be better at determining hiring manager titles due to their contextual knowledge, whereas I can effectively and efficiently summarize podcast transcripts and identify key themes and quotes.
When asked to elaborate on the hiring manager agent this is what it came back with -
Conclusion: A human HR professional would generally be better at this task due to their contextual knowledge and ability to interpret subtle nuances in job descriptions and company-specific titles. However, I can still provide a good starting point and handle tasks at scale more efficiently.
Right off the bat I've figured out that it does not make sense to try and build an agent for finding a hiring manager from a job title, while it makes a lot of sense to build a summarize podcast agent.
In terms of coming up with the prompt. I started off by giving it the podcast and asking it to summarize it. I then realized that the output was very generic. So I added a persona and some context. Then I asked it to list out the 8 areas it would summarize the podcast. Then I asked it to generate a summary based on those 8 themes. After these iterations, I was happy with the prompt I had.
Then I configured the agent. I used AnyQuest.ai for this as it has an Assistant functionality (basically ChatGPT + Web Search, similar to Perplexity.ai ) inbuilt (so I don't have to jump between ChatGPT and an Agent Builder) and then I can right from there switch to the Agent interface. So I stay in one tool. There are other examples where I find Clay.com 's breadth of integrations more useful.
You can see what I created here - https://www.dhirubhai.net/pulse/genai-productivity-podcast-summarizer-vikram-ekambaram-ti3me
I know everyone talks about prompt engineering being the big new role in the world of GenAI but I also see the need for Agent Builders in the future. Taking an analogy from the data world, there was the need for SQL Programmers and then there was the need for Tableau authors (savvy business users) who could do their own analysis with no code/low code tools.
Product Management Leader | Player Coach | Speaker | Applied A.I | Modern Data Platforms | A.I Governance
4 个月Nice one Vik. Databricks recently released Mosiac AI with integrated AI tools ( that are very similar to Langchain python tools) integrated into the user flow. For second or third order models perhaps it maybe okay for anyone to set an agentic goal - for example a goal maybe - minimize my time on my calendar spent in status meetings where I don’t directly report in. Another agent may have a related goal such as — “ summarize these status meeting notes and sent me a status email with a daily reminder to read them” these two agents can work independently or even in some cases together toward a broader goal of - “decrease meeting time by 20% this quarter”. Eventually, the hope is agents will build more agents for a more generalized goal oriented multi agent system. Enjoying following your experiments. Thanks for sharing.