Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 1.82 KB

File metadata and controls

21 lines (15 loc) · 1.82 KB

Harness Agent Samples

Samples demonstrating the Harness AIContextProviders — reusable providers that add planning, task management, and mode tracking to any ChatClientAgent.

Samples

Sample Description
Harness_Step01_Research Using a ChatClientAgent with TodoProvider and AgentModeProvider for research, showcasing planning mode and todo management
Harness_Step02_Research_WithBackgroundAgents Using BackgroundAgentsProvider to delegate stock price lookups to a web-search background agent concurrently
Harness_Step03_DataProcessing Using FileAccessProvider to give an agent access to CSV data files for reading, analysis, and output generation
Harness_Step05_Loop Wrapping a HarnessAgent with the LoopAgent decorator to re-invoke it until a configured LoopEvaluator (completion marker, predicate, AI judge, or approval-aware loop) decides to stop

Build your own claw blog series

Samples accompanying the Build your own agent harness or claw with Microsoft Agent Framework blog series, which builds a personal finance assistant step by step.

Sample Description
Claw_Step01_MeetYourClaw Post 1 — a minimal HarnessAgent with a custom get_stock_price tool, web search, and planning
Claw_Step02_WorkingWithData Post 2 — file access, approvals, and durable memory (file memory plus optional Foundry memory)