AS AgentScopeAPI 手册 / API Reference
包package io.agentscope.harness.agent.skill.curator

io.agentscope.harness.agent.skill.curator

package io.agentscope.harness.agent.skill.curator

io.agentscope.harness.agent.skill.curator 属于工具与技能,工具注册、schema 与执行。 该包共收录 40 个公开类型。

io.agentscope.harness.agent.skill.curator belongs to the Tools & skills layer and contains 40 public types.

所属构件Artifacts agentscope-harness

接口Interfaces

类型Type种类Kind说明Description
NotificationSink接口interface
定义通知 Sink契约的接口。
Pushes `SkillCandidate` metadata to an external system (Slack webhook, ticket service, Nacos config item, …).
SkillPromotionGate接口interface
定义技能 Promotion Gate契约的接口。
Decides whether a draft skill is allowed to be promoted into the live skills directory.
SkillVisibilityFilter接口interface
定义技能 Visibility 过滤器契约的接口。
Runtime gate that decides which skills are exposed to the model on a per-call basis.

类Classes

类型Type种类Kind说明Description
AbstractAgentCreatedFilter类class
抽象智能体已创建过滤器,让智能体以受控方式调用外部能力。
Base class for visibility filters that should ONLY constrain agent-authored skills.
AllowListFilter类class
Allow 列表过滤器,让智能体以受控方式调用外部能力。
Visible only when the agent-created skill's name is in the allow-list.
CanaryFilter类class
Canary 过滤器,让智能体以受控方式调用外部能力。
Percentage-based rollout for agent-authored skills.
CompositeFilter类class
Composite 过滤器,让智能体以受控方式调用外部能力。
Chains multiple `SkillVisibilityFilter`s with AND semantics: the output is the intersection of every filter's output, applied in order.
EnvironmentFilter类class
环境过滤器,让智能体以受控方式调用外部能力。
Filter that admits a skill only when its sidecar's `environments` list contains the configured environment (`prod`, `staging`, …).
LocalApprovalGate类class
本地 Approval Gate,让智能体以受控方式调用外部能力。
Single-replica HITL gate.
NotifyAndWaitGate类class
Notify 和 Wait Gate,让智能体以受控方式调用外部能力。
Multi-replica gate.
RejectAllGate类class
拒绝所有 Gate,让智能体以受控方式调用外部能力。
Always returns `SkillPromotionGate.PromotionDecision.Defer` — promotion can only happen via an explicit `HarnessAgent.promoteSkill(...)` call from outside the gate.
SkillAuditLog类class
技能 Audit 日志,让智能体以受控方式调用外部能力。
Append-only audit log for the skill self-learning loop.
SkillCurator类class
技能 Curator,让智能体以受控方式调用外部能力。
Background skill maintenance orchestrator.
SkillCuratorConfig类class
技能 Curator 配置,保存相关配置项。
Configuration knobs for `SkillCurator`.
SkillPromoter类class
技能 Promoter,让智能体以受控方式调用外部能力。
Orchestrates the promotion pipeline: locate draft → run security scan → call gate → physically move `_drafts/<name>/` to `skills/<name>/` → update sidecar.
SkillSecurityScanner类class
技能 Security Scanner,让智能体以受控方式调用外部能力。
Static-analysis scanner for SKILL.md and skill support files.
SkillUsageStore类class
技能用量存储,负责持久化与读取数据。
Sidecar telemetry store for per-skill usage and provenance.

记录Records

类型Type种类Kind说明Description
SkillCandidate记录record
承载技能 Candidate数据的记录类型。
Material handed to a `SkillPromotionGate` when a draft skill is being considered for promotion.
SkillCuratorState记录record
承载技能 Curator 状态数据的记录类型。
Persistent state for `SkillCurator` — kept in `skills/.curator_state.json`.
SkillUsageRecord记录record
承载技能用量记录数据的记录类型。
Per-skill operational telemetry plus enterprise-staging audit fields.
基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.