You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/FEATURES.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,9 +78,9 @@ Supported deployment modes:
78
78
- Circle Gateway `GatewayWalletBatched` for gasless nanopayment settlement
79
79
- self-hosted OmniClaw exact facilitator, started with `omniclaw facilitator exact`
80
80
81
-
Thirdweb is a priority external integration path because it provides broad EVM facilitator coverage and gas-sponsored settlement. OmniClaw adds buyer-side policy, route selection, SDK/CLI execution surfaces, and operator visibility.
81
+
Thirdweb is one supported external integration path for teams that want broad EVM facilitator coverage and gas-sponsored settlement. OmniClaw adds buyer-side policy, route selection, SDK and CLI execution surfaces, and payment visibility on top.
82
82
83
-
OmniClaw added the self-hosted exact facilitator so teams can support networks and proof environments before they are available through their selected hosted facilitator. This is how Arc Testnet is handled: it remains standard x402 `exact` settlement, with OmniClaw providing the network profile, asset metadata, RPC, and facilitator runtime.
83
+
The self-hosted exact facilitator exists so teams can support networks and deployments before they are available through a hosted provider. Arc Testnet is the clearest example: it remains standard x402 `exact` settlement, with OmniClaw providing the network profile, asset metadata, RPC, and facilitator runtime.
84
84
85
85
See [facilitators.md](facilitators.md) for deployment details.
86
86
@@ -116,10 +116,10 @@ The ledger in [ledger/](../src/omniclaw/ledger) tracks payment records and statu
Copy file name to clipboardExpand all lines: docs/PRODUCTION_HARDENING.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -53,9 +53,9 @@ OmniClaw is facilitator-agnostic. Production deployments should choose the settl
53
53
- Thirdweb-backed x402 facilitator for managed gas-sponsored exact settlement across broad EVM coverage
54
54
- Circle Gateway `GatewayWalletBatched` for gasless batched nanopayments
55
55
- external standard x402 facilitator where the seller already uses one
56
-
- self-hosted OmniClaw exact facilitator only when local proof, custom network support, or enterprise self-hosting is required
56
+
- self-hosted OmniClaw exact facilitator when local proof, custom network support, or enterprise self-hosting is required
57
57
58
-
Do not run a self-hosted facilitator by default if a managed facilitator already supports the target flow. The self-hosted path is operational infrastructure, not the primary product wedge.
58
+
Use a self-hosted facilitator when it fits the network and operational model. Use a managed facilitator when it already cleanly supports the target flow.
59
59
60
60
Before production traffic, validate the exact seller path with:
The buyer key must hold Arc Testnet USDC for the selected paid product, and the seller/facilitator key must hold Arc Testnet gas. The launcher prints balances, product URLs, the exact OmniClaw config, and a lower-cost `$0.10` proof endpoint when the buyer wallet is not funded for the `$0.25` product.
57
+
58
+
The showcase UI also has a built-in mini buyer agent, so the full demo can run directly from the browser. The kiosk backend proxies inspect/pay actions into the buyer Financial Policy Engine while keeping the policy token server-side.
59
+
60
+
Defaults:
61
+
62
+
| Service | URL |
63
+
| --- | --- |
64
+
| Browser UI |`http://127.0.0.1:8020`|
65
+
| Vendor kiosk |`http://172.18.0.51:8020`|
66
+
| Buyer policy engine |`http://172.18.0.52:8080`|
67
+
| Exact facilitator |`http://172.18.0.50:4022`|
68
+
69
+
For setup details and ArcLens submission notes, see [Arc Marketplace Showcase](../examples/arc-marketplace-showcase/README.md).
Copy file name to clipboardExpand all lines: docs/agent-getting-started.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,9 +8,9 @@ In that system:
8
8
- the owner runs the **Financial Policy Engine**
9
9
- the agent uses `omniclaw-cli` as the **zero-trust execution layer**
10
10
- buyers pay with `omniclaw-cli pay`
11
-
- agents can expose temporary local paid services with `omniclaw-cli serve`
11
+
- agents can expose paid services for other agents or automation with `omniclaw-cli serve`
12
12
13
-
For vendor, SaaS, or enterprise APIs, use the Python SDK seller middleware instead of `omniclaw-cli serve`. See the [Developer Guide](developer-guide.md).
13
+
For vendor, SaaS, or enterprise APIs embedded directly in an application, use the Python SDK seller middleware instead of `omniclaw-cli serve`. See the [Developer Guide](developer-guide.md).
14
14
15
15
---
16
16
@@ -218,7 +218,7 @@ omniclaw-cli serve \
218
218
219
219
This opens `http://localhost:8000/api/data` that requires a USDC payment to execute `my_service.py` and return its output.
220
220
221
-
> **Web developer or vendor:**For real API or SaaS products, use the Python SDK inside your FastAPI application instead of `omniclaw-cli serve`. See the [Developer Guide](developer-guide.md).
221
+
> **Web developer or vendor:**If the paid route lives inside your application, use the Python SDK inside your FastAPI application instead of `omniclaw-cli serve`. Use `serve` when the seller surface itself is agent-run. See the [Developer Guide](developer-guide.md).
This file is a historical design note for OmniClaw's trust-layer direction. It is not the canonical API reference and should not be treated as a precise description of the current Financial Policy Engine implementation.
3
+
This document explains how ERC-8004 concepts show up in OmniClaw today.
4
4
5
-
Use these docs for the current product surface instead:
5
+
It is a trust-layer overview, not the canonical SDK or API reference. For the main product surface, use:
6
6
7
7
-[README](../README.md)
8
-
-[Developer Guide (SDK)](developer-guide.md)
8
+
-[Developer Guide](developer-guide.md)
9
9
-[API Reference](API_REFERENCE.md)
10
10
-[Architecture and Features](FEATURES.md)
11
11
12
-
## Current Reality
12
+
## How OmniClaw Uses ERC-8004
13
13
14
-
OmniClaw already exposes a trust layer through the Financial Policy Engine:
14
+
OmniClaw exposes trust evaluation through the Financial Policy Engine:
15
15
16
16
- trust checks can run during `pay()` and `simulate()`
17
17
- trust behavior is controlled by `check_trust`
18
18
- explicit trust checks require a real `OMNICLAW_RPC_URL`
19
19
- trust evaluation can approve, hold, or block payment execution
20
20
21
-
## What This Note Represents
21
+
## What The Trust Layer Covers
22
22
23
-
The earlier internal design work explored:
23
+
The trust system is built around:
24
24
25
25
- ERC-8004 identity lookup
26
26
- reputation scoring and weighted trust signals
27
27
- policy-based approval, hold, and block behavior
28
28
- trust-aware payment execution
29
29
- auditability of trust decisions
30
30
31
-
Those themes still matter, but the exact content of the original internal draft no longer maps cleanly to the current codebase.
31
+
## Practical Guidance
32
32
33
-
## Recommendation
33
+
Treat this file as conceptual background.
34
34
35
-
If this repo keeps evolving quickly, treat trust docs the same way as the rest of the Financial Policy Engine docs:
35
+
Use:
36
36
37
-
-keep implementation details in code and tests
38
-
-keep user-facing behavior in the API reference and usage guide
39
-
-keep speculative product thinking in the roadmap, not in protocol documentation
That means a seller can use managed facilitator coverage, while the buyer still uses OmniClaw as the policy-controlled execution layer.
54
54
@@ -120,6 +120,7 @@ Current route priority:
120
120
- use `exact` when the seller supports standard x402 exact settlement
121
121
- if the seller supports both and Gateway is not ready, use `exact`
122
122
- if no supported route is available, fail clearly before spending
123
+
- for direct exact payments, inspect checks the buyer's direct-wallet token balance when the selected EVM network and RPC are known
123
124
124
125
## Self-Host An Exact Facilitator
125
126
@@ -298,6 +299,74 @@ So the operational requirement for an already configured profile is only:
298
299
299
300
That is a deployment requirement, not a missing architecture requirement.
300
301
302
+
For Arc Testnet, the buyer key must hold Arc Testnet USDC. The seller/facilitator key must hold Arc Testnet gas because it submits the x402 exact settlement transaction to the USDC contract.
303
+
304
+
To run only the Arc self-hosted exact facilitator:
The showcase includes a browser mini buyer agent. It calls the kiosk backend, and the kiosk backend calls the buyer Financial Policy Engine using `ARC_MARKETPLACE_BUYER_ENGINE_URL` and `ARC_MARKETPLACE_BUYER_TOKEN`. This keeps the browser flow simple while the Financial Policy Engine remains the payment authority boundary.
338
+
339
+
The Docker launcher starts:
340
+
341
+
| Service | URL |
342
+
| --- | --- |
343
+
| Browser UI |`http://127.0.0.1:8020`|
344
+
| Vendor kiosk |`http://172.18.0.51:8020`|
345
+
| Buyer policy engine |`http://172.18.0.52:8080`|
346
+
| Exact facilitator |`http://172.18.0.50:4022`|
347
+
348
+
It also prints the buyer Arc USDC balance, seller Arc gas balance, and the paid product URLs:
349
+
350
+
| Product | Price | URL |
351
+
| --- | --- | --- |
352
+
| Prime Market Scan |`$0.25`|`http://172.18.0.51:8020/buy/prime-market-scan`|
For ecosystem forms that require a contract address, use the Arc Testnet USDC contract used by x402 exact settlement:
357
+
358
+
```text
359
+
0x3600000000000000000000000000000000000000
360
+
```
361
+
362
+
OmniClaw does not require a custom application contract for this flow. The settlement transaction calls `transferWithAuthorization` on Arc Testnet USDC.
External facilitators remain first-class. If a seller advertises an `exact` payment requirement using another facilitator, OmniClaw's buyer flow can still pay through the standard x402 SDK path as long as:
0 commit comments