首页 文章 精选 留言 我的

精选列表

搜索[AI],共10000篇文章
优秀的个人博客,低调大师

装好开发 Skill 后怎样验收 AI 产品

开发指引安装成功,只能说明编程助手有机会读到一套做事方法。产品是否完成,要看用户能否在实际入口中输入需求、触发业务动作,并核对结果。Tansr Skill 负责指导开发;`@tansr/sdk` 或会话服务负责产品运行时的智能体执行;数据、登录和业务规则仍由应用提供。这几层需要分别验收。 2026 年 10 月 22 日,Anthropic 在智能体架构文章中讨论把部分子代理改为 Skills 与工具,并建议用端到端任务完成情况评估变化。对开发者,这提出了一个实际问题:无论增加技能还是调整架构,最终都应检查整件任务是否完成,不能只看助手的最终回复。[Anthropic 的架构与评估建议](https://claude.com/resources/articles/building-agents-when-to-fold-subagents-into-your-main-agent-loop) ## 开发指引和运行时技能分别给谁用 Tansr Skill 装在已有的编程助手里,用来指导理解需求、保留现有项目、完成产品接线和检查。安装本身不创建平台账号,不触发模型调用,也不部署应用;文件写入后,还需确认助手能够读取 `SKILL.md`。[Tansr Skill 的定位与安装边界](https://docs.tansr.com/getting-started/skill/) 产品运行时另有一套技能机制。应用可以用 `defineSkill` 声明指引,或显式提供技能目录,让产品里的智能体在执行任务时使用。它不会自动扫描开发者的个人技能目录。开发助手读过订单处理规则,不等于交付出去的订单助手也已装载这些规则。[运行时的 Skills 与工具装配](https://docs.tansr.com/sdk/platform-bundle/) 可以按使用者区分四层: |层次|处理什么|需要核对什么| | --- | --- | --- | |编程助手中的 Tansr Skill|指导构建与修改产品|助手是否加载,需求是否落实到项目| |产品运行时的技能|给产品智能体提供流程与判断指引|当前应用是否装载了正确材料| |SDK 或会话服务|组织模型、工具、会话与运行事件|实际产品是否经过这条执行链| |业务函数与数据服务|查询记录、执行操作、校验权限|返回值是否来自正确用户和真实业务状态| 技能说明可以写“查询前先检查订单范围”,真正阻止越权查询的规则仍应落实到业务服务中。模型生成的解释,也不能代替订单系统的查询结果。 ## 接上运行时以后,哪些工作可以复用 直接调用模型 API 时,若要连续查询、读取工具结果再继续处理,应用需要组织这条循环,并把执行过程传给界面。Tansr 的 Node SDK 提供查询环、工具调度、权限引擎和上下文处理,以无界面的库嵌入应用;它不会替产品生成一套固定界面。[Node SDK 的运行职责](https://docs.tansr.com/getting-started/sdk/) 业务函数可通过 `defineTool` 描述给模型并接入运行链。模型提出调用,运行时组织执行与结果回传,应用的函数访问原有系统。这让开发者能够复用智能体执行环节,继续维护已有数据和操作规则,而不是把模型的文字当作已经执行的业务动作。[业务工具装配](https://docs.tansr.com/sdk/platform-bundle/) 执行过程还要进入产品入口。SDK 提供工具生命周期事件,`SessionView` 将事件归约为消息、工具等视图状态;应用据此显示正在查询、返回结果或发生错误。开发者仍需把状态接到自己的页面,并处理用户能理解的交互。[事件流与状态投影](https://docs.tansr.com/sdk/sessions-and-events/) ## 用一条订单查询区分演示和交付 下面是虚构的产品设计示例,不是客户案例或实测结果。 用户在现有订单系统输入:“找出我负责的、承诺本周交付但尚未发货的订单,按交付日排序,先不要通知客户。” 输入之后,模型负责理解筛选要求;工具调用进入运行链;业务函数依据登录用户查询订单,并返回订单号、交付日、发货状态和可打开的记录入口。页面显示查询进度和订单列表,模型再根据返回数据解释排序。这里的“未发货”必须来自订单服务,不能由模型根据聊天内容猜测。 这条业务流的可核对输出,是用户能打开原订单记录、检查筛选条件,并确认没有发送通知。若只得到一句“已整理好逾期风险订单”,却没有记录和查询结果,业务流尚未兑现。反过来,只做出一张静态订单卡片,也不能证明调用发生过。 需求交给编程助手时,可以把验收写得具体:沿用原登录与数据库,做出能操作的查询入口,展示工具进度和记录,查询失败时保留筛选条件并解释失败。这样,开发指引服务的是完整业务任务,而不是孤立的 SDK 片段。Tansr 对产品交付的定义也包含可操作入口、业务流,以及入口中的执行进度与结果。[产品交付的三项要求](https://docs.tansr.com/getting-started/principles/) ## 验收要从用户入口走到业务记录 对这个示例,可以用四种输入检查交付是否成立: - 正常查询:返回的每条记录都符合负责人、日期和发货条件,顺序正确。 - 没有匹配订单:明确显示空结果,不补造订单。 - 查询服务失败:显示错误,不能把失败包装成空结果或成功摘要。 - 试图查询另一人的订单:业务服务按当前身份限制数据,修改提示词不能绕过授权。 检查应在产品入口操作,并对照业务服务的实际结果。工具完成事件能说明运行链收到完成结果,但订单是否被修改、通知是否发出,还要查业务系统的权威记录。若将来加入通知功能,就应增加收件人、内容、授权和发送回执的验收。 本地服务能启动,也只完成本地链路的一部分。真实模型接入、平台换票和公网部署各有前提;健康检查不能替代这些结果。应用密钥应留在服务端,不能为了让编程助手继续开发而贴进聊天。[开发接线与凭据边界](https://docs.tansr.com/getting-started/skill/) ## 哪些情况下不必引入整套运行链 只有一次固定文本生成、不需要工具循环和持续会话的功能,可以继续使用现有模型 API。已经有成熟运行层的产品,也不必因为装了 Tansr Skill 就更换架构。 需要在自有产品中持续处理多步工具任务,又希望复用运行循环、权限和状态投影时,Tansr SDK 才有具体的采用位置。开发指引帮助把这条链落实到项目;运行时承接通用执行机制;原业务系统继续提供可信数据与操作。下一步应先选一条边界清楚的业务流,把正常、空结果、失败和越权输入都走通,再扩大工具范围。

优秀的个人博客,低调大师

Team-Level Memory for AI Agents: Architecture Patterns

Multi-agent systems are everywhere in 2026 — research agents, coding agents, review agents, each with a role. But there's a gap most architectures don't address: **how do agents share what they've learned?** Without shared memory, every agent starts from scratch. The scout agent does market research; the builder agent doesn't benefit. The reviewer finds a bug; next sprint, a different agent hits the same bug. Team-level memory closes that gap. ## What Team-Level Memory Means It's not a shared chat log. It's a governed asset library where: |Asset|What It Stores|How It's Shared| | --- | --- | --- | |Chat Memory|User preferences, decisions, interaction history|Private by default; explicitly shared with team| |Skill|Reusable workflows with versions, triggers, validation rules|Private → reviewed → team-shared → assigned to agents| |Wiki|Structured document pages with link graph|Team-visible by default| |CodeGraph|Code symbols, call relationships, impact paths|Team-visible; assigned to specific agents| ## Architecture: The Memory Hub Pattern [TencentDB Agent Memory](https://github.com/TencentCloud/TencentDB-Agent-Memory) implements team-level memory through a central **Memory Hub**: ``` ┌─────────────────────────────────────────────┐ │ Memory Hub │ │ │ │ ┌──────────┐ ┌──────┐ ┌─────┐ ┌──────────┐ │ │ │Chat Mem │ │Skill │ │Wiki │ │CodeGraph │ │ │ └──────────┘ └──────┘ └─────┘ └──────────┘ │ │ │ │ Permissions · Versions · Ownership · ACL │ └──────────┬──────────┬──────────┬─────────────┘ │ │ │ ┌────┴───┐ ┌────┴───┐ ┌────┴───┐ │ Scout │ │Builder │ │Reviewer│ │ Agent │ │ Agent │ │ Agent │ └────────┘ └────────┘ └────────┘ ``` Key design decisions: ### 1. Framework-agnostic Agents connect via a Proxy — no plugin, hook, or MCP server. Claude Code, Codex, DeepSeek Harness, CodeBuddy all share the same memory. ### 2. Cold-start friendly Import existing codebases (CodeGraph auto-indexes), documents (Wiki auto-structures), and past conversations (Skills and Chat Memory auto-extract). ### 3. Visibility by design - `private` — only the Owner can read; even team admins cannot access - `team` — all team members can read; Owner/Admin can manage - `restricted` — precise access via User/Role/Agent ACL - `agent` — targeted equipping of specific agents within the team ## Agent Loadout: Different Roles, Different Memory ``` Scout Agent ├── User interview Chat Memory ├── Market research Wiki └── Competitive analysis Skill Builder Agent ├── Product Wiki ├── Project CodeGraph └── Feature Delivery Skill Reviewer Agent ├── Historical incident Chat Memory ├── Project CodeGraph └── Release Checklist Skill ``` Each agent gets only the memory assets it needs — less noise, better focus. The idea: you're not opening four disconnected chat windows. You're assembling a squad with different roles that inherits the team's accumulated experience. ## The Four-Layer Memory Architecture Memory isn't flat records — it grows in layers: |Layer|What It Stores|Primary Use| | --- | --- | --- | |L0 Conversation|Raw conversations with full context|Verify exact wording, timestamps, sources| |L1 Atom|Facts, preferences, constraints, events extracted from conversations|Precise recall of actionable information| |L2 Scenario|Knowledge blocks organized around projects or scenarios|Fast context recovery| |L3 Persona|Long-term user profile, stable patterns, high-level cognition|Quick user and team understanding| Retrieval: L2/L3 provides fast context guidance; when specifics are needed, BM25 + vector search + RRF falls back to L1/L0. Results are constrained by entry count, character budget, and timeout. ## Benchmark On PersonaMem (tests whether agents correctly understand and apply user information after long interactions): |Without Memory|With TencentDB Agent Memory|Improvement| | --- | --- | --- | |48%|76%|+59%| ## Supported Agents DeepSeek Harness · Claude Code · Codex · CodeBuddy · WorkBuddy · Hermes · OpenClaw One Proxy, unchanged protocol, zero-code integration. ## Getting Started MIT licensed. ``` git clone https://github.com/TencentCloud/TencentDB-Agent-Memory.git cd TencentDB-Agent-Memory/deploy/global-images cp .env.example .env $EDITOR .env # Fill in two sets of LLM parameters ./start-all.sh # Launch everything with one command ``` Panel: http://localhost:8125 Repo: [https://github.com/TencentCloud/TencentDB-Agent-Memory](https://github.com/TencentCloud/TencentDB-Agent-Memory)

资源下载

更多资源
Mario

Mario

马里奥是站在游戏界顶峰的超人气多面角色。马里奥靠吃蘑菇成长,特征是大鼻子、头戴帽子、身穿背带裤,还留着胡子。与他的双胞胎兄弟路易基一起,长年担任任天堂的招牌角色。

腾讯云软件源

腾讯云软件源

为解决软件依赖安装时官方源访问速度慢的问题,腾讯云为一些软件搭建了缓存服务。您可以通过使用腾讯云软件源站来提升依赖包的安装速度。为了方便用户自由搭建服务架构,目前腾讯云软件源站支持公网访问和内网访问。

Spring

Spring

Spring框架(Spring Framework)是由Rod Johnson于2002年提出的开源Java企业级应用框架,旨在通过使用JavaBean替代传统EJB实现方式降低企业级编程开发的复杂性。该框架基于简单性、可测试性和松耦合性设计理念,提供核心容器、应用上下文、数据访问集成等模块,支持整合Hibernate、Struts等第三方框架,其适用范围不仅限于服务器端开发,绝大多数Java应用均可从中受益。

Rocky Linux

Rocky Linux

Rocky Linux(中文名:洛基)是由Gregory Kurtzer于2020年12月发起的企业级Linux发行版,作为CentOS稳定版停止维护后与RHEL(Red Hat Enterprise Linux)完全兼容的开源替代方案,由社区拥有并管理,支持x86_64、aarch64等架构。其通过重新编译RHEL源代码提供长期稳定性,采用模块化包装和SELinux安全架构,默认包含GNOME桌面环境及XFS文件系统,支持十年生命周期更新。

用户登录
用户注册