Agentic AI - Series 1
What is Agentic AI?
Agents are nothing but a software programs which can think and act autonomously. This is often called "ReAct" model.
Re - Reasoning.
Act - Acting based on that what they thought.
Reasoning is not as same as Thinking. Because, reasoning is a logical process of deriving a conclusion based on the ideas.
E.g.:
Let's say you want to drive to your friends place. Based on the previous experience you might think it takes 30 minutes to reach the friends place - This is called "Thinking".
Now, the same route to your friend is analyzed by some GPS applications like Google/Apple Map and it does logical analysis by evaluating the current traffic and other attributes and shows the best possible route which might show the ETA as 15 to 20 mins - This is called "Reasoning".
How does the Agent works?
Agents are build on top of the LLM (Large Language Models). Agents can use various tools like web scraping, web search and other activities to complete the work assigned to it.
Imagine a task given to a agent.
- Task is "Prepare a coffee with less sugar".
- Agent understand the task (Reasoning).
- Next, it plans on how to make coffee and the ingredients and tools involved.
- It uses the tools available to the agent like milk, coffee, sugar and vending machine.
- Finally, it serves the coffee as requested by the user.
- User tastes the coffee and shares his feedback stating "Sugar is bit high".
- Feedback is accepted by the agent and improves the planning phase on how much sugar to be added.
- This is called "Reinforcement" learning - A continuous feedback loop for learning and improving the agent capability.
Core components of an Agent:
- Role of an Agent.
- Backstory of an Agent.
- Goal of an Agent.
- Tools for the Agent.
- Stock advisor.
- Customer support representative.
- Health card advisor.
- Loan officer.
- System administrator.
- You are a experienced stock advisor who have 15+ years of experience in stock broking and funds. Through out the experience you have successful records of maintaining customer equity portfolios and stock recommendations based on the customer expectation.
- Stock advisor agent has been assigned a task to suggest 10 stocks for a beginner who is new to stock market with capital investment of 1 lakh who needs a decent ROI of 5% per year.
- Agent starts exploring the investment tools and financial data for which it has access to to find the stocks based on the user expectation.
- Tools can be internal or external based on the organization.
- Can be a simple web scraping of Yahoo finance data to individual companies PnL, upcoming projects to suggest better stocks.
How does agent performs the task?
This is core of agents. Agent highly rely of LLM (Large Language Model).
A Large Language Model (LLM) is a type of AI model trained on massive text datasets to:
- understand language
- generate text
- reason
- answer questions
- write code
- use tools
Examples of LLMs include:
- GPT‑4, GPT‑4o (from OpenAI)
- Claude (Anthropic)
- Gemini (Google)
- Llama 3 (Meta)
- Mistral (Mistral AI)
Comments
Post a Comment