deal.works
AI agent infrastructure for trustworthy deal-making. Enables agents to create deals, manage escrow, deploy autonomous agents, and issue cryptographic attestations.
Quick Start
CODEBLOCK0
Get your API key at hq.works/settings/api.
Capabilities
9 Engines, 39 Tools
| Engine | Tools | Purpose |
|---|
| Deal | 7 | Deal lifecycle: create, sign, approve, search, timeline |
| Fund |
6 | Wallets, transfers, escrow, cashout, agent funding |
|
Bourse | 5 | Marketplace for templates, skills, integrations |
|
Cadre | 6 | Deploy and manage autonomous agents |
|
Oath | 5 | Cryptographic attestations (completed on-chain) |
|
Parler | 4 | Dispute resolution and governance |
|
Academy | 3 | Learning platform for deal-making |
|
HQ | 2 | Dashboard metrics and system health |
|
Clause | 1 | Contract clause rendering |
7 Resources
- -
dealworks://profile - User profile and trust tier - INLINECODE1 - Wallet balances
- INLINECODE2 - Active deals
- INLINECODE3 - Deployed agents
- INLINECODE4 - Available templates
- INLINECODE5 - Open disputes
- INLINECODE6 - Key metrics
5 Pre-built Prompts
- -
escrow-deal - Create escrow-protected deal workflow - INLINECODE8 - Deploy agent from skill
- INLINECODE9 - File dispute with evidence
- INLINECODE10 - Publish template to Bourse
- INLINECODE11 - Review deal portfolio
Common Workflows
Create an Escrow Deal
CODEBLOCK1
Deploy a Monitoring Agent
CODEBLOCK2
File a Dispute
CODEBLOCK3
Tool Reference
Deal Engine
| Tool | Description |
|---|
| INLINECODE12 | List deals with optional status filter |
| INLINECODE13 |
Create a new deal with terms and counterparty |
|
deal_get | Get detailed deal information |
|
deal_action | Perform action: SIGN, APPROVE, REJECT, CANCEL, COMPLETE, ARCHIVE |
|
deal_search | Search deals by text query |
|
deal_timeline | Get activity timeline for a deal |
|
deal_attachments | List deal attachments |
Fund Engine
| Tool | Description |
|---|
| INLINECODE19 | Get wallet balance (available, locked, pending) |
| INLINECODE20 |
Transfer funds between wallets |
|
fund_transactions | List transaction history |
|
fund_escrow | Lock funds in escrow for a deal |
|
fund_cashout | Cash out to external wallet on Base |
|
fund_agent_fund | Fund an agent's operational wallet |
Bourse Engine
| Tool | Description |
|---|
| INLINECODE25 | Search marketplace for templates/skills |
| INLINECODE26 |
Get listing details and reviews |
|
bourse_fork | Fork a listing to customize |
|
bourse_publish | Publish to marketplace |
|
bourse_earnings | View earnings from published listings |
Cadre Engine
| Tool | Description |
|---|
| INLINECODE30 | List deployed agents |
| INLINECODE31 |
Deploy a new agent from skill |
|
cadre_command | Send command: START, STOP, RESTART, SCALE |
|
cadre_health | Get agent health status |
|
cadre_delegations | List permission delegations |
|
cadre_sla_violations | List SLA violations |
Oath Engine
| Tool | Description |
|---|
| INLINECODE36 | Create attestation for deal milestone |
| INLINECODE37 |
Verify attestation authenticity |
|
oath_vault_upload | Upload document hashes to vault |
|
oath_vault_seal | Seal vault with Merkle root on-chain |
|
oath_trust_tier | Get user/org trust tier |
Parler Engine
| Tool | Description |
|---|
| INLINECODE41 | File a dispute with evidence |
| INLINECODE42 |
List disputes by status/role |
|
parler_proposals | List resolution proposals |
|
parler_vote | Vote on proposal |
Academy Engine
| Tool | Description |
|---|
| INLINECODE45 | Browse available courses |
| INLINECODE46 |
Enroll in a course |
|
academy_tip | Tip a course creator |
HQ Engine
| Tool | Description |
|---|
| INLINECODE48 | Get dashboard metrics |
| INLINECODE49 |
Check system health |
Clause Engine
| Tool | Description |
|---|
| INLINECODE50 | Render contract clause template |
Security
- - All mutations use idempotency keys (safe to retry)
- API keys scoped per engine
- Rate limited: 100 requests/minute
- Circuit breaker per engine (5 failures = 30s cooldown)
- Only calls *.works domains + approved external APIs
Links
deal.works
面向可信交易的人工智能代理基础设施。使代理能够创建交易、管理托管、部署自主代理并发布加密认证。
快速开始
bash
安装技能
openclaw skill add swgoettelman/deal-works
设置API密钥
export DEAL
WORKSAPI
KEY=yourkey_here
该技能现已可供您的代理使用
在 hq.works/settings/api 获取您的API密钥。
功能
9个引擎,39个工具
| 引擎 | 工具数 | 用途 |
|---|
| 交易 | 7 | 交易生命周期:创建、签署、批准、搜索、时间线 |
| 资金 |
6 | 钱包、转账、托管、提现、代理资金 |
|
交易所 | 5 | 模板、技能、集成的市场 |
|
框架 | 6 | 部署和管理自主代理 |
|
誓言 | 5 | 加密认证(链上完成) |
|
对话 | 4 | 争议解决与治理 |
|
学院 | 3 | 交易学习平台 |
|
总部 | 2 | 仪表盘指标与系统健康 |
|
条款 | 1 | 合同条款渲染 |
7个资源
- - dealworks://profile - 用户资料与信任等级
- dealworks://wallet - 钱包余额
- dealworks://deals - 活跃交易
- dealworks://agents - 已部署代理
- dealworks://templates - 可用模板
- dealworks://disputes - 未解决争议
- dealworks://dashboard - 关键指标
5个预构建提示
- - escrow-deal - 创建托管保护交易工作流
- deploy-agent - 从技能部署代理
- file-dispute - 提交争议并附证据
- publish-template - 发布模板至交易所
- portfolio-review - 审查交易组合
常见工作流
创建托管交易
用户:为网站开发创建一个5000美元的托管交易,对方为contractor@example.com
代理:我将使用dealcreate创建交易,然后使用fundescrow锁定资金,
并使用oath_attest准备完成验证。
部署监控代理
用户:部署一个代理来监控我的活跃交易,并在违反SLA时发出警报
代理:我将使用boursesearch查找监控技能,使用cadredeploy启动
代理,并使用fundagentfund分配运营预算。
提交争议
用户:承包商未交付。为交易xyz123提交争议。
代理:我将使用dealget审查交易,然后使用parlerdispute_file附上
证据。争议将进入解决队列。
工具参考
交易引擎
| 工具 | 描述 |
|---|
| deallist | 列出交易,可附带状态筛选 |
| dealcreate |
创建包含条款和对手方的新交易 |
| deal_get | 获取详细交易信息 |
| deal_action | 执行操作:签署、批准、拒绝、取消、完成、归档 |
| deal_search | 按文本查询搜索交易 |
| deal_timeline | 获取交易的活动时间线 |
| deal_attachments | 列出交易附件 |
资金引擎
| 工具 | 描述 |
|---|
| fundbalance | 获取钱包余额(可用、锁定、待处理) |
| fundtransfer |
在钱包之间转账 |
| fund_transactions | 列出交易历史 |
| fund_escrow | 为交易锁定资金至托管 |
| fund_cashout | 提现至Base上的外部钱包 |
| fund
agentfund | 为代理的运营钱包充值 |
交易所引擎
| 工具 | 描述 |
|---|
| boursesearch | 搜索市场中的模板/技能 |
| bourseget |
获取列表详情和评价 |
| bourse_fork | 分叉列表以进行定制 |
| bourse_publish | 发布至市场 |
| bourse_earnings | 查看已发布列表的收益 |
框架引擎
| 工具 | 描述 |
|---|
| cadrelist | 列出已部署代理 |
| cadredeploy |
从技能部署新代理 |
| cadre_command | 发送命令:启动、停止、重启、扩展 |
| cadre_health | 获取代理健康状态 |
| cadre_delegations | 列出权限委托 |
| cadre
slaviolations | 列出SLA违规 |
誓言引擎
| 工具 | 描述 |
|---|
| oathattest | 为交易里程碑创建认证 |
| oathverify |
验证认证真实性 |
| oath
vaultupload | 上传文档哈希至保险库 |
| oath
vaultseal | 在链上使用Merkle根密封保险库 |
| oath
trusttier | 获取用户/组织信任等级 |
对话引擎
| 工具 | 描述 |
|---|
| parlerdisputefile | 提交争议并附证据 |
| parlerdisputelist |
按状态/角色列出争议 |
| parler_proposals | 列出解决方案提案 |
| parler_vote | 对提案投票 |
学院引擎
| 工具 | 描述 |
|---|
| academycourses | 浏览可用课程 |
| academyenroll |
注册课程 |
| academy_tip | 给课程创作者打赏 |
总部引擎
| 工具 | 描述 |
|---|
| hqdashboard | 获取仪表盘指标 |
| hqhealth |
检查系统健康 |
条款引擎
| 工具 | 描述 |
|---|
| clause_render | 渲染合同条款模板 |
安全
- - 所有变更操作使用幂等键(可安全重试)
- API密钥按引擎范围划分
- 速率限制:100次请求/分钟
- 每个引擎配备熔断器(5次失败=30秒冷却)
- 仅调用*.works域名及批准的API
链接