Loading...
Loading...
Compare original and translation side by side
"I can help you set up a shared workspace on any entity — so agents, humans, and systems can collaborate on the same record. What entity do you want to collaborate on, and who are the contributors?"
"我可以帮您在任意实体上设置共享工作空间,让Agent、人类和系统能够协作处理同一份记录。您想针对哪个实体进行协作,参与贡献的角色有哪些?"
| What you want | SDK method | MCP tool |
|---|---|---|
| Write to workspace | | |
| Batch write | | (SDK only) |
| Read workspace digest | | (SDK only — use |
| Search workspace | | |
| Simple lookup | | |
| Search records by filters | | (SDK only) |
| Get governance rules | | |
| Generate with workspace context | | (use assembled context) |
| Manage collections | | (SDK only) |
Important: Use(notsmartRecall()) for workspace reads that needrecall(),limit, orfast_mode. The simplerinclude_property_valuesonly acceptsrecall(),query,,record_id, andwebsite_url. Seefiltersfor raw REST equivalents.reference/api-examples.md
Guiding AI agents via MCP? Readfor complete system prompt templates, MCP tool call examples, role-specific prompts (sales intel, CS health, product analytics, human-in-the-loop), and multi-agent coordination patterns.reference/agent-prompts.md
| 需求 | SDK方法 | MCP工具 |
|---|---|---|
| 写入工作空间 | | |
| 批量写入 | | (仅支持SDK) |
| 读取工作空间摘要 | | (仅支持SDK — 可结合定向查询使用 |
| 搜索工作空间 | | |
| 简单查询 | | |
| 按过滤器搜索记录 | | (仅支持SDK) |
| 获取治理规则 | | |
| 结合工作空间上下文生成内容 | | (使用整合后的上下文) |
| 管理集合 | | (仅支持SDK) |
重要提示: 当需要在工作空间读取中使用、limit或fast_mode参数时,请使用include_property_values(而非smartRecall())。更简单的recall()仅支持recall()、query、、record_id和website_url参数。原始REST接口的等价实现请查看filters。reference/api-examples.md
通过MCP引导AI Agent? 查看获取完整的系统提示模板、MCP工具调用示例、角色专属提示(销售情报、客户成功健康度、产品分析、人类参与循环)以及多Agent协作模式。reference/agent-prompts.md
reference/architecture.mdGUIDELINES → "What are the rules?" → ai_smart_guidelines
MEMORY → "What do I know about this entity?" → recall / smartDigest
WORKSPACE → "What's been done & what's next?" → recall by tag / memorizeUsing workspaces in workflows (n8n, Trigger.dev, cron)? Agents in workflows don't have access to Skills — they only have MCP tools. Upload the workspace protocol as a governance variable so any agent gets it via. Readai_smart_guidelinesfor the guideline template, upload instructions, and workflow prompt injection snippets.reference/governance-setup.md
Using the GTM Workflows Builder skill? Therecipe shows how a Trigger.dev pipeline can analyze a CRM lead and write findings back to the contact's workspace — bridging the GTM and Shared Workspace skills.recipes/trigger-dev-bridge.ts
reference/architecture.mdGUIDELINES → "规则是什么?" → ai_smart_guidelines
MEMORY → "我对该实体了解什么?" → recall / smartDigest
WORKSPACE → "已完成哪些工作,下一步是什么?" → 按标签查询 / memorize在工作流(n8n、Trigger.dev、cron)中使用工作空间? 工作流中的Agent无法访问Skill,只能使用MCP工具。将工作空间协议作为治理变量上传,这样任意Agent都可以通过获取该协议。治理变量模板、上传说明和工作流提示注入代码片段请查看ai_smart_guidelines。reference/governance-setup.md
使用GTM Workflows Builder Skill?示例展示了Trigger.dev管道如何分析CRM线索,并将分析结果写回联系人的工作空间——打通了GTM与共享工作空间Skill。recipes/trigger-dev-bridge.ts
| Action | When to Use | Reference |
|---|---|---|
| CREATE | Design and attach a workspace to an entity type | |
| USE | Contribute to or read from a workspace | |
| GROW | Add new property types as the workspace matures | |
| REVIEW | Audit workspace health and collaboration quality | |
| 操作 | 使用场景 | 参考文档 |
|---|---|---|
| CREATE(创建) | 为某类实体设计并附加工作空间 | |
| USE(使用) | 向工作空间提交内容或读取工作空间 | |
| GROW(扩展) | 随着工作空间成熟添加新的属性类型 | |
| REVIEW(审核) | 审核工作空间健康度与协作质量 | |
| Property | Type | Semantics | What goes here |
|---|---|---|---|
| Context | text | replace | Current state. What's going on right now. Rewritten each cycle. |
| Updates | array | append (immutable) | What happened. Who did it. When. The timeline. |
| Tasks | array | append (mutable) | What needs to happen. Who owns it. Status. |
| Notes | array | append (immutable) | Observations, knowledge, ideas from any contributor. |
| Issues | array | append (mutable) | Problems, blockers, risks. Status and resolution. |
| 属性 | 类型 | 语义规则 | 存储内容 |
|---|---|---|---|
| Context(上下文) | 文本 | 覆盖替换 | 当前状态,即当前正在发生的情况,每个周期重写一次 |
| Updates(更新记录) | 数组 | 追加(不可变) | 已发生的事件、执行人、时间,即时间线记录 |
| Tasks(任务) | 数组 | 追加(可变) | 需要完成的工作、负责人、状态 |
| Notes(笔记) | 数组 | 追加(不可变) | 任意贡献者的观察、知识、想法 |
| Issues(问题) | 数组 | 追加(可变) | 问题、障碍、风险,以及状态和解决情况 |
authorsmartGuidelines()criticalauthorsmartGuidelines()criticalclient.collections.create()client.collections.list()Full guide: Readfor the complete design workflow, property specifications, entry schemas, domain-specific naming examples, and verification steps.reference/create.md
client.collections.create()client.collections.list()完整指南: 完整设计流程、属性规范、记录结构、业务场景命名示例和验证步骤请查看。reference/create.md
READ → smartDigest() gives you the full workspace state in one call
GOVERN → smartGuidelines() tells you what rules apply to your role
ACT → Do your work (analyze, generate, decide, communicate)
RECORD → memorize() your contribution (update, task, note, issue)READ → 调用smartDigest()获取完整的工作空间状态
GOVERN → 调用smartGuidelines()了解自身角色对应的规则
ACT → 完成工作(分析、生成内容、决策、沟通)
RECORD → 调用memorize()记录贡献内容(更新、任务、笔记、问题)// Agent adds a task to a contact workspace
await client.memory.memorize({
content: JSON.stringify({
title: 'Schedule QBR prep call',
description: 'Usage dropped 30% — need to understand why before renewal.',
status: 'pending',
owner: 'account-manager',
createdBy: 'cs-health-agent',
priority: 'high',
dueDate: '2026-03-01',
}),
email: 'sarah@acme.com',
enhanced: true,
tags: ['workspace:tasks', 'source:cs-health-agent'],
});// Agent向联系人工作空间添加任务
await client.memory.memorize({
content: JSON.stringify({
title: '安排QBR准备会议',
description: '使用率下降30% — 续约前需要了解原因。',
status: 'pending',
owner: 'account-manager',
createdBy: 'cs-health-agent',
priority: 'high',
dueDate: '2026-03-01',
}),
email: 'sarah@acme.com',
enhanced: true,
tags: ['workspace:tasks', 'source:cs-health-agent'],
});const digest = await client.memory.smartDigest({
email: 'sarah@acme.com',
type: 'Contact',
token_budget: 3000,
include_properties: true,
include_memories: true,
});
// digest.data.compiledContext contains the full workspace narrative:
// context, recent updates, open tasks, notes, unresolved issues — all compiledconst digest = await client.memory.smartDigest({
email: 'sarah@acme.com',
type: 'Contact',
token_budget: 3000,
include_properties: true,
include_memories: true,
});
// digest.data.compiledContext包含完整的工作空间整合内容:
// 上下文、近期更新、未完成任务、笔记、未解决问题 — 全部已整合| Level | What happens | When to use |
|---|---|---|
| Report only | Agents contribute notes and updates. Humans create tasks and make decisions. | Starting out. Building trust. |
| Suggest | Agents create tasks with status | Agents have proven reliable. |
| Act and log | Agents execute tasks autonomously and record outcomes. Critical issues still escalate. | High confidence in agent quality. |
| Full autonomy | Agents act within governance boundaries. Humans audit by reading, not approving. | Mature workspace with strong governance. |
Full guide: Readfor all contribution patterns, entry formats, consumption patterns, tagging conventions, agent loop examples, and human contribution flows.reference/use.md
| 级别 | 具体表现 | 使用场景 |
|---|---|---|
| 仅汇报 | Agent仅提交笔记和更新,人类创建任务并做出决策 | 初始阶段,建立信任期 |
| 建议 | Agent创建状态为 | Agent已证明可靠 |
| 执行并记录 | Agent自主执行任务并记录结果,严重问题仍需升级处理 | 对Agent质量高度信任 |
| 完全自主 | Agent在治理框架内自主行动,人类仅通过读取工作空间进行审核 | 成熟的工作空间,具备完善的治理规则 |
完整指南: 所有提交模式、记录格式、读取模式、标签规范、Agent循环示例和人类贡献流程请查看。reference/use.md
| You say... | Add this property |
|---|---|
| "I need agents to explain their reasoning" | Decisions — question, decision, reasoning, alternatives, confidence, autonomous, approvedBy |
| "I need to track what was communicated" | Messages Sent — channel, recipient, summary, sentAt, triggeredBy, status |
| "I need proactive monitoring between cycles" | Monitors — target, description, type, frequency, action, status, lastChecked |
| "I need alerts that route to the right person" | Alerts — title, severity, message, targetAudience, action, status, acknowledgedBy |
| "I need periodic summaries for stakeholders" | Reports — title, content, period, generatedBy, audience, timestamp |
| "I need to know who's active on this record" | Participants — participantId, type, role, scope, lastActive, status |
Full guide: Readfor complete property definitions, entry schemas, when-to-add guidance, and examples of workspaces at different maturity stages.reference/grow.md
| 您的需求 | 建议添加的属性 |
|---|---|
| "我需要Agent解释其推理过程" | Decisions(决策) — 问题、决策、推理过程、备选方案、置信度、是否自主执行、批准人 |
| "我需要跟踪已发送的沟通内容" | Messages Sent(已发送消息) — 渠道、收件人、摘要、发送时间、触发原因、状态 |
| "我需要在循环之间进行主动监控" | Monitors(监控) — 监控目标、描述、类型、频率、操作、状态、上次检查时间 |
| "我需要将警报发送给合适的人员" | Alerts(警报) — 标题、严重程度、消息、目标受众、操作、状态、确认人 |
| "我需要为利益相关者生成定期摘要" | Reports(报告) — 标题、内容、周期、生成者、受众、时间戳 |
| "我需要了解哪些参与者在处理该记录" | Participants(参与者) — 参与者ID、类型、角色、范围、最后活跃时间、状态 |
完整指南: 所有扩展属性的定义、记录结构、添加时机以及不同成熟度的工作空间示例请查看。reference/grow.md
| Signal | What it means | How to detect |
|---|---|---|
| Stale context | Nobody has updated the Context property recently | |
| Orphaned tasks | Tasks assigned but never picked up | |
| Unanswered issues | Issues raised but no investigation or resolution | |
| Silent contributors | An expected participant hasn't contributed recently | |
| Empty workspaces | Entity has a workspace but nobody writes to it | |
| One-sided collaboration | Only one agent contributes — others don't read or act | Check author diversity across entries |
| 信号 | 含义 | 检测方式 |
|---|---|---|
| 上下文过时 | Context属性近期未更新 | 调用 |
| 无人处理的任务 | 已分配但从未被处理的任务 | 调用 |
| 未解决的问题 | 已提出但未调查或解决的问题 | 调用 |
| 沉默的贡献者 | 预期的参与者近期未提交内容 | 按作者/标签调用 |
| 空工作空间 | 实体已关联工作空间,但无任何内容 | |
| 单向协作 | 仅一个Agent提交内容,其他参与者未读取或行动 | 检查所有记录的作者多样性 |
recall()export()Full guide: Readfor the complete audit checklist, query patterns, health scoring, and improvement recommendations.reference/review.md
recall()export()完整指南: 完整审核清单、查询模式、健康评分标准和改进建议请查看。reference/review.md
smartDigest()smartDigest()Keywords follow RFC 2119: MUST = non-negotiable, SHOULD = strong default (override with stated reasoning), MAY = agent discretion.
authorsource:agent-namestatusreplacesmartDigestworkspace:tasksworkspace:updatesworkspace:notesworkspace:issuessource:agent-namesmartDigest()smartGuidelines()关键词遵循RFC 2119规范:MUST = 不可协商,SHOULD = 强默认规则(需给出明确理由方可覆盖),MAY = Agent可自主判断。
authorsource:agent-namestatussmartDigestworkspace:tasksworkspace:updatesworkspace:notesworkspace:issuessource:agent-namesmartDigest()smartGuidelines()| Resource | Contents |
|---|---|
| The three-layer agent operating model: Guidelines + Memory + Workspace — why all three matter, how they compose, SDK/MCP patterns, adoption path |
| Runtime guideline for workflows: The |
| Full CREATE workflow: design questions, property specifications, entry schemas, domain naming, verification |
| Full USE guide: contribution patterns, entry formats, consumption, tagging, agent loops, human flows, progressive autonomy |
| Full GROW guide: all expansion properties (Decisions, Messages, Monitors, Alerts, Reports, Participants), when to add, maturity stages |
| Full REVIEW guide: audit checklist, query patterns, health scoring, improvement recommendations |
| Agent prompt guide: system prompt templates, MCP tool call examples, role-specific prompts, multi-agent coordination patterns, testing checklist |
| Raw REST API examples: curl/fetch for memorize, smart-recall, smart-digest, smart-guidelines, prompt, collections CRUD, search |
| The 5-property starter schema as JSON |
| A fully evolved workspace (all expansion properties added) |
| Quickstart recipe: 80-line hello-workspace — auth, memorize one task, smartRecall it, smartDigest the full state |
| Shared helpers: |
| Recipe: contribute updates, tasks, notes, issues to a workspace |
| Recipe: read and compile workspace state for any participant |
| Recipe: three agents collaborating on an account workspace |
| Cross-skill recipe: Trigger.dev pipeline that analyzes a CRM lead and writes findings to the contact's workspace |
| 资源 | 内容 |
|---|---|
| 三层Agent运行模型: Guidelines + Memory + Workspace — 三者的重要性、组合方式、SDK/MCP模式、推广路径 |
| 工作流运行时规则: |
| 完整CREATE操作指南:设计问题、属性规范、记录结构、业务场景命名、验证步骤 |
| 完整USE操作指南:提交模式、记录格式、读取模式、标签规范、Agent循环、人类贡献流程、渐进式自主权限 |
| 完整GROW操作指南:所有扩展属性(Decisions、Messages、Monitors、Alerts、Reports、Participants)、添加时机、成熟度阶段 |
| 完整REVIEW操作指南:审核清单、查询模式、健康评分、改进建议 |
| Agent提示指南: 系统提示模板、MCP工具调用示例、角色专属提示、多Agent协作模式、测试清单 |
| 原始REST API示例: memorize、smart-recall、smart-digest、smart-guidelines、prompt、集合CRUD、搜索的curl/fetch示例 |
| 5个属性的基础工作空间架构JSON文件 |
| 完整扩展后的工作空间架构(包含所有扩展属性) |
| 快速入门示例: 80行代码的hello-workspace — 认证、添加一个任务、smartRecall查询、smartDigest获取完整状态 |
| 共享工具函数: |
| 示例:向工作空间提交更新、任务、笔记、问题 |
| 示例:为任意参与者读取并整合工作空间状态 |
| 示例:三个Agent协作处理账户工作空间 |
| 跨Skill示例: Trigger.dev管道分析CRM线索,并将结果写回联系人工作空间 — 打通GTM与共享工作空间Skill |
workspaceUpdates: trueworkspace:updatesworkspace:tasksWorkspaceUtils| Signal method | Equivalent SDK pattern | Tag |
|---|---|---|
| | |
| | |
| | |
| | |
| | — |
workspaceUpdates: trueworkspace:updatesworkspace:tasksWorkspaceUtils| Signal方法 | 等价的SDK模式 | 标签 |
|---|---|---|
| | |
| | |
| | |
| | |
| | — |
metadata.teamtags: ['workspace:updates', 'source:product-signal', 'team:product']smartDigest()metadata.teamtags: ['workspace:updates', 'source:product-signal', 'team:product']smartDigest()