MS Agent Harness (.NET)

Integration ID: ms-agent-harness-dotnet

Demos

Beautiful Chat

Polished starter chat backed by Microsoft Agent Harness

Agentic Chat

Natural conversation with frontend tool execution

Frontend Tools

Agent invokes client-defined tools

Frontend Tools (Async)

Client-side tools that resolve asynchronously

Chat Customization (CSS)

Styling the prebuilt chat surface

Chat Slots

Overriding chat UI via component slots

Prebuilt Sidebar

Drop-in sidebar chat experience

Prebuilt Popup

Drop-in popup chat experience

Headless (Simple)

Building a custom chat UI on the headless API

Headless (Complete)

Full headless chat with all features wired by hand

Human in the Loop

User approves agent actions before execution

Human in the Loop (In App)

Approval surfaced inline in the application UI

Human in the Loop (In Chat)

Approval surfaced inline in the chat thread

Tool Rendering

Backend agent tools rendered as UI components

Tool Rendering (Reasoning Chain)

Tool calls interleaved with streamed reasoning

Tool Rendering (Default Catch-All)

Default renderer for unhandled tool calls

Tool Rendering (Custom Catch-All)

Custom catch-all renderer for tool calls

Reasoning (Default)

Streamed agent reasoning with the default renderer

Reasoning (Custom)

Streamed agent reasoning with a custom renderer

Tool-Based Generative UI

Agent uses tools to trigger UI generation

Agentic Generative UI

Long-running agent tasks with generated UI

Generative UI (Interrupt)

Interrupt-driven generative UI

Interrupt (Headless)

Headless handling of agent interrupts

Declarative Generative UI

Declarative A2UI spec rendering

Declarative (Hashbrown)

BYOC rendering via Hashbrown

Declarative (JSON Render)

BYOC rendering from a JSON spec

A2UI (Fixed Schema)

Agent-to-UI rendering against a fixed schema

Open Generative UI

Open-ended generative UI

Open Generative UI (Advanced)

Advanced open-ended generative UI

MCP Apps

Embedding MCP-served apps in chat

Multimodal

Text plus image / file inputs

Voice

Voice input and transcription

Auth

Authenticated agent sessions

Agent Config

Reconfiguring the agent from shared state per turn

Shared State (Reading)

Reading agent state from UI

Shared State (Read/Write)

Reading and writing agent state from UI

State Streaming

Per-token state delta streaming from agent to UI

Read-Only State (Agent Context)

Surfacing read-only agent context to the UI

Sub-Agents

Multiple agents with visible task delegation