技能与子智能体

概览

代理可以给它提供两种指令: 请求匹配时它会装载的技能, 以及它会交给它整个工作的子代理。 两者都来自账户和电脑, 合并了 。

account + computeraccount wins on a nametask appears with a subagent
Using Python?

Switch any code block to Python: the choice applies to every page. Python SDK guide and resource reference.

技能技能子试剂
是某类工作的指示具有自身背景的工人
由排 skill 工具,当请求匹配排 task 工具, 工具, 工具, 工具, 工具, 工具, 工具, 工具, 工具, 工具, 工具, 工具, 工具, 工具, 工具, 工具, 工具, 工具, 工具, 工具, 工具, 工具, 工具, 工具, 工具, 工具, 工具, 工具, 工具, 工具, 工具, 工具, 工具, 工具, 工具, 工具, 工具, 工具, 工具, 工具, 工具, 工具, 工具, 工具, 工具, 工具, 工具, 工具, 工具, 工具, 工具, 工具, 工具, , 工具, 工具, 工具, 工具, 工具, , 工具, , 工具, , 工具, , 工具, 工具, , , 工具, , ,工具, , , , , ,工具,工具, ,工具, , ,工具,工具,工具,工具,工具,工具,工具,工具,工具,工具,工具,
以迅速一行:名称和说明一行:名称和说明
携带内容内容、可选文件内容, 内容, 本身 tools 和 model
上下文进入当前对话框一个新的;只有它的报告回来

两个来源,一个清单

const skills = await api.agents.skills.list();
// [{ name: "legal-review", description: "…", source: "account" },
//  { name: "release-notes", description: "…", source: "computer" }]

const subagents = await api.agents.subagents.list();
skills = api.agents.skills.list()
# [{"name": "legal-review", "description": "…", "source": "account"},
#  {"name": "release-notes", "description": "…", "source": "computer"}]

subagents = api.agents.subagents.list()
源源源源生命可从
"account"账户中任何设备、 任何应用程序
"computer"~/.iagenify/skills/<name>/SKILL.md 和 ~/.iagenify/agents/<name>.md那个电脑
在同一名字上,账户赢

账户上的一个名为“ 发布” 的技能便条在磁盘上隐藏了其中的一个名称。 写作总是会转到账户中—— 计算机项目只通过图书馆读取,并通过编辑该机器上的文件而更改。

选择那些跑步得到什么

api.agents.create({
  runtime: "local", machine: pc, model,
  skills: ["legal-review"],        // only this one
  subagents: [],                   // none — and therefore no task tool
});
api.agents.create(
    runtime="local", machine=pc, model=model,
    skills=["legal-review"],        # only this one
    subagents=[],                   # none — and therefore no task tool
)

不存在是指全部。空数组表示没有。 空数组表示没有。 库在每次运行的开始处都重新阅读, 所以从另一个窗口添加的东西可以使用, 而不重新启动软件包的持有方式 。

为什么图书馆是空的, 当它是空的时

agent.libraryStatus;
// {}                              → both were read
// { subagents: "none" }           → there is no source for subagents here
// { skills: "storage_not_local" } → the source refused, and this is why
# Python reads both libraries when the agent is created;
# an empty list means none were found or none could be read.
agent.skills      # [{"name": "legal-review", …}]
agent.subagents   # []
上报空库, 不吞吞

”“没有人能读到,代码就是拒绝的源。没有这个字段,一个没有任务工具的代理就看起来像一个选择不委托的代理。

其成本在迅速

单行一行——名称和描述。只有在 skill 使用工具,因此一个30种技能的图书馆 费用是每转30行,而不是30份文件。

任务只存在子试剂

没有内置子试剂。 有了空子试剂库, 即 task 根本就没有申报工具,这就是为什么拒绝委派代理人“拒绝委派”的代理人通常就是一无所有可委派的代理人。