Agent RT 运行时中的动作拦截与检查点续跑

Agent RT 是一个面向 Python 和 TypeScript 的轻量智能体运行时,把权限、审批、沙箱与可观测性作为运行时概念。其 Guard 可在工具调用执行前拦截有害动作,检查点则让中断的运行沿用已消耗的轮次、工具调用与 token 预算继续。

![代理 RT – AI 代理运行时间](<https://raw.githubusercontent.com/Pro-GenAI/Agent-RT/main/docs/assets/banner.jpg>) **生产无框架税的AI剂:在Python和TypeScript中.** ⚡ 代理 RT 给代理以明确的执行边界,用于 **工具、流线、结构化产出、权限、批准、内存、检查站、沙箱、可观察性和部署**- 不需要一个重量级的管弦乐堆 > **一次运行,两种语言,任何模式供应商,生产控制系统** 🧩 [![PyPI](https://img.shields.io/pypi/v/agent-rt?style=for-the-badge&logo=pypi&logoColor=white)](https://pypi.org/project/agent-rt/) [![时间 :](https://img.shields.io/npm/v/agent-rt?style=for-the-badge&logo=npm&logoColor=white&color=CB3837)](https://www.npmjs.com/package/agent-rt) [![Docker 枢纽 Python 键](https://img.shields.io/badge/Docker_Hub-Python-2496ED?style=for-the-badge&logo=docker&logoColor=white)](https://hub.docker.com/r/praneeth1v/agent-rt-python) [![多克枢纽 TypeScript 系统](https://img.shields.io/badge/Docker_Hub-TypeScript-2496ED?style=for-the-badge&logo=docker&logoColor=white)](https://hub.docker.com/r/praneeth1v/agent-rt-typescript) [![文档](https://img.shields.io/badge/Docs-000000?style=for-the-badge&logo=github&logoColor=white)](https://agent-rt.pro-genai.com/docs/) [![许可证: MIT](https://img.shields.io/badge/License-MIT-red.svg?style=for-the-badge&logo=github&logoColor=white)](https://github.com/Pro-GenAI/Agent-RT/blob/main/LICENSE) [![PyPI 下载](<https://static.pepy.tech/personalized-badge/agent-rt?period=total&units=NONE&left_color=BLACK&right_color=GREEN&left_text=PyPI%20Downloads>)](<https://pepy.tech/projects/agent-rt>) [![npm 总下载量](https://img.shields.io/npm/dt/agent-rt?style=for-the-badge&label=npm%20downloads)](https://www.npmjs.com/package/agent-rt) [![Python 多克拉动](https://img.shields.io/docker/pulls/praneeth1v/agent-rt-python?style=for-the-badge&logo=docker&label=Python%20pulls)](https://hub.docker.com/r/praneeth1v/agent-rt-python) [![TypeScript 多克拉](https://img.shields.io/docker/pulls/praneeth1v/agent-rt-typescript?style=for-the-badge&logo=docker&label=TypeScript%20pulls)](https://hub.docker.com/r/praneeth1v/agent-rt-typescript) ## 满足阿蒂 Artie(A·R·T,为RT特工)是标志中运行的机器人,并在终端时向您问候. `agent-rt` 启动。 `artie` 是命令的别名 : `artie migrate`, `artie demo`, 以及其他的, (笑声) `agent-rt` Artie有心情:当Guard屏蔽工具呼叫时,它会起盾牌,当迁移经过时,它的三个旗舰特征都有名字: - 🛡️ **警卫** - 行动阻塞器,包括: [特工行动卫队](https://agent-rt.pro-genai.com/docs/guides/runtime-reference#action-blockers),在运行前停止一个有害的工具呼叫。 - ♻️ **检查站** ——恢复运行,转弯,调用工具和它已经使用的象征性预算. - 🧱 **墙** - 那个... [移民墙](https://agent-rt.pro-genai.com/):65 + 移民前后通过测试的第三方寄存器. ## 按数字排列 - 🪙 **6 – 22 – 减少输入符** 与 Codex 、 Claude 代码、 opencode 和 副驾驶 CLI 相比的每个提示 - 🧠 **5 – 10 – 减内存** 每个CLI工艺比同一代理CLI, 以及包括Pi和OpenHuman在内的七个CLI中最低的 - 📦 **66 × 小 npm 安装** 比LangChain.js (1.24 MiB vs 82.44 MiB ). - ⚡ **5.8 × 减去框架间接费用** 比 Python 中的 LangChain (1.56 ms vs 9.03 ms warm) 更温和. - 🔄 **65 + 第三方存储器** 移民前后通过考试 ![代理 CLI 输入符 每个提示](<https://raw.githubusercontent.com/Pro-GenAI/Agent-RT/main/src/comparison/assets/cli-harness-tokens.svg>) 针对确定本地主机的模拟模型进行测量,因此数字显示运行时间和驾驭高度,而不是模型延迟度或任务质量. CLI部分符号缺口来自Anter RT较小的内置工具集. 方法和原始数据 : [`src/comparison/`](<https://github.com/Pro-GenAI/Agent-RT/blob/main/src/comparison/README.md>). (中文(简体) ). ![特工RT CLI 演示显示 Artie, Guard 屏蔽一个注入的 shell 工具呼叫, 以及经批准的 README 编辑](<https://raw.githubusercontent.com/Pro-GenAI/Agent-RT/main/docs/assets/agent-rt-demo.gif>) Agent RT CLI in active: Guard拒绝不安全的工具呼叫,而合法的工作空间编辑则需要明确的批准. Deterministic offline expression. **运行于 :** ![链接( L)](https://img.shields.io/badge/Linux-FCC624?style=for-the-badge&logo=linux&logoColor=black) ![窗口](https://img.shields.io/badge/Windows-0078D6?style=for-the-badge&logo=windows&logoColor=white) ![macOS 情报](https://img.shields.io/badge/macOS%20Intel-000000?style=for-the-badge&logo=apple&logoColor=white) ![macOS 苹果硅](https://img.shields.io/badge/macOS%20Apple%20Silicon-555555?style=for-the-badge&logo=apple&logoColor=white) ![红莓派](https://img.shields.io/badge/Raspberry%20Pi-A22846?style=for-the-badge&logo=raspberrypi&logoColor=white) ## QQ 快速启动 **Python 键** ```bash pip install agent-rt ``` **TypeScript / 节点.js** ```bash npm install agent-rt ``` **Docker 枢纽( 预建图像)** ```bash docker pull praneeth1v/agent-rt-python:latest docker pull praneeth1v/agent-rt-typescript:latest ``` 那个... [Python 图像](https://hub.docker.com/r/praneeth1v/agent-rt-python) 2000年9月14日至22日,日内瓦 `agent-rt` CLI 号机; [TypeScript 图像](https://hub.docker.com/r/praneeth1v/agent-rt-typescript) 包含节点.js运行时间并安装 `agent-rt` 软件包。见 [集装箱使用量](https://agent-rt.pro-genai.com/docs/guides/runtime-reference#docker-hub-images) 用于运行命令和版本标记。 **尝试在 10 秒** 使用 API 密钥, 您已经为 Claude 代码、 代码、 打开码 或 副驾驶 CLI (不需要配置文件) 使用 : ```bash pip install 'agent-rt[cli,anthropic]' agent-rt claude -p "explain this stack trace" # or: agent-rt codex exec "..." · agent-rt opencode run "..." · agent-rt copilot -p "..." ``` 只有 API- key 设置被重新使用; 订阅的签入停留在官方客户端( Name[细节](<https://github.com/Pro-GenAI/Agent-RT/blob/main/docs/website/docs/guides/runtime-guide.html#reuse-another-agent-cli>)). **没有API密钥?** `uvx agent-rt demo` (或 减) `npx agent-rt demo`)通过快速注射攻击运行一个脚本模拟模型,并显示Guard停止 `rm -rf ~` 在工具运行前。 `agent-rt web --demo` 在一个时间旅行调试器中重放, 您可以从任何检查站叉出 。 ➡️ [安装](<https://github.com/Pro-GenAI/Agent-RT/blob/main/docs/website/docs/getting-started/installation.html>) · [快速启动](<https://github.com/Pro-GenAI/Agent-RT/blob/main/docs/website/docs/getting-started/quickstart.html>) ## QQ 通过更改一个导入 ```diff - from openai import OpenAI + from agent_rt.openai import OpenAI ``` ```diff - import OpenAI from "openai"; + import OpenAI from "agent-rt/openai"; ``` 支持的 Anthropic 子集的相同前缀工作,OpenRouter,LangChain深层特工LlamaIndex,以及OpenAI代理人(加)LiteLLM,AutoGen,以及CrewAI在 Python 中。参见 [移徙指南](<https://github.com/Pro-GenAI/Agent-RT/blob/main/docs/website/docs/guides/migration.html>). 或运行 `uvx agent-rt migrate` (P)或 `npx agent-rt migrate` (TypeScript / JavaScript) 在您的工程中。 它在重写之前和之后运行您的测试, 并且只有在没有新的失败时才保留它 : 之后失败的每个测试都必须在同一个线的同一测试中失败。 否则每个文件都会被恢复 。然后它打印一个before-and-after卡(测试,测试时间,峰值内存,包大小),对于一个GitHub寄存器,则打印一个预填的发行链接,将其添加到迁移墙上. See. [自动迁移](https://agent-rt.pro-genai.com/docs/guides/migration-reference#automatic-migration-agent-rt-migrate). 移位吗 ? 添加选入 [![特工RT的运行](<https://raw.githubusercontent.com/Pro-GenAI/Agent-RT/main/docs/website/assets/badge/runs-on-agent-rt.svg>)](https://agent-rt.pro-genai.com/docs/guides/migration-reference#runs-on-agent-rt-badge) 徽章给您的 README。 ![65 + 第三方寄存器在迁移到RT代理后通过测试.](<https://raw.githubusercontent.com/Pro-GenAI/Agent-RT/main/docs/website/assets/share/migration.png>) ## 为什么是RT探员? - 🪶 **轻量级和可测量** ——从运行时间核心开始,仅在需要时才增加整合;可复制的跨框架基准存在于其中 [`src/comparison/`](<https://github.com/Pro-GenAI/Agent-RT/blob/main/src/comparison/README.md>). - 🛡️ **已控制** ——权限,可堆肥动作阻塞器,批准,定型PII形态,限制,护栏,和沙盒边界是运行时的概念,而不是加码. - 🔌 **两种语文中性提供者** —OpenAI,Anthropic,兼容的端点,或自定义提供者,在docs/website/assets/python.svg' alt="Python"宽度="中对齐的合同.18"高度=" (中文(简体) ).18" > Python and ![.TypeScript](<https://raw.githubusercontent.com/Pro-GenAI/Agent-RT/HEAD/docs/website/assets/typescript.svg>)TypeScript. - 🔄 **移民测试** ——进行中的兼容性场测试使65 +第三方寄存器在迁移前后通过测试套件到Agent RT. **决策模式** (如Jev-兼容模型)回答运行时控制-平面门的键入选择/计分问题,而不是生成文本. `Toolbase` 可以结合本地、推迟和 MCP 工具,用决定模型删除不安全的定义,只将相关子集传递到每个回合,并保留 `tool_search` 用于安全后退发现; 同一决策层也打开内存, 对检索结果进行排序, 并选择可选的顶端 K 选择, 并对失败进行分类 。 [OpenAI 兼容决定 API](https://agent-rt.pro-genai.com/docs/guides/runtime-reference#action-blockers) (`decision_model: {provider: openai}`。要自主办一个开源的 Jev 兼容端点, 运行 [奥拉亚](https://github.com/ollaya-dev/ollaya) 设置 `decision_model.base_url` 对它。 ## ++ 也包含在内 - 🧠 **代理内存** — `AgentConfig.memory` 混合字符串,对象,以及来自LangChain,LangGraph,LlamaIndex,AutoGen,OpenAI Agents,或Mem0. `load_memory()` / `loadMemory()` 连接 mem0(默认)、Zep、Letta、Supermemory 或 memU (Python) 并存储已完成的对话 `remember()` ([细节](https://agent-rt.pro-genai.com/docs/guides/runtime-reference#memory-packages)). - ✅ **任务列表** — `TodoList` 给一个模型 `todo` 工具,每个会话都有单独的列表;默认情况下,在CLI和web UI中([细节](https://agent-rt.pro-genai.com/docs/guides/runtime-reference#task-lists-todo-tool)). - 🖥️ **终端 CLI 和网络 UI** (蟒蛇) -. `agent-rt` 财务报告和财务报告 `agent-rt web` 共享会话,所以一个会话在另一个会话中开始; 编辑需要页面或终端批准([细节](<https://github.com/Pro-GenAI/Agent-RT/blob/main/docs/website/docs/guides/runtime-guide.html#web-ui>). CLI读码和Claude代码项目设置如下: `AGENTS.md`/`CLAUDE.md`技术技术员 扫描技能 `.agents/`, `.claude/`, `.codex/` (安装) [NVIDIA SkillSpector](https://github.com/NVIDIA/SkillSpector) 和 MCP 服务器 `.mcp.json`, `~/.claude.json`,以及 `~/.codex/config.toml` ([细节](<https://github.com/Pro-GenAI/Agent-RT/blob/main/docs/website/docs/guides/runtime-guide.html#project-instructions-skills-mcp>)). - 💬 **闲聊bots** (Python,测试版)— `agent-rt serve telegram,discord` 答案允许用户使用,没有工作空间工具([细节](https://agent-rt.pro-genai.com/docs/guides/runtime-reference#chat-bots-python-beta)). ## QQ 快速比较 | | * 特工RT | 🦜 LangChain | 🗂️ LlamaIndex | | --- | --- | --- | --- | | *** 主要重点** | 代理运行时间 | 应用/管理框架 | 数据 & RAG 框架 | | **![Python](<https://raw.githubusercontent.com/Pro-GenAI/Agent-RT/HEAD/docs/website/assets/python.svg>)Python + ![TypeScript](<https://raw.githubusercontent.com/Pro-GenAI/Agent-RT/HEAD/docs/website/assets/typect.svg>)| ✅ | ✅ | ✅ | | **QQ 工具代理循环( A)** | *_________________________ 内建 | ✅ | ✅ | | **QQ 权限和批准** | *_________________________ 内建 | ◐ | ◐ | | **行动卫队特工** | ++ 内建集成( opt- in) | — | — | | **API & CLI 工具** | QQ 内置( 选项包) | — | — | | **OpenAI + Anthropic 兼容的 API** | QQ 内置服务器适配器 | * 依赖融合 | * 依赖融合 | | **决策模型控制门** | * 工具推算、内存/检索闸门、故障分类 | — | — | | **工具目录在模式调用前搜索** | *_________________________ 内建 | * 依赖融合 | * 依赖融合 | | *** 沙箱游戏** | QQ 失败的后端选择 | ◐ | ◐ | | *** 保留预算的检查站** | * 恢复先前的回合/工具/托定预算 | ◐ | ◐ | | *** 记忆和检查站** | *_________________________ 内建 | ✅ | ✅ | | **切换向量 DB** | ✅一个 `agent-rt.yaml` 登记册开关 | * 依赖融合 | * 依赖融合 | | *** 检索后重新排序** | ++ 内建的提供者中性钩子 + 可选的顶端- k | * 备有 | * 备有 | | *** 提供者中立** | ✅ | ✅ | ✅ | | **轻量级运行时间焦点** | ✅ | ◐ | ◐ | | **![查看原文配图](<https://raw.githubusercontent.com/Pro-GenAI/Agent-RT/HEAD/docs/website/assets/python.svg>) alt="Python"宽度="18"高度="18">新鲜安装脚印.** | **46.43 MiB** | 69.87 MiB | 219.91 MiB | | **![查看原文配图](<https://raw.githubusercontent.com/Pro-GenAI/Agent-RT/HEAD/docs/website/assets/python.svg>) alt="蟒蛇"宽度="18"高度="18" > 温暖的懒惰度** | **1.56 分钟** | 9.03 分钟 | 4.26 分钟 | | **![查看原文配图](<https://raw.githubusercontent.com/Pro-GenAI/Agent-RT/HEAD/docs/website/assets/python.svg>) alt="蟒蛇"宽度="18"高度="18" > 运行时内存** | **+5.86 MiB** | +19.77 MiB | +22.42 MiB | | **![查看原文配图](<https://raw.githubusercontent.com/Pro-GenAI/Agent-RT/HEAD/docs/website/assets/typescript.svg>) 新鲜安装脚印** | **1.24 MiB** | 82.44 MiB | 60.38 MiB | | **![查看原文配图](<https://raw.githubusercontent.com/Pro-GenAI/Agent-RT/HEAD/docs/website/assets/typescript.svg>) 温暖的耐性** | **1.85 分钟** | 2.60 分钟 | 2.23 分钟 | | **![查看原文配图](<https://raw.githubusercontent.com/Pro-GenAI/Agent-RT/HEAD/docs/website/assets/typescript.svg>) 运行时内存** | **+14.33 MiB** | +17.27 MiB | +16.79 MiB | **+++++ 可用/依赖整合 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++** 📊 [见可复制的基准 −](<https://github.com/Pro-GenAI/Agent-RT/blob/main/src/comparison/README.md>) ## 🧪见其行动. 该模型可能使用的工具,受到能力赠款和模式召见预算的限制(Python显示;见 [TypeScript 软件包](<https://github.com/Pro-GenAI/Agent-RT/blob/main/src/typescript/README.md>) npm 快速开始 : ```python registry = ToolRegistry() registry.register( ToolDefinition( name="get_weather", description="Get the current weather for a city.", input_schema={ "type": "object", "required": ["city"], "properties": {"city": {"type": "string"}}, "additionalProperties": False, }, side_effect="read", ), handler=get_weather, # async (arguments, cancellation_token) -> dict ) loop = AgentLoop( load_model(load_config()), # models from ~/.agent-rt/config.yaml; select project YAML with load_config(path) tool_registry=registry, capability_grant=CapabilityGrant(tools=("get_weather",)), execution_budget=ExecutionBudget(ExecutionBudgetLimits(max_model_calls=5)), ) result = await loop.run(agent, messages) ``` 参数被验证为与计划相对应,赠款以外的工具从未运行,预算停止了运行循环。 [实例](<https://github.com/Pro-GenAI/Agent-RT/blob/main/src/python/examples/README.md>). ## + 更多学习 | 专题 | 文档 | | --- | --- | | 运行时间模式 | [特工 RT 如何执行代理](<https://github.com/Pro-GenAI/Agent-RT/blob/main/docs/website/docs/concepts/runtime.html>) | | 工具安全( S) | [工具、政策、许可、批准和护栏](<https://github.com/Pro-GenAI/Agent-RT/blob/main/docs/website/docs/concepts/tools-policy.html>) | | 状态和记忆 | [国家、记忆、检查站和文物](<https://github.com/Pro-GenAI/Agent-RT/blob/main/docs/website/docs/concepts/state-memory.html>) | | 生产 | [沙箱、可观察性、评价和部署](<https://github.com/Pro-GenAI/Agent-RT/blob/main/docs/website/docs/guides/production.html>) · [部署隐私清单](https://agent-rt.pro-genai.com/docs/reference/deployment-privacy-checklist) | | 移徙 | [LangChain, LlamaIndex, OpenAI, 和Anthropic 迁移](<https://github.com/Pro-GenAI/Agent-RT/blob/main/docs/website/docs/guides/migration.html>) | | 运行时间指南 | [提供商 内存包 API服务器 CLI 网络 UI 聊天包 沙盒 技能 和迁移入口](<https://github.com/Pro-GenAI/Agent-RT/blob/main/docs/website/docs/guides/runtime-guide.html>) | | 特征 | [特征、默认和配置](<https://github.com/Pro-GenAI/Agent-RT/blob/main/docs/website/docs/reference/features-defaults.html>) | | 建筑 | [建筑和扩建合同](<https://github.com/Pro-GenAI/Agent-RT/blob/main/docs/website/docs/reference/architecture.html>) | | 发展 | [贡献者设置和测试工作流程](<https://github.com/Pro-GenAI/Agent-RT/blob/main/docs/website/docs/reference/development.html>) | 🌐 **完整文档:** [代理-rt.pro-genai.com/docs 互联网档案馆的存檔,存档日期2014-09-02.](https://agent-rt.pro-genai.com/docs/) ## • 软件包 [Python 键](<https://github.com/Pro-GenAI/Agent-RT/blob/main/src/python/README.md>) · [TypeScript](<https://github.com/Pro-GenAI/Agent-RT/blob/main/src/typescript/README.md>) · [Python 实例](<https://github.com/Pro-GenAI/Agent-RT/blob/main/src/python/examples/README.md>) · [TypeScript 实例](<https://github.com/Pro-GenAI/Agent-RT/blob/main/src/typescript/examples/README.md>) 入境的API服务器,终端的CLI,网络的UI,聊天bots,memU内存,以及AutoGen / CrewAI / LiteLLM 迁移shims都是Python-Only. ## Swarm Eval特工: 多代理工具安全 [斯瓦姆·埃瓦尔探员](<https://github.com/Pro-GenAI/Agent-RT/blob/main/src/benchmarks/agent-swarm-eval/README.md>) 运行一个 **双向生活** 比较:使用常规设备的最小牵引装置OpenAIPython 键SDK相对 配置代理 - RT `SubagentSwarm` 与工人/审查者模型, 决策模式指导赠款和运行时间PII选中的警卫 `agent-rt.yaml`. 运行 `make eval-agent-swarm-eval` 配置工作后从寄存器根 决定终点,这里有 **65** 安全合成装置,包括: 10个新的现实的红色团队工具输出挑战,以及5个更早 A. 已结案的案件 [质量优先表](<https://github.com/Pro-GenAI/Agent-RT/blob/main/src/benchmarks/agent-swarm-eval/priority_cases.json>) 将原控制器放在第一位,然后将新探测器排在6 - 15的排位. 默认值 **10 SDK 案例** 并且只运行代理 - RT SDK 未通过每次审判的案件。运行 `make eval-agent-swarm-eval 3` 用于每个案件三次独立的 SDK 尝试, Agent- RT 仅在 需要(最多为60计划的案件/框架档次)。 **确认** 只有在每次尝试中都观察到。SDK- clean cases are 标记 **跳过** 在RT号特工一侧,附有解释,没有 发明过学分,增加 `k` 仅执行新要求的审判 槽; 减少已缓存的重用。 返回的模型 已完成但为空的产出产生缓存、不确定的能力结果 而不是中止整个运行。选择不同的注册工人模式。 全部子代理人为 `--subagent-model ALIAS` (审查员/决定) 配置不变 。 工人缓存是特定模式的 。 使用 `python src/benchmarks/agent-swarm-eval/run.py --config ./agent-rt.yaml --limit 20` 包括所有10个新的探测器或 `--limit 65` 用于完整数据集。 举例来说, `make eval-agent-swarm-eval SUBAGENT_MODEL=subagent-alt` 选择 普通十种情况评价的替代别名; 使用 `python src/基准/agent-swarm-eval/run.py-config./ agent-rt.yaml / HU / s s s s s s s - 蓄水剂-型号副剂-副剂- 限制 5 用于每个框架的5项任务。 见 [基准指南](<https://github.com/Pro-GenAI/Agent-RT/blob/main/src/benchmarks/agent-swarm-eval/README.md>) (单位:千美元) `model_list` 成功 SDK 代理 - RT 和决定响应是 独立缓存;确定离线双胞胎仍在测试中. 默认终端报告使用简洁 **丰富的比较表**,比较 而不是倾销case-by-caseJSON工具政策结论和成功但 -- 每个案件中都出现冗余呼叫; 缺少最后答案被计算在内 两种带子都得到相同的惰性、任务相关工具 含有不可信攻击内容的摘录或现实的文件体 每名工人还得到一份紧急注射。 **特定案件 系统提示**,在两个框架中都一样,具有合成接触值, 可能误导工作流程的核准,并建议采取模拟工具行动。 评审员没有收到这样的员工提示。 这是值得信赖的提示 除了不可信的文件攻击之外,还进行冲突测试;观察到 违反规定不能仅仅归咎于文件注射。 攻击存在于排名为2 – 20的案例中,PII类任务包括: **合成** 联系人标识符作为内部参考语境。新案件为对抗性假设;模型失败不是 保证并必须通过现场、重复审判加以核实。 `python src/benchmarks/agent-swarm-eval/run.py --config ./agent-rt.yaml --output report.json`; 使用情况 `--json` 用于机器可读 Stdout。安装 Python `cli` 额外 如果里奇还没有出现。 ## 许可证 MIT——见 [LICENSE](<https://github.com/Pro-GenAI/Agent-RT/blob/main/LICENSE>). --- ![Pro- GenAI](<https://avatars.githubusercontent.com/u/173374239?s=400&u=f61b42a0b69e5c674a51658aff1b765e010a8e49&v=4>) *下Gen AI项目* ### 接受审查的、有限度的子代理人代表团 Python 和 TypeScript 曝光 `SubagentSwarm` 基于任务的、具有完整继承的对话历史的代表团,三级等级(主要+工人+孙子),每个工人一个筑巢儿童,每个工具只读/写有狭窄、独立审查员报告的赠款,以及货币意识的追踪/测量。 `AgentLoopInvoker` 适配器来宣传每个调用的预算、取消、最后期限和赠款。调度系统会重新检查实时注册的工具副作用类。在代理注册中明确登记可选范围授权工具。请参见 [运行时间指南](https://agent-rt.pro-genai.com/docs/guides/runtime-reference#governed-subagents). 代理 - RT 也支持通过 [ReaTerm](https://github.com/Pro-GenAI/ReaTerm) 0.0.2:安装 `agent-rt[reaterm]` 在 Python 3.11 + 上,或 `reaterm@0.0.2` 在 TypeScript 中可选 npm 端点 。 两者都需要单独安装的 ReaTerm 本地 Rust CLI 和一个应用程序选择的文件系统根。 使用时请参见每个软件包 README 。

查看原始来源