智能体工具

概览

可以提供给本地代理的三十六个工具,外加两个仅在库中有内容时才出现的工具。每个工具在每一轮都会向模型声明,因此你不使用的工具不会产生费用。

35 names+ skill and taskapi.tools.all
Using Python?

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

引擎宣布工具, 模型要求它, 您的程序运行它。 任何一个引擎都没有服务器路径, 到达平台的服务器没有通过软件包的普通资源运行 。

家庭家庭

选择他们

api.agents.create({ runtime: "local", machine: pc, model });                 // all 35
api.agents.create({ runtime: "local", machine: pc, model, tools: "all" });  // the same
api.agents.create({ runtime: "local", machine: pc, model,
  tools: ["read", "list", "glob", "grep", "write", "edit", "bash"] });      // seven

api.tools.all;        // the frozen list of 35 names
api.agents.create(runtime="local", machine=pc, model=model)                  # every built-in tool
api.agents.create(runtime="local", machine=pc, model=model, tools="all")     # the same
api.agents.create(runtime="local", machine=pc, model=model,
                  tools=["read", "list", "glob", "grep", "write", "edit", "bash"])   # seven

api.tools.all   # the 33 names the Python engine declares

创建时拒绝未知姓名 unknown_tool列出存在什么——一个打字机在跑步前失败,而不是在跑步前失败。

每一转都有一个宣布成本代币

宣布工具少少,每一步都更便宜

整个集都是随每转一转发送的。 在一个只读和编辑、削减服务和媒体工具的工作上,每运行的每一步都从固定的成本中去除,并随其从系统中删除指示。

某些人自己消失

工具缺空时
bash无的电话或云工作空间 shell 桥桥桥
terminal电话,总是有的 云层工作空间没有 terminals 桥桥桥
skill技能库为空
task子试剂库为空
ask_user无 无 onQuestion 回回回回回回回回回回回
memorymemories: false

每个工具都有类别

一种类别,而不是工具,即 模式模式模式 6个工具根据他们的论点计算他们的论点, terminal 自由阅读和要求杀人。