FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

.NET: Harness code act skill sample by westey-m · Pull Request #5930 · microsoft/agent-framework · GitHub

Repository navigation

.NET: Harness code act skill sample - #5930

Merged
westey (westey-m) merged 9 commits into
microsoft:mainfrom
westey-m:harness-code-act-skill-sample
May 19, 2026
Merged

westey (westey-m) merged 9 commits into
microsoft:mainfrom
westey-m:harness-code-act-skill-sample

Conversation

Copy link
Copy Markdown
Collaborator

Motivation and Context

Description

  • Add a harness sample that demonstrates code act and skills together.

Contribution Checklist

  • The code builds clean without any errors or warnings
  • The PR follows the Contribution Guidelines
  • All unit tests pass, and I have added new tests where possible
  • Is this a breaking change? If yes, add "[BREAKING]" prefix to the title of the PR.

Copilot AI review requested due to automatic review settings May 18, 2026 18:57
Evan Mattson (moonbox3) added documentation Usage: [Issues, PRs], Target: documentation in the code base and learn docs .NET Usage: [Issues, PRs], Target: .Net labels May 18, 2026
github-actions Bot changed the title Harness code act skill sample .NET: Harness code act skill sample May 18, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Pull request overview

Adds a new Harness sample (Harness_Step04_CodeExecution) demonstrating a HarnessAgent with all features enabled, combined with the Hyperlight CodeAct provider (sandboxed Python execution) and a file-based regex-tester skill.

Changes:

  • New sample project Harness_Step04_CodeExecution with Program.cs, README.md, and .csproj that copies skills/** to output.
  • New file-based skill regex-tester (SKILL.md plus a regex cheatsheet reference).
  • Registers the new package Hyperlight.HyperlightSandbox.Guest.Python (0.4.0) in Directory.Packages.props and adds the project to the solution.

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
dotnet/samples/02-agents/Harness/Harness_Step04_CodeExecution/Program.cs Wires up HarnessAgent + HyperlightCodeActProvider with instructions and console runner.
dotnet/samples/02-agents/Harness/Harness_Step04_CodeExecution/Harness_Step04_CodeExecution.csproj New sample csproj; references Hyperlight + Foundry + Harness projects; copies skills folder to output.
dotnet/samples/02-agents/Harness/Harness_Step04_CodeExecution/README.md Sample usage instructions and feature table.
dotnet/samples/02-agents/Harness/Harness_Step04_CodeExecution/skills/regex-tester/SKILL.md Skill metadata and workflow for regex testing via execute_code.
dotnet/samples/02-agents/Harness/Harness_Step04_CodeExecution/skills/regex-tester/references/regex-cheatsheet.md Python regex cheatsheet referenced by the skill.
dotnet/Directory.Packages.props Adds central version for Hyperlight.HyperlightSandbox.Guest.Python 0.4.0.
dotnet/agent-framework-dotnet.slnx Registers the new sample project in the solution.

github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Automated Code Review

Reviewers: 4 | Confidence: 93% | Result: All clear

Reviewed: Correctness, Security Reliability, Test Coverage, Design Approach


Automated review by westey-m's agents

This branch was previously deployed

1 inactive deployment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Usage: [Issues, PRs], Target: documentation in the code base and learn docs .NET Usage: [Issues, PRs], Target: .Net

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants


Back | FazBrowse Home | New Git URL