Microsoft AI SDK

AI API Proxy
for Semantic Kernel

Integrate AI API Proxy with Microsoft Semantic Kernel. Build AI-powered applications with skills, planners, and native C# support.

Semantic Kernel
🔧
Skills Native + Semantic
📋
Planners Auto Orchestration
💾
Memory Vector Store
🔌
Connectors Gateway Ready

Semantic Kernel Integration

Enterprise features for your .NET AI applications

🔧
Skill Orchestration
Combine native C# functions with semantic AI skills through unified gateway access.
📋
Planner Integration
Enable automatic planning with gateway-provided LLM capabilities and constraints.
💾
Memory Connectors
Connect to vector databases through gateway with unified embedding support.
🔐
Secure Credentials
Centralized API key management with Azure Key Vault integration support.
📊
Telemetry
Full observability with OpenTelemetry integration for .NET applications.
Streaming
Real-time streaming support for responsive AI applications and chat interfaces.

Code Example

Quick start with Semantic Kernel and Gateway

🧠 Semantic Kernel with Gateway C#
// Import Semantic Kernel and Gateway
using Microsoft.SemanticKernel;
using Microsoft.SemanticKernel.Connectors.Gateway;

// Create kernel with gateway backend
var builder = Kernel.CreateBuilder();

builder.AddGatewayChatCompletion(
    endpoint: "https://gateway.example.com",
    apiKey: "your-gateway-key",
    modelId: "gpt-4"
);

var kernel = builder.Build();

// Import a native skill
public class TimeSkill
{
    [KernelFunction]
    public string GetCurrentTime() => DateTime.Now.ToString();
}

kernel.ImportSkill(new TimeSkill(), "time");

// Use planner to orchestrate
var planner = new SequentialPlanner(kernel);
var plan = await planner.CreatePlan("What time is it?");

// Execute the plan
var result = await kernel.RunAsync(plan);
Console.WriteLine(result);

Semantic Kernel Skills

Build powerful AI applications with skills

💬
Chat Skills
Conversational AI with context memory
📝
Text Skills
Summarization, translation, rewriting
🔍
Search Skills
Semantic search and retrieval
📊
Data Skills
Analysis and extraction
🛠️
Native Skills
C# functions integration
🔗
API Skills
External service connectors