create-metamynd-agent 0.14.24 → 0.14.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -5
- package/index.mjs +4476 -4446
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -31,7 +31,7 @@ npm create metamynd-agent@latest -- --harness # or: npx create-metamynd-agent
|
|
|
31
31
|
|
|
32
32
|
No login, no KYB, **no network call at all** — generates a local identity and a local rules file
|
|
33
33
|
(mandate + starter SOP), and scaffolds a project whose `guardTool()` calls are decided entirely on
|
|
34
|
-
your machine by the same deterministic evaluator ([`policy-core`](
|
|
34
|
+
your machine by the same deterministic evaluator ([`policy-core`](https://github.com/Metamynd/agentsafe-guard/tree/main/packages/policy-core))
|
|
35
35
|
the hosted gate runs. An escalated action is held for **you** to approve at a small local dashboard
|
|
36
36
|
(`http://127.0.0.1:4400` by default) — there's no hosted owner queue in this mode, because there's
|
|
37
37
|
no hosted anything. Real gating, your own rules, free, forever.
|
|
@@ -75,7 +75,7 @@ flow. See [Policy config file](#policy-config-file---config) below.
|
|
|
75
75
|
The dashboard's rules panel is a real editor, not just JSON with input boxes: edit an existing
|
|
76
76
|
rule's values, **delete** a rule, or **add a new one** from a form (predicate + its typed config
|
|
77
77
|
fields + decision) driven by the same atom catalog and validator
|
|
78
|
-
([`policy-core`](
|
|
78
|
+
([`policy-core`](https://github.com/Metamynd/agentsafe-guard/tree/main/packages/policy-core)) the hosted gate itself uses — so nothing you
|
|
79
79
|
add through it can be invalid. Hand-editing `metamynd-rules.json` still works too, if you prefer.
|
|
80
80
|
|
|
81
81
|
## Try it instantly — sandbox (no account, no KYB)
|
|
@@ -384,7 +384,7 @@ key you already hold elsewhere — then you complete `verify-key` yourself (the
|
|
|
384
384
|
|
|
385
385
|
### Keeping the key out of this process entirely (`--daemon-socket`)
|
|
386
386
|
|
|
387
|
-
If you already have an [agentsafe-signer](
|
|
387
|
+
If you already have an [agentsafe-signer](https://www.npmjs.com/package/@metamynd/agentsafe-signer) daemon running for this
|
|
388
388
|
agent (`agentsafe-signer start --admin`, per its own install guide), point `--byok` at it instead:
|
|
389
389
|
|
|
390
390
|
```bash
|
|
@@ -438,7 +438,10 @@ through **unchanged** — there is no default, so a call that does not say is se
|
|
|
438
438
|
`'low'` (the demo steps each state their risk explicitly). The neutral template passes your own `args` as the
|
|
439
439
|
context, so include it there. Either way `riskLevel` is **the agent's own claim**: it travels in the request
|
|
440
440
|
context, and even when the agent's key signs that context, the signature proves who said it, not that it is true —
|
|
441
|
-
|
|
441
|
+
so it can only raise the risk: the gate derives a floor the agent cannot lower — a payment at or above 70% of the
|
|
442
|
+
per-transaction cap, the first payment to a merchant that is not on the list (nor a registered payee, nor paid before), and
|
|
443
|
+
the owner's `riskTier` — and names it in `err.governance.riskSignals` and on the dashboard escalation. Tune it with
|
|
444
|
+
`--amount-review <share|off>` and `--risk-tier <level>`. A real integration should send an honest one — or, better, not depend on the agent at all: a mandate
|
|
442
445
|
permission can carry an owner-set `riskTier` that no claim can lower, and a gateway route can derive the risk
|
|
443
446
|
itself with `route.trustedContext` (`@metamynd/agentsafe-http-gateway` 0.10.0). See MAGP §6.3.
|
|
444
447
|
|
|
@@ -453,5 +456,5 @@ should never be able to hold, or leak, a credential it doesn't have.
|
|
|
453
456
|
|
|
454
457
|
## Full guide
|
|
455
458
|
|
|
456
|
-
|
|
459
|
+
[metamynd.ai/developers/integrate](https://metamynd.ai/developers/integrate) — the complete integration front-door (payments,
|
|
457
460
|
handshake, edge evaluation, escalation).
|