Iam not getting NEAR AI Encryption to work with agent zero.
It only works on first question then it freezes.. I think it is because of the embedding! But having fully encrypted AI with Agent Zero would be a huge win! And make it possible for businesses to use it as well! Working with personal information!
Hi -- saw your note about NEAR AI Encryption + Agent Zero. The "first question works, second one freezes" pattern is real and I have not seen the Agent Zero maintainers weigh in yet on it.
A few things I would check first, in no particular order:
-
Confirm NEAR's encryption endpoint actually returns a non-null embedding body on a second identical request (curl it twice in a row with the same payload). If the first succeeds and the second doesn't, that points at the provider side rather than Agent Zero itself.
-
Look at whether your A0 prompt template is forcing an embedding recompute on every assistant turn. The cache key for that changed between A0 v1.x and v2.x; if you're on the v2 line it may be hunting for the cache key that no longer exists.
-
If your build exposes any embedding-cache strictness or recompute setting, try disabling strict cache behavior temporarily and watch whether the second-turn freeze changes.
If any of those ring true, I am happy to share a short repro checklist I have been carrying around for the encryption-aware agent-stack class of issue.
No pitch -- just saw the same shape of failure around agent stacks that are expected to handle PII thoughtfully and wanted to flag a couple of breadcrumbs in case they help.
(If a maintainer thread has already figured this out elsewhere, feel free to ignore -- happy to defer to better answers.)
Closing due to inactivity of 90 days.