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

io.agentscope.harness.agent.skill.runtime

package io.agentscope.harness.agent.skill.runtime

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

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

所属构件Artifacts agentscope-harness

类Classes

类型Type种类Kind说明Description
MarketplaceStager类class
市场 Stager,让智能体以受控方式调用外部能力。
Materialises non-workspace skill resources (Layer 1 / Layer 2 / marketplace) to `<wsRoot>/.skills-cache/<source-ns>/<skill-name>/` so that: - shell-mode HarnessAgents (sandbox or Local-with-shell) can execute the staged scripts via absolute paths - sandbox projection (which includes `.skills-cache` in `DEFAULT_WORKSPACE_PROJECTION_ROOTS`) hydrates the staged content into the sandbox at start time
ShellPathPolicy类class
Shell 路径策略,让智能体以受控方式调用外部能力。
Resolves the absolute `filesRoot` path emitted in `<available_skills>` and `load_skill_through_path` responses, given a skill's `StageResult` and the current shell mode.
SkillCatalog类class
技能目录,让智能体以受控方式调用外部能力。
Immutable snapshot of the skills visible to a single `onSystemPrompt` pass.
SkillLoadTool类class
技能加载工具,封装可被智能体调用的能力。
The harness-native `load_skill_through_path` `AgentTool`.
SkillPromptBuilder类class
技能提示词构建器,用于构建并配置目标实例。
Renders the harness `<available_skills>` system-prompt block from a `SkillCatalog`.
SkillRuntime类class
技能运行时,让智能体以受控方式调用外部能力。
Aggregates the singleton `SkillLoadTool` and the `SkillPromptBuilder`.

记录Records

类型Type种类Kind说明Description
HarnessSkillEntry记录record
承载 Harness 技能条目数据的记录类型。
Per-call wrapper around an `AgentSkill` carrying harness-only metadata that does not belong on the core data type.
基于官方固定版本源码静态生成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.