agent-zero icon indicating copy to clipboard operation
agent-zero copied to clipboard

Iam not getting NEAR AI Encryption to work with agent zero.

Open DoThatKarma opened this issue 4 months ago • 2 comments

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!

DoThatKarma avatar Jul 07 '26 13:07 DoThatKarma

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:

  1. 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.

  2. 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.

  3. 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.)

houseman313 avatar Jul 12 '26 04:07 houseman313

Closing due to inactivity of 90 days.

github-actions[bot] avatar Oct 11 '26 03:10 github-actions[bot]