Integration interest — SAFE authorization layer + node9 governance #168
Replies: 6 comments
|
Hey @rudi193-cmd — sorry for the slow response, this slipped through. The framing you laid out is exactly right: manifest-level identity/consent and behavior-level execution policy are complementary, not overlapping. node9 deliberately doesn't touch the identity layer, so a split where SAFE handles "is this agent allowed to attempt this class of action" and node9 handles "is this specific tool call safe given everything else we know" is genuinely clean. On the rug-pull / credential-in-args patterns: the policy engine ships separately at Two questions before I dig in further:
Either way, happy to keep talking through the design. — Nadav |
|
Thanks Nadav — glad the framing landed, and no worries on the delay. 1. Is SAFE public? Yes — the spec and code are open:
Ratification flow today: Sean signs manifests; agents with ENGINEER trust bypass PGP in dev but still hit per-tool ACL. Cross-namespace writes need an explicit 2. Research or shipping? Shipping. Willow 2.0 is a local-first agent fleet (Postgres KB, SOIL store, Grove bus, Kart task queue) running daily on real hardware — beta, single operator, but not a paper spec. The node9 split you described is exactly what we need next: SAFE answers "is this agent allowed to attempt this class of action?"; node9 answers "is this specific tool call safe?" We're planning a hardening pass and What's the best way to engage — issue on node9-proxy, or a short spec doc comparing the two layers? |
|
Thanks Sean — that's exactly the answer that makes this worth pursuing. Willow shipping on real hardware + the layered framing you laid out is what I needed to know. For the adapter spike: I'd point you at The pattern that fits your architecture cleanly: Each layer has a single concern. SAFE doesn't have to know about bash AST or rug-pull detection; the policy engine doesn't have to know about your manifest format. If you spike that and run into anything that doesn't fit the policy-engine surface — missing rule, weird normalization, context you'd want passed through — file issues on node9-proxy. That's the right feedback shape and I'd be glad to act on real signal from real use. A few things I'd want to know once you have it running:
No pressure on timing — Willow obviously has its own work. Keep me posted in this thread when something runs end-to-end. Happy to amplify if it ships. — Nadav |
|
Thanks Nadav — Will keep the split clean: SAFE manifest/trust for who may attempt, policy-engine for this specific call. Will tag you when the spike branch is up. |
|
Spike branch is up: Pattern implemented (opt-in via
Early latency numbers (honest): subprocess-per-call on this host is ~230ms p50 — node cold-start dominates. Your ~8–15ms benchmark is in-process; next step is a persistent node worker (or embedding policy-engine in a long-lived sidecar) before this hits the hot path on Jetson. Context object question: currently passing Happy to file issues on node9-proxy for anything that doesn't fit the surface once this runs against real MCP dispatch on hardware. |
|
Update: PR is up — rudi193-cmd/willow-2.0#24 Added persistent worker since the last note. Benchmark on dev host:
So your in-process ~8–15ms range looks reachable once the worker is warm. Subprocess was the misleading number in my earlier post. Still opt-in ( |
Uh oh!
There was an error while loading. Please reload this page.
Hi node9 team — I came across node9-proxy and it maps well onto something we're building. We have SAFE (Sovereign Authorized Prompting), a consent/identity-first authorization layer for a local AI agent fleet. SAFE gates at the manifest level (per-app permissions, ratification flow); node9's behavior-first approach (bash AST, tool pinning, credential-in-args detection) covers the gap SAFE does not address.
We're planning a hardening pass on SAFE and want to pull in the rug-pull protection and credential leak detection patterns from node9. Interested in any collaboration, feedback, or whether there's a clean integration point between an identity layer and node9's policy engine.
Happy to share more about the SAFE spec if useful.
All reactions