AI-generated, compiler-validated C# examples for the Aspose.Imaging for .NET API.
| Metric | Value |
|---|---|
| Total Examples | 2863 |
| Categories | 17 |
| Overall Pass Rate | 100.0% |
| Last Updated | 2026-05-08 |
agents.md
README.md
+-- conversion/
+-- convert-apng/
+-- convert-cdr/
+-- convert-cmx-images/
+-- convert-dicom-images/
+-- convert-eps-images/
+-- convert-open-document-graphics/
+-- convert-raster-image/
+-- convert-svg-to-raster-images/
+-- convert-webp-images/
+-- converting-wmf-and-emf/
+-- image-and-photo-filters/
+-- kernel-filters/
+-- manipulate-different-image-file-formats/
+-- manipulating-images/
+-- merge-images/
+-- working-with-drawing-images/
| Category | Examples | Pass Rate | Details |
|---|---|---|---|
| Conversion | 162 | 100.0% | agents.md |
| Convert APNG | 51 | 100.0% | agents.md |
| Convert CDR | 30 | 100.0% | agents.md |
| Convert CMX Images | 34 | 100.0% | agents.md |
| Convert DICOM Images | 30 | 100.0% | agents.md |
| Convert EPS Images | 60 | 100.0% | agents.md |
| Convert Open Document Graphics | 120 | 100.0% | agents.md |
| Convert Raster Image | 138 | 100.0% | agents.md |
| Convert SVG to Raster Images | 40 | 100.0% | agents.md |
| Convert webp Images | 30 | 100.0% | agents.md |
| Converting WMF and EMF | 29 | 100.0% | agents.md |
| Image and Photo Filters | 136 | 100.0% | agents.md |
| Kernel Filters | 464 | 100.0% | agents.md |
| Manipulate Different Image File Formats | 600 | 100.0% | agents.md |
| Manipulating Images | 407 | 100.0% | agents.md |
| Merge Images | 135 | 100.0% | agents.md |
| Working With Drawing Images | 397 | 100.0% | agents.md |
git clone https://github.com/aspose-imaging/agentic-net-examples.git
cd <category>
dotnet run <example-file.cs>- .NET SDK (net9.0)
- Aspose.Imaging for .NET (via NuGet)
The agent that generates these examples follows a three-attempt pipeline per task:
| Attempt | Strategy | Trigger |
|---|---|---|
| 1 | Raw MCP call with path-safety rules | Always |
| 2 | MCP call with LLM-selected category rules | Attempt 1 fails |
| 3 | LLM direct fix with compiler errors + rules | Attempt 2 fails |
After all tasks complete, a retry pass automatically re-runs any failed tasks through the full 1→2→3 pipeline once more. Only examples that pass both dotnet build and dotnet run are committed to the repository.
Every pull request is automatically validated by GitHub Actions (validate-pr.yml):
dotnet build— required, blocks merge on failuredotnet run— informational, runtime errors are expected when input files are absent
Examples are versioned by NuGet release. Each version gets its own branch and a GitHub release tag. When a new NuGet version is available, the agent creates a release tag on main, bumps the NuGet version, and starts generating examples on a new branch. Once complete, the branch is merged into main.
The agent exposes a public REST API for programmatic access:
| Method | Endpoint | Description |
|---|---|---|
POST |
/api/v1/run/prompt |
Submit a single task |
POST |
/api/v1/run/category |
Submit a full category run |
GET |
/api/v1/status/<job_id> |
Poll job status |
GET |
/api/v1/results/<category> |
Get category results |
GET |
/api/v1/categories |
List available categories |
GET |
/api/v1/stats |
Overall stats from GitHub |
API documentation is available at
/api/v1/docs. The API is intended for internal team use.
All examples are compiler-validated against the target NuGet version before being committed. The benchmark is a 100% build pass rate across all generated examples.
| Version | Total Examples | Pass Rate | Framework |
|---|---|---|---|
| 26.5.0 | 2863 | 100.0% | net9.0 |
Pass rate is enforced by the agent pipeline — only examples that pass both dotnet build and dotnet run are committed.
Validation runs automatically on every pull request targeting main via GitHub Actions (validate-pr.yml).
To trigger validation:
- Push your branch to GitHub
- Open a pull request targeting
main - GitHub Actions will automatically build and run all changed
.csfiles - Build failures block the merge — runtime errors are informational only
Each pipeline run ships telemetry to a central metrics store including examples discovered, passed and failed per category, LLM token usage, MCP and LLM API call counts, and pipeline duration.
Maintained by agent-aspose-imaging-examples | Run 20260508_060236 | 2026-05-08