Hi Anna team,
I’m testing APS KV with an Anna App + Executa demo and found an inconsistency between local anna-app dev and the Anna platform runtime.
Demo repository:
This demo tests Host Upload, APS Files, and APS KV. The issue below is only about APS KV.
The App manifest declares:
{
"permissions": ["tools.invoke", "ui.svg"],
"host_capabilities": [
"aps.kv",
"aps.scope.user.read",
"aps.scope.user.write"
],
"ui": {
"host_api": {
"tools": ["required:tool-lightvoss-test-aps-8kvasxsg"],
"storage": ["get", "set", "list", "delete"]
}
}
}
The Executa manifest declares:
{
"name": "tool-lightvoss-test-aps-8kvasxsg",
"version": "1.0.0",
"host_capabilities": ["host.upload", "aps.files", "aps.kv"]
}
On the platform side, I have also enabled both “Persistent Storage” and “Host File Upload” permissions for this Executa.
The APS KV call flow is:
The frontend calls the Executa through Anna App Runtime:
await anna.tools.invoke({
tool_id: "tool-lightvoss-test-aps-8kvasxsg",
method: "aps_kv_set",
args: {
key: "test-aps/kv/demo",
scope: "user",
value: {
title: "APS KV test",
count: 1,
updated_at: "2026-06-02T00:00:00Z"
}
}
});
The backend Executa receives aps_kv_set and then sends a reverse RPC call:
const kv = await reverseRpc("storage/set", {
key: input.key,
scope: input.scope,
value: input.value
});
When running locally with anna-app dev, both KV write and read work correctly. The logs show:
[host-upload-test] aps kv set start {"key":"test-aps/kv/demo","scope":"user"}
[host-upload-test] reverse RPC -> host {"method":"storage/set","key":"test-aps/kv/demo","scope":"user"}
[host-upload-test] reverse RPC <- host ok
[host-upload-test] aps kv set complete {"ok":true}
A subsequent storage/get also successfully reads the value that was just written.
However, after publishing the same demo to the Anna platform, the same APS KV write fails with:
APS KV write failed -32021: storage_token missing — host did not authorize storage for this invoke
So locally, reverse RPC storage/set is authorized and succeeds. On the platform, with the same Executa, the same scope: "user", the same capability declarations, and the platform permission toggles enabled, storage/set fails because no storage_token is available.
Expected behavior:
The platform runtime should behave consistently with anna-app dev. After declaring aps.kv and enabling Persistent Storage permission, the Executa should be able to call storage/set/get/list/delete through reverse RPC during an invoke.
Actual behavior:
Local anna-app dev succeeds, but the platform runtime fails with:
-32021: storage_token missing — host did not authorize storage for this invoke
Could you help confirm:
- Is the platform correctly recognizing
host_capabilities: ["aps.kv"]from the Executa manifest? - After enabling Persistent Storage in the platform permission management UI, should the platform inject a
storage_tokenfor this Executa invoke? - Does
scope: "user"require any additional grant or configuration? - Is there currently any difference between
anna-app devand the platform runtime in how APS KV authorization is handled?
I can provide the exact tool id, app id, platform logs, and screenshots if needed.


