akshay_pachaar Profile Banner
Akshay πŸš€ Profile
Akshay πŸš€

@akshay_pachaar

Followers
213K
Following
21K
Media
4K
Statuses
18K

Simplifying LLMs, AI Agents, RAGs and Machine Learning for you! β€’ Co-founder @dailydoseofds_β€’ BITS Pilani β€’ 3 Patents β€’ ex-AI Engineer @ LightningAI

Learn AI Engineering πŸ‘‰
Joined July 2012
Don't wanna be here? Send us removal request.
@akshay_pachaar
Akshay πŸš€
2 years
My lecture at MIT!✨. From Physics to Linear Algebra & Machine learning, I have learned a lot from MIT!. Yesterday, I had the honour of delivering a guest lecture on The state of AI Engineering, exploring:. - Prompt Engineering.- Retrieval Augmented Generation. - Fine-Tuning
Tweet media one
99
353
3K
@akshay_pachaar
Akshay πŸš€
18 hours
If you found it insightful, reshare with your network. Find me β†’ @akshay_pachaar βœ”οΈ.For more insights and tutorials on LLMs, AI Agents, and Machine Learning!.
@akshay_pachaar
Akshay πŸš€
18 hours
Agent2Agent Protocol, clearly explained (with code example):.
1
0
10
@akshay_pachaar
Akshay πŸš€
18 hours
So, that's how you can build and deploy your own Agent network using A2A protocol. To recap:.- MCP connects agents to external tools.- A2A enables agent to agent collaboration. I hope you enjoyed this tutorial! πŸ₯‚
2
2
13
@akshay_pachaar
Akshay πŸš€
18 hours
For didactic purpose we've kept these agents very simple but they can be anything your want. Below, we send another query and again get the correct output. Check thisπŸ‘‡
Tweet media one
2
0
5
@akshay_pachaar
Akshay πŸš€
18 hours
Querying the agent network. With that, we can send a query to our network and see if it is being routed to the appropriate Agent. Below, we have a query to compute the Tangent, and our router directed it correctly. Check this codeπŸ‘‡
Tweet media one
1
0
5
@akshay_pachaar
Akshay πŸš€
18 hours
Next comes, client-side Agent integration. Now that Agents have been hosted and deployed, a client can integrate them into their existing applications. We also add a router to intelligently direct queries. Here's how we do it πŸ‘‡
Tweet media one
1
0
5
@akshay_pachaar
Akshay πŸš€
18 hours
And finally, build and deploy the third agent, a Tangent Agent. Here's the full codeπŸ‘‡
Tweet media one
1
0
8
@akshay_pachaar
Akshay πŸš€
18 hours
Similarly we'll build and deploy Cosine Agent. Here's the full codeπŸ‘‡
Tweet media one
1
0
8
@akshay_pachaar
Akshay πŸš€
18 hours
Deploying the agent. Finally, in the main body of the agent, we deploy the Agent:. Check this codeπŸ‘‡
Tweet media one
1
0
7
@akshay_pachaar
Akshay πŸš€
18 hours
Handling tasks. An Agent can have multiple skills. Thus, a handle_task method accepts the input task, uses the available skills, and returns the output. In our case, we simply invoke the Sine skill method after parsing the input. Check this codeπŸ‘‡
Tweet media one
1
0
5
@akshay_pachaar
Akshay πŸš€
18 hours
Adding skills to the Agents. Each Agent has some skills that it can expose to other Agents. So the class must declare a method with the skill decorator. For instance, a skill of our SineAgent is that it can compute the Sine of a number. Here's how we do it πŸ‘‡
Tweet media one
1
0
7
@akshay_pachaar
Akshay πŸš€
18 hours
Let's start by learning how to serve an Agent. - Create an Agent class that inherits from A2AServer. - Decorate the class with the agent decorator, specifying the agent's name, description, and version. Check this outπŸ‘‡
Tweet media one
1
0
10
@akshay_pachaar
Akshay πŸš€
18 hours
Before we code, some key concepts to understand:. 1. Agent Server: Hosts individual agents.2. Client Agent: Connects to multiple servers.3. Router: Routes queries to right agent. And here's what we'll do:.- Server 3 agents.- Build a client.- and a router
1
0
10
@akshay_pachaar
Akshay πŸš€
18 hours
How does A2A fit with MCP?. Agentic apps need both:.- MCP connects agents to external tools.- A2A enables agent to agent collaboration. Visual below shows A2A and MCP collaboration. We've covered MCP before; today we'll focus on a hands-on A2A example.
1
0
22
@akshay_pachaar
Akshay πŸš€
18 hours
What is A2A?. A2A (Agent2Agent) enables multiple AI agents to work together on tasks without directly sharing their internal memory, thoughts, or tools. Instead, they communicate by exchanging context, task updates, instructions, and data.
1
0
22
@akshay_pachaar
Akshay πŸš€
18 hours
Before diving in, here's what we'll do:. - Understand A2A in simple terms. - Briefly compare A2A and MCP.- Next, we'll build three Agents and serve them locally. - Finally, we'll talk to them via the Agent2Agent protocol by Google. Let's dive in! πŸš€
2
5
42
@akshay_pachaar
Akshay πŸš€
18 hours
Agent2Agent Protocol, clearly explained (with code example):.
10
73
622
@akshay_pachaar
Akshay πŸš€
24 hours
7 MCP projects for AI Engineers:. (with video tutorials)
Tweet media one
@akshay_pachaar
Akshay πŸš€
2 days
7 MCP projects for AI Engineers (with video tutorials):.
4
125
863
@akshay_pachaar
Akshay πŸš€
2 days
If you found it insightful, reshare with your network. Find me β†’ @akshay_pachaar βœ”οΈ.For more insights and tutorials on LLMs, AI Agents, and Machine Learning!.
@akshay_pachaar
Akshay πŸš€
2 days
7 MCP projects for AI Engineers (with video tutorials):.
2
1
8
@akshay_pachaar
Akshay πŸš€
2 days
This graphic summarises all the projects covered here. You can also watch them in my YouTube playlist:.
Tweet media one
2
1
22
@akshay_pachaar
Akshay πŸš€
2 days
7️⃣ MCP-powered deep researcher. ChatGPT has a deep research feature. It helps you get detailed insights on any topic. Learn how you can build a 100% local alternative to it. Full walkthrough:.
1
2
16