.agents skill repositories and building compile-time MCP servers in .NET.
Packages
| Package | Purpose |
|---|---|
NetAgents | CLI tool for .agents directories (init, install, sync, trust) |
Qyl.Agents.Abstractions | [McpServer] and [Tool] marker attributes (netstandard2.0) |
Qyl.Agents.Generator | Source generator emitting dispatch, schema, OTel, and SKILL.md |
Qyl.Agents | Runtime protocol handler and stdio host |
Quick Start
Define a server with attributes — the generator produces everything at build time:DispatchToolCallAsync— routes tool calls by nameGetServerInfo/GetToolInfos— MCP metadata- JSON Schema for each tool’s input parameters
- OpenTelemetry spans and metrics
- SKILL.md content for dotagents distribution
Install
Architecture
Repository Management
The CLI manages.agents skill directories:
