SuperAPI AI 工具集

build-custom-agent

智能体与模型

查看项目

更新于 10-16 07:14

技能介绍

用途:从简短 Purpose 生成有边界的 .NET 10 本地智能体原型,或对复杂/实时请求给出零写入的集成方案,不实现真实业务系统访问或真实效果。

主要能力:推断有边界的 Name、Knowledge 与最多三个 Actions;生成 Proposed local prototype 并区分用户提供与 mock 来源;支持本地原型、简化 mock PoC 与实现方案三条路径;构建后运行校验、构建与 smoke 测试,并启动应用做健康检查。

使用方式:交互式会话中先收集 Purpose,缺失时询问“In 1-2 short sentences, what should this agent help someone accomplish?”;经明确 Build 批准后才写入。构建命令:dotnet run --file <skill-directory>/scripts/copy-template.cs -- --target <target>;校验:dotnet run --file <skill-directory>/scripts/validate-project.cs -- --target <target>;构建:dotnet build <target>/CustomAgent.csproj;smoke:dotnet run --project <target>/CustomAgent.csproj -- --smoke;启动:dotnet run --project "<absolute-target>/CustomAgent.csproj" --no-build -- --urls http://127.0.0.1:0。

适用场景:本地问答、证据审查、分诊流程、摘要指标等有界原型;复杂请求可先出实现方案。

限制:仅限本地/mock,禁止外部调用、进程执行、文件写入、密钥读取、真实效果或后台循环;编辑仅限 AgentDefinition.cs、Tools.cs、docs/ 与 data/ 下文件、appsettings.json 及 INTEGRATION_PLAN.md;需 .NET 10;smoke 不证明推理质量、真实工具调用、数据摄取、实时结果或生产安全;凭据仅用于开发,生产应通过环境变量注入。部分细节暂未提供。