Transcription: OpenAgents Episode 088 - Nostr KV Storage Plugin
June 9, 2026 ยท View on GitHub
Source: https://twitter.com/OpenAgentsInc/status/1771282518630699184 Wiki source: https://raw.githubusercontent.com/wiki/OpenAgentsInc/openagents/Video-Series.md Media title: OpenAgents - Episode 088: Nostr KV Storage Plugin We review our second community p... Upload date: 20240322 Transcription model: mlx-whisper/mlx-community/whisper-tiny Generated at: 2026-06-01T18:21:04Z
Machine-generated transcript. Review speaker labels and wording before using this as quote-grade source material.
[00:00] Christopher David: Now, what if agents can communicate with each other over Nostar?
[00:05] Christopher David: Let's review our second plugin submission from the community.
[00:10] Christopher David: Ricardo, key value storage for open agents.
[00:15] Christopher David: A key value storage plugin for open agents that is eventually consistent on Nostar using NIP 78.
[00:20] Christopher David: It can be used to store agent states, send data between agents or agent instances,
[00:26] Christopher David: or even to communicate with external services on Nostar.
[00:30] Christopher David: This is amazing.
[00:32] Christopher David: So, a little background. We did a bit of Nostar exploratory work.
[00:37] Christopher David: We did a, I think we had a bounty for building a version of our plugin registry on Nostar.
[00:43] Christopher David: So, you can just kind of query Nostar to get available plugins. He's Wazan plugins.
[00:47] Christopher David: We did some basic Nostar authentication.
[00:51] Christopher David: But this is the first contribution that will have the agents themselves use Nostar.
[00:58] Christopher David: So, let's step through this a little bit.
[01:00] Christopher David: So, a key value storage plugin for open agents that is eventually consistent on Nostar using NIP 78.
[01:06] Christopher David: And, reminded by NIP 78, that enables remote storage like capabilities for custom applications that do not care about interoperability.
[01:14] Christopher David: We do care about interoperability.
[01:16] Christopher David: I think NIP 78 is kind of a good catch-all for data that doesn't yet have a NIP.
[01:21] Christopher David: You put it there and then you can standardize it later if other people care about that particular type of data.
[01:27] Christopher David: Okay, this plugin is a key value storage that uses the Nostar network to propagate the key value pairs of the network.
[01:34] Christopher David: It is eventually consistent and can be used to store agent states, send data between agent or agent instances, or even to communicate with external services.
[01:41] Christopher David: API calls need to specify a KV provider that is a Nostar KV instance used to communicate with the Nostar network.
[01:49] Christopher David: Nostar KV instances serve as a bridge and cash to reduce, reduce strain on the Nostar Relays.
[01:55] Christopher David: Agents can use any Nostar KV instance, self-hosted a public and as long as they specify the same set of Nostar Relays.
[02:02] Christopher David: They will eventually sync with each other through the Nostar network.
[02:05] Christopher David: Event validation and signing happens on the plugin side to the trust on the KV provider is minimized.
[02:10] Christopher David: So Nostar KV, this is a new thing that Ricardo did, I think, just for this.
[02:18] Christopher David: And then sort of like why it's I mean, it's to reduce the burden on Relays and also the architect that we're dealing with now where we've got a bunch of this agent functionality moved into plugins.
[02:30] Christopher David: There we don't have web socket access.
[02:33] Christopher David: Kind of converting things into HTTP requests is like a thing that we're doing and I guess the KV is good for that. I haven't dive fully into the all the architecture choices here.
[02:43] Christopher David: But Ricardo said that this is inspired kind of by cloud flared KV and it's awesome and it works. Let's try it.
[02:53] Christopher David: This down as the first of all we forked it and put it into our open agents repo.
[02:59] Christopher David: And if you go over here and run the demo script after you run the build script that builds the plugin.
[03:14] Christopher David: Make sure you add disk slash to the plugin there that's not in the docs.
[03:19] Christopher David: So we're just setting on the KV provider, which I think is the same as Nostar Relay of his the key the value expire after and the priv key and then just some ex toism stuff.
[03:30] Christopher David: And that sets that there submission IDs on the priv author bowl, blah, banner IP okay.
[03:36] Christopher David: And then you can separately get it by running the get command.
[03:44] Christopher David: Now, because this is instrumented as a plugin, which our agents can use this now gives a way for completely external to the open agents infrastructure.
[03:54] Christopher David: Agents to be able to communicate with each other, basically kind of like write data in the same place that other agents can read from.
[04:01] Christopher David: You can imagine that this could evolve to where agents are able to communicate directly with each other, send each other messages open up web socket communications to each other.
[04:11] Christopher David: That's like one architecture, but for now having agents being able to mutually read right to.
[04:18] Christopher David: Key value stores opens up, you know, a whole world of possibilities of what agents can do.
[04:24] Christopher David: And I was trying to like wrap my head around like what can I, you know, do to demo this and like what are the cool use cases that could be enabled by this, but then I thought, you know what we've got like nine,
[04:35] Christopher David: seven million sat still available for bounties for people like you developers to help fill that in for us.
[04:42] Christopher David: I'm going to be awarding a double, double bounty of two million sats to record of this because it's such awesome work well documented and it's like a pretty solid like architectural building block that we can use for all sorts of different things.
[04:55] Christopher David: And encourage you developers, noster or otherwise to play around with this, it's pretty thoroughly documented here.
[05:03] Christopher David: And then you might use this as a sort of inspiration for a plugin that you want to write, maybe that works well with this.
[05:13] Christopher David: And then let us know what that is, get you know, submit it to us, get paid for the plugin and let's build a demo that is cool enough to attract actual, you know.
[05:25] Christopher David: paid usage so that you can also get back in fractional rev share from what you submit to us, okay read the docs on our website for more about how to submit this stuff.
[05:39] Christopher David: Super cool, see you soon.