Tuesday, April 7, 2026

๐Ÿš€ Agentic Framework 1.0 in .NET: The Power Combo of Semantic Kernel + AutoGen

The AI landscape is shifting fast—from simple prompt-response systems to autonomous, decision-making agents. If you're still building basic chatbots, you're already behind.

Enter Agentic Framework 1.0 in .NET—a practical evolution where Microsoft Semantic Kernel and AutoGen-style multi-agent orchestration come together to create intelligent, collaborative AI systems.

This isn’t just another framework. It’s a mindset shift.


๐Ÿง  What is an Agentic Framework?

An agentic framework is a system where AI agents:

  • Think (reason over tasks)
  • Act (execute tools/functions)
  • Collaborate (communicate with other agents)
  • Adapt (handle dynamic workflows)

Instead of one monolithic AI, you build a team of specialized agents.


⚙️ Why Combine Semantic Kernel + AutoGen?

Let’s be brutally honest:

  • Semantic Kernel alone → Great for plugins, orchestration, memory
    ❌ But weak in multi-agent collaboration out of the box
  • AutoGen-style systems → Excellent for agent-to-agent conversations
    ❌ But lack strong enterprise-grade integration and structured execution

๐Ÿ‘‰ Combine them, and you fix each other’s weaknesses.


๐Ÿงฉ Architecture Overview

Here’s how Agentic Framework 1.0 typically looks:

                +----------------------+
                |   User / Trigger     |
                +----------+-----------+
                           |
                    +------v------+
                    |  Orchestrator|
                    +------+------+
                           |
        -----------------------------------------
        |                  |                    |
+-------v------+  +--------v--------+  +--------v--------+
| Planner Agent|  | Executor Agent  |  | Reviewer Agent  |
+--------------+  +-----------------+  +-----------------+
        |                  |                    |
        ----------- Communication Layer --------
                           |
                 +---------v----------+
                 | Semantic Kernel    |
                 | Plugins + Memory   |
                 +--------------------+

๐Ÿ” Core Components Explained

1. ๐Ÿงญ Orchestrator (Brain)

This is your control layer.

  • Decides which agent to call
  • Manages workflow execution
  • Handles retries and failures

๐Ÿ‘‰ Built using .NET + Semantic Kernel pipelines


2. ๐Ÿค– Agents (Specialists)

Instead of one AI doing everything poorly, split responsibilities:

๐Ÿง  Planner Agent

  • Breaks problem into steps
  • Uses reasoning (LLM)

⚡ Executor Agent

  • Calls APIs / tools
  • Uses Semantic Kernel plugins

๐Ÿ” Reviewer Agent

  • Validates output
  • Ensures quality

๐Ÿ‘‰ This structure mimics real engineering teams. That’s why it works.


3. ๐Ÿ”Œ Semantic Kernel (Execution Engine)

Semantic Kernel gives you:

  • Plugin system (functions as tools)
  • Memory (context persistence)
  • Prompt orchestration

Example:

var kernel = Kernel.CreateBuilder()
    .AddAzureOpenAIChatCompletion(...)
    .Build();

kernel.Plugins.AddFromType<WeatherPlugin>();

๐Ÿ‘‰ This is where actual work happens.


4. ๐Ÿ”„ AutoGen Pattern (Collaboration Layer)

AutoGen-style design enables:

  • Agent-to-agent messaging
  • Task handoffs
  • Debate & refinement loops

Example flow:

Planner → Executor → Reviewer → (feedback loop) → Executor

๐Ÿ‘‰ This is what makes the system agentic, not just scripted.


๐Ÿ”ฅ Real Use Case

Let’s say you’re building an AI content creator:

Flow:

  1. Planner Agent → "Write blog on .NET agents"
  2. Executor Agent → Calls content generation plugin
  3. Reviewer Agent → Improves SEO, grammar
  4. Optional Loop → Refine until quality threshold met

๐Ÿ‘‰ This is not a chatbot. This is an AI workflow system.


๐Ÿ’ก Why This Matters for .NET Developers

If you're still stuck in CRUD APIs, here’s the truth:

  • That skill is getting commoditized
  • AI-integrated systems are the next high-paying layer

With Agentic Framework:

  • You move from API developer → AI system architect
  • You build products, not endpoints

⚠️ Hard Truths (Read Carefully)

  • Just knowing Semantic Kernel ≠ you understand AI systems
  • Copy-pasting GitHub examples won’t make you job-ready
  • If you don’t understand orchestration, you’ll build toy apps

๐Ÿ‘‰ The real value is in:

  • Designing agent roles
  • Handling failure cases
  • Managing cost (token usage)
  • Building scalable workflows

๐Ÿงช Minimal Starter Strategy

Don’t overcomplicate:

Step 1:

Build a single agent using Semantic Kernel

Step 2:

Add 2nd agent (planner + executor)

Step 3:

Introduce feedback loop

Step 4:

Add memory + logging

๐Ÿ‘‰ That’s your Agentic Framework v1.


๐Ÿš€ Final Thoughts

Agentic Framework 1.0 in .NET is not a library—it’s a pattern.

By combining:

  • Semantic Kernel → execution + tools
  • AutoGen concepts → collaboration + intelligence

You unlock a system that behaves less like software… and more like a team.

Monday, August 18, 2025

How to make Scheduler with Azure Queue using .net

I created Two methods one for schedule and log in db and second method is related to reschedule message.



1.

Schedule and Reschedule Message



2. While Process=>

Code Snippet

Friday, August 1, 2025

How to Do Cross-Browser Testing on Windows — Including Safari via Playwright

To test follow few steps:

Step 1. Install node
Step 2. create Folder and run these commands

commands


Step 3. update package.json 's scripts

package.json


Step 4. create Test folder in above folder and create file with name browser.test.ts and add below code

browser.test.ts


Step 5. run command npm run test:safari

Friday, July 18, 2025

How to Highlight a Link of Side Nav When It Has Multiple Child Links in Angular

๐Ÿ”— How to Highlight a Link When It Has Multiple Child Links in Angular

When building a sidebar in Angular, you might want to highlight a parent link when any of its child routes are active. Angular’s routerLinkActive only works for single routes — so here’s a quick 2-step solution using a custom directive.

  1. Step 1: Create a custom directive
    Write a directive that checks the current URL against a list of child links and adds an active class if any match.

Step 1: Directive Code

  1. Step 2: Use it in your template
    On your parent menu link, pass the list of child URLs to the directive.

Step 2: Template Code

✅ Works with multiple child links, query parameters, and is easy to reuse.

✅ This blog is written by TechJourney with Gagan, sharing practical Angular tips for developers.

Tuesday, July 1, 2025

Create Search Functionality using 2 steps using pipe in Angular

To Implement Search Functionality without writing code in ts file

Step1: Create a Pipe using below code.

Code Of Search Filter Pipe



Step2: write below code where you want to implement search like in drop down.

Code Snippet



In above code we use just
<input matInput  placeholder="Search Company" #searchInput /><br> 
based on referece variable we took input and pass to pipe | searchByFilter:searchInput.value:'organizationName'"

Thursday, June 26, 2025

๐Ÿงฉ Implementing a Lightweight Query Handler in .NET using GMediator fully free for commerical use

In modern .NET applications, maintaining clean architecture is critical — and that’s where the Mediator pattern shines. It decouples the request/response flow and promotes separation of concerns.

While libraries like MediatR are popular, sometimes you want something even lighter — with zero dependencies.

Enter: GMediator, a custom lightweight mediator implementation.


๐Ÿš€ What We’ll Build
In this blog, we’ll create a simple GET API using GMediator that returns a list of products stored in an in-memory store — no database, no ORM — just the core pattern in action.
๐Ÿงฑ Step 1: Define the Product Model

Code Snippet


๐Ÿ’พ Step 2: Create an In-Memory Store

Code Snippet


๐Ÿ“ฌ Step 3: Create the Query Request

Code Snippet


๐ŸŽฏ Step 5: Create the Controller

Code Snippet


๐Ÿงช Step 6: Register GMediator in Program.cs

Code Snippet


๐Ÿ’ก Final Thoughts
GMediator is a great option for internal projects, low-dependency APIs, or learning the Mediator pattern hands-on.
You can extend this by adding Create, Update, Delete, or integrating with a real database like SQLite or SQL Server.

๐Ÿš€ Agentic Framework 1.0 in .NET: The Power Combo of Semantic Kernel + AutoGen

The AI landscape is shifting fast—from simple prompt-response systems to autonomous, decision-making agents . If you're still building b...