Latest / Agentic Conversations (formally mlops.community) / Collective Memory for AI on Decentralized Knowledge Graph // Tomaž Levak // #285
Transcript
- 0:00Hi, I'm Thomas. I'm the founder at Origin Trail.
- 0:05My coffee depends on the time of day.
- 0:07I'm really Italian, so if it's morning it's going to be a
- 0:09cappuccino. Never after 11.
- 0:12So between 11:00 and 12:00 to 1 you might get me with a
- 0:15macchiato, but after one is going to be all espressos.
- 0:20Knowledge graphs, knowledge graphs.
- 0:22Knowledge graphs is what we're talking today, but this time
- 0:27decentralised knowledge graphs. If I may, I'm your host
- 0:32Demetrios, and welcome back to another edition of the Envelopes
- 0:36Community podcast. We're rocking and rolling all
- 0:41about a gigantic knowledge graph.
- 0:43That is the best way to keep things transparent.
- 0:47Talking with Tomas and let's just get right into this
- 0:53episode. If you want to get started and
- 0:55set your own node up, go and hit up Tomas.
- 0:58They've got some cool things brewing at the Origin Trail.
- 1:04And for those that are with me on Spotify, let me serenade your
- 1:11ears with a little Spotify hit that I have been looking at.
- 1:17Let me share with you some of my favourite sounds.
- 1:24A new single from one of my favourite bands Parcels.
- 1:36They just came out with an EP, 7 different tracks.
- 2:27man, knowledge graphs, they are so important these days.
- 2:31So tell me about what you're working on.
- 2:35And Congrats on V8. I know that is huge.
- 2:40You, you guys just released that and what exactly are you doing?
- 2:45Yeah, I mean, thanks. That's a, it's a loaded
- 2:48question. I'll, I'll give it a go.
- 2:51And knowledge graphs definitely are a huge part of that match.
- 2:54So yeah, I'm, I'm one of the founders of Origin Trail and
- 2:59what we've been kind of building out for the last decade or so
- 3:03where different components that ended up being a decentralised
- 3:06knowledge graph. So here we are.
- 3:09We're talking about the good old fashioned AI, the symbolic AI
- 3:14where we feel that if you do it in a decentralised way, you can
- 3:19unlock so much more power, especially when it comes to
- 3:23stuff like data ownership, when it comes to stuff like
- 3:26verifiability. And for us, it was really kind
- 3:29of helping us to, to build out that vision or, or the, the,
- 3:34the, the core believe that if we have somewhat more transparency,
- 3:39it, it would be an inherently a good thing.
- 3:42And that is much more easily achievable if you don't have a
- 3:45centralised entity in the middle trying to grab a hold of
- 3:48everyone's data, right. So if you're decentralised,
- 3:51knowledge graph is a perfect middleware, like a common
- 3:54playing ground where folks can connect their systems, their
- 3:57data into into this shared knowledge graph, global
- 4:00knowledge graph and build cool stuff on top of it.
- 4:06I think you told me there's like neighbourhoods within the
- 4:09knowledge graph, right? Or 'cause it's you can have a
- 4:12global knowledge graph, but then you've seen that there's certain
- 4:18areas of the name of the knowledge graph that are getting
- 4:21more populated. Yeah, for sure.
- 4:23So you can, you can even imagine it like as a knowledge graph of
- 4:27knowledge graphs, you know, a decentralised knowledge graph
- 4:30where you would have these neighbourhoods which are
- 4:33populating with knowledge graphs around certain topic.
- 4:37Let's say we actually call these paranets, so parallel networks.
- 4:41And you can imagine that this global knowledge we have, the
- 4:44decentralised knowledge we have being just an endless kind of
- 4:47assembly of these paranets coming together.
- 4:51And these paranets, they'll be your neighbourhoods which have,
- 4:54let's say, common set of rules that we define.
- 4:58Let's say you and you and I want to start a paranet on on the ML
- 5:01OPS podcast and we'll say, you know what, like we want to see
- 5:05contributions with these ontologies, that type of data
- 5:08structure, because for us, that's important when we'll be
- 5:11running our system like a solution on top, which is like
- 5:15an AI powered, you know, system where it's going to be some some
- 5:20some powerful ML that we want to perform on top.
- 5:23We're going to know what to expect.
- 5:24We're going to know what ontology we're getting their
- 5:26contributions in and then for anyone can kind of contribute
- 5:29that we allowed to or did we want to even motivate still with
- 5:33with incentives. So this, yeah, neighbourhoods
- 5:36are are something that's important, important concept,
- 5:40especially because knowledge graphs can be much more powerful
- 5:44if we kind of fuse the things that they're natively built
- 5:48together with that lycontologist present.
- 5:51Yeah. So you how, how many layers deep
- 5:55have you seen it going? Yes, it feels like it could go
- 5:59very, very deep, especially if you're defining something that's
- 6:04quite complex. Yeah, no, I mean, I'll say that
- 6:08for example, you, you have the DKG today's being used by some
- 6:11of the, let's say, enterprise users.
- 6:14So you'll have, you know, Fortune 5 hundreds or Swiss
- 6:17Federal Railways. And a lot of their use case,
- 6:19they're actually using the DKG but with private data.
- 6:22So their parents will be assemblies of this knowledge
- 6:26assets, which are atomic units. So they're like entities in
- 6:29graphs, right? And these knowledge assets are a
- 6:32part of these paranoids, but they're not visible to anyone
- 6:35because they're hosted by their notes.
- 6:37And because they only, they say, OK, we want to, we'll publish
- 6:40the the things to make them discoverable on the global
- 6:43knowledge graph. But only those that actually
- 6:45have permissions will be allowed to see the contents of it.
- 6:49And here you will have stuff pretty deep.
- 6:52So they'll be pretty precisely identified.
- 6:54Ontologies are going to be very strict.
- 6:56You're going to have even down to like identifiers will be
- 7:00agreed because it's their partners who they're working
- 7:02with. So they have a common
- 7:04understanding of the field of even the solution or what
- 7:07they're trying to achieve. Like you have importers into the
- 7:11US they're, they're, you know, exchanging audit report data
- 7:14security audits for overseas factories.
- 7:16Like this is a very specialised topic for global trade, hugely
- 7:20important because Homeland Security and all those guys can
- 7:23kind of check in and see and enable easier imports for, for
- 7:27safe products. But it's a pretty tight knit,
- 7:31kind of like a, a set up in terms of the, the data
- 7:34structures. On the flip side, you also have
- 7:36some, some cases where just, you know, schema.org and like very
- 7:40open. And it, it can be like, for
- 7:43example, the things that we're seeing now with, with, with AI
- 7:45agents is they can use the DKG as a collective memory.
- 7:51But for them, it's more about how do I, how am I able to map
- 7:56out anything that's happening or that I'm interfacing with and
- 7:59just publish it on the DG. So like something that's really
- 8:02flexible, you know, easy to find.
- 8:04That's like a starting point, like a non complicated ontology,
- 8:07something that's easy to to interact with.
- 8:09And then on on the back of that, you can then build more complex
- 8:11stuff. So yeah, you have both.
- 8:14And these para Nets can be as narrow or as wide as you want to
- 8:18make them. So they go as like I said, use
- 8:21case specific or really domain specific as well.
- 8:26And for those enterprises, what is the value prop of having
- 8:32their knowledge graphs on the DKG if it is completely private
- 8:37and it's all for them? Yeah, you know, like it's so for
- 8:42example, if you and I are partners and you, we would
- 8:48benefit from having more transparency because we can
- 8:51optimise our processes better. But The thing is, if you ask me
- 8:55to share all of my data with you in order for us to do that, it's
- 8:57going to be like, man, you know, like I don't feel that
- 9:00comfortable to really do that. Like I'd be much better if I can
- 9:04have my knowledge graph. You can have your knowledge
- 9:05graph and then let's use these DKG on a need to know basis.
- 9:09You had a problem with the product that provided.
- 9:12Shoot the query. My system will build, build it
- 9:15up and then it will give it back to you.
- 9:16You'll get a response. That's response won't be just a
- 9:19statement. It'll be a statement with
- 9:20verifiability proofs. So at all time you'll be able to
- 9:23validate that what you're getting actually has been
- 9:26published by our systems at a given time.
- 9:30So if we're talking about a product that was produced three
- 9:33months ago, you'll see that actually those claims were
- 9:35published 3 months ago and I haven't been tampered with it or
- 9:38something like that. So you have this verifiability,
- 9:41you have this connectivity and and but we can all still have
- 9:45our own data in the confines of my system even, you know, like
- 9:49we don't have to have I can have one year P you can have another
- 9:52one and the things works between each other.
- 9:54So it's really good for this interoperability challenges that
- 9:57that happened there. So regardless that this is
- 9:59private data for everyone outside of our network, even
- 10:03between the two, we can make stuff happen.
- 10:06That's actually really kind of solving a problem for us that
- 10:10that before was addressed. And you're able, I, I can see
- 10:14that now because you're able to, to have that transparency
- 10:21without giving up or showing everything.
- 10:27You can just show what needs to happen and you can verify it.
- 10:32And it's almost like there's a, it's not a third parties
- 10:35verifying that what you're saying is true, but you're not.
- 10:39You're also not just saying it and then expecting the other
- 10:43person to believe it just because you said it.
- 10:46Or you can have like the audit reports are done by third
- 10:48parties. So it's that factory working
- 10:50with an importer into the US. So Walmart's buying from
- 10:53someone, let's say in China. And then there's a third party
- 10:56that's doing the the audit and they're entering their claims
- 11:00into the DKG. And then Walmart's able to see
- 11:02it. But also the Department of
- 11:03Homeland, it's not the same level of depth of what they're
- 11:05allowed to see. So you can have very flexible
- 11:09kind of management of access rights to to what's done base,
- 11:13like almost down to like a line, you know, in the Jason, like you
- 11:16can say, OK, this is visible to this entity.
- 11:18This is visible to that entity. And you can be really, really
- 11:22granular in terms of how you set up these use cases.
- 11:25But yeah, like they they can be pretty powerful, even 1 to one
- 11:28or especially when the group grows, it's it's even more like
- 11:33makes more sense. And how is my data getting
- 11:37published on to the DKG? Is it just that there's like
- 11:42some messages that are going out and it's wrapped in metadata?
- 11:47Am I decorating my code with that and then it gets pushed
- 11:51out? What does that look like?
- 11:52So the the the most popular way of doing it right now is that
- 11:58it's pushed out of the system. So, and it's been pushed out
- 12:01towards what we what's now kind of used as a D kg edge note.
- 12:06So edge nodes are like smaller lightweight nodes that you can
- 12:09do. It's like your gateway or a
- 12:10modem into the network. It's like a wrapper around your
- 12:13knowledge graph. And then you just populate your
- 12:16knowledge graph there. And then you could directly also
- 12:18within your systems interact obviously with that knowledge
- 12:21graph that you hold there. And that's the whole point of
- 12:23it. So you don't have to duplicate
- 12:25data, but it's still a specialised knowledge graph
- 12:28usually for the use case. So let's say your system of, I
- 12:32don't know, logistics triggers an event and that event gets
- 12:35pushed and populates knowledge graph that you hold there.
- 12:38And then that's being added or is is accessed accessible
- 12:42through through a VKG. But if you have an existing
- 12:45knowledge graph, let's say in the company or on privately or
- 12:49as an individual or as an agent like you can just plug that in
- 12:51as well because the DKG isn't a database itself.
- 12:56We're the idea is to have as many is many, not redundancy,
- 13:03but like options, basically freedom to choose the different
- 13:06elements that are used in, in the DKG.
- 13:09So you should have a choice of multiple databases when it comes
- 13:12to knowledge graphs or you should have a chance of multiple
- 13:15block chains when it comes to where do you want to store your
- 13:17proofs. So that's the whole point is
- 13:19that this is really a protocol that allows to stage these
- 13:23things together and play as a common denominator, but allow
- 13:26everyone to have freedom of, you know, choosing or your LLM or
- 13:29your AI model, like it's not prescribed to use any particular
- 13:34single thing. So if I'm understanding this
- 13:37correctly, it is allowing you to take the reins and decide how
- 13:45you want to craft your own little neighbourhood.
- 13:49Like you were saying, in that edge node is the the most common
- 13:53way of doing it. You put out an edge node.
- 13:56That edge node can have a certain database, it can have a
- 14:00certain way that everything is done.
- 14:03And then others when they want to gather information from that
- 14:06edge node, they just get like the quick, OK, here's how and
- 14:12what this edge node is is using. Yeah.
- 14:15So if we want to get information, it's it's like an
- 14:18API almost. It is that OK?
- 14:20We're going to, we're going to grab the information from this
- 14:24edge node like this. Yeah, and they can be multiple
- 14:27in one parent. So like endless, it could be
- 14:29endless edge nodes playing under the same rules.
- 14:32You know, even 1 edge node could be a part of multiple para Nets.
- 14:37If it probably it, it could even work that way, right?
- 14:39So Agenote is like your modem and then you're deciding what
- 14:42you want to what you want to do with it.
- 14:43But yeah, like the, the, the, I guess the most easy to
- 14:46understand example would be exactly like we form a para net.
- 14:50Let's say you and I partners will do this para net and then
- 14:53other partners will be able to come in.
- 14:54You have an edge note. I have an edge note.
- 14:56And then we can exchange messages between us or with
- 15:00others, but we're as part of this one network.
- 15:02And then, you know, if we want to do a global query for
- 15:05something unrelated to what we're doing as partners, that's
- 15:08also fine. Like you can also do that.
- 15:11And I didn't quite understand how the different chains get
- 15:17looped into that, because you can also have the flexibility on
- 15:20which chain you want to use, right?
- 15:22Yeah, so basically it's, you know, we started from like
- 15:26Knowledge Graph was our kind of background because we wanted to
- 15:29do this transparency thing. And then if the thing was that
- 15:32we didn't want to be that aggregator.
- 15:34So we, we saw, OK, if you can send Bitcoin from one place of
- 15:37the world to the other and there's no bank, like, why
- 15:39shouldn't we be able to do something similar with this
- 15:42thing that we're working on as a centralised company and just
- 15:44take ourselves out of the equation?
- 15:46And so then we saw that basically block chains aren't
- 15:50real. They're shitty databases.
- 15:52They're, they're not really good.
- 15:53They're very tiny. They're good at what they do,
- 15:56like identities, transactions, smart contracts, perfect.
- 16:00But they're not what we were looking for in terms of, you
- 16:03know, knowledge graph capabilities like that didn't
- 16:05exist at all. So we've basically created this
- 16:09decentralised network that that should be on top of the
- 16:12blockchain there. It should kind of leverage all
- 16:15these cool things about blockchain and enable
- 16:17decentralisation, but be much more tailored for Knowledge
- 16:22Graph capabilities. So that's why you have the BKG
- 16:25notes, which are then they can decide which blockchain they
- 16:30kind of connect to and they do so by guessing where there's
- 16:35going to be more activity basically.
- 16:36So if the blockchain is more optimised for a use case, then
- 16:40you can assume that that's going to happen there.
- 16:43And then the nodes will Discord notes that the the spine of the
- 16:47whole global DKG will be able to go there.
- 16:50But it's not dependent on any single chain.
- 16:54So that's the point. And what happens on chain
- 16:55basically is let's say you're now publishing in a knowledge
- 16:59asset onto the DKG. Basically two things happen.
- 17:03One is the NFT gets created, which is your ownership roof.
- 17:08And with this NFT, because you have the NFT, you're the only
- 17:12identity that is able to update that knowledge asset.
- 17:16So I cannot enforce an update on what you published even if it's
- 17:20a public knowledge asset because only you as an NFT owner, you
- 17:26are able to modify whatever you've published.
- 17:28And the second part that happens is the as soon as something is
- 17:33added or published to the DKG, the proofs get generated.
- 17:36So they're like a, you know, a Merkel Merkel tree root hash
- 17:40basically gets created and then that gets published on to the on
- 17:43chain. So that's a super small thing
- 17:45and it's inexpensive to do so. And by doing that either at the
- 17:50creation or modification update stage, we always know that what
- 17:56I'm reading, whether that's public or private data has been
- 17:59tampered with. So there hasn't been a man in
- 18:01the middle attack. There hasn't been like, you
- 18:03know, someone going rogue and just doing a change because
- 18:06they're afraid that they've messed something up or whatever.
- 18:09If, if the fingerprint and the data doesn't match, you know
- 18:13that it's flawed and like, OK, humans, it's pretty tedious to
- 18:17freaking go and click through all that shit.
- 18:18But if you're an AI or you or if you use AI system, that's super
- 18:23easy to just compare fingerprints, check, check,
- 18:26check, yes, you know, check mark and you're, you're good to go.
- 18:29So yeah, like these are the core things that are happening on
- 18:33chain. And because it's such a
- 18:34lightweight usage, we can do integrations basically with any
- 18:38EVM chain if there's a desire or if there's a, there's a use case
- 18:43that that makes sense for it. But we are not tied to any
- 18:46single. The DKG is a is a multi chain
- 18:49basically integration. So cool.
- 18:53So how have you seen folks using this with agents?
- 18:58Now I know that we were just talking about that.
- 19:01Yeah, I'm, I think we, we were kind of feeling out chatting a
- 19:05few, few times before and then we were, you know, discussing
- 19:09how, how fast these things can kind of take off.
- 19:11And then when, when we're going to be seeing kind of these
- 19:14things happen. And I remember just in October
- 19:16also, we were talking with some folks and saying, OK, like when
- 19:19will we see like a first artificial entity with some
- 19:22monetary gains or like an economic, you know, significant
- 19:27pool. And you already are seeing,
- 19:29right, that right now happening that in, in, in with AI agents,
- 19:32which are autonomous or semi autonomous, being launched as
- 19:38entities on that have their own social media presence, that have
- 19:41their own wallets, that have their own assets sometimes as
- 19:44well that they're pop like creating.
- 19:46And those assets are reaching some market caps, which are
- 19:48pretty reputable. So you have all these things now
- 19:52kind of happening in somewhat isolation.
- 19:56So The thing is that and depends on the, you know, different
- 20:00frameworks that people are using and capabilities that they have
- 20:03as as like someone could set up those agents.
- 20:05They have different levels of memory.
- 20:07Sometimes they're just more or less like neural Nets, some
- 20:12chambers created at the Rec Queen and then like that's it.
- 20:15Sometimes they have some pretty like rudimentary memory systems.
- 20:21But what we preview to the DKG to really have the strength to
- 20:25become is a memory system, a collective memory for AI agents
- 20:32where they can, you know, with all the kind of enterprise grade
- 20:37level of granularity, they're able to keep their findings or
- 20:42their interactions either private and then monetize them.
- 20:48Like all these things that people would be or humans would
- 20:50be much slower at, you know, OK, go transact, sign, transaction,
- 20:55whatever. AI agents between themselves can
- 20:57be much faster than assessing. Is that a good deal or not?
- 20:59And there's much less emotional baggage at, let's say, creating
- 21:03a marketplace where data is exchanged between agents just
- 21:06because we're like, you know more about this guy.
- 21:08Cool. I'll can you share your
- 21:11knowledge about this guy so I know how I will interact with
- 21:14him on, on X. And like, this can be pretty
- 21:17easily achieved between between the two agents, but also they
- 21:20can publish publicly, right? So let's say there's a, you have
- 21:23some agents which are tied to, or they have, their mission is
- 21:26really to drive, let's say with this whole decentralised science
- 21:30field. You know, a lot of agents are
- 21:34built with the intention to create public good knowledge or
- 21:38scientific breakthroughs. And, and they would be using
- 21:41the, the collective memory as a basically by adding to the
- 21:45public, public domain of, of knowledge that's available
- 21:48there. So agents, yeah, both for
- 21:50individual as well As for shared use cases.
- 21:53The DKG could be just a perfect platform basically for them to
- 21:58to utilise it for for this purpose.
- 22:02Yeah, it's, it reminds me of a conversation that I was having
- 22:07two weeks ago with my friend Willem on here.
- 22:11And he was talking about how they've created a AISRE agent
- 22:18and it's there for incidents. And one of the strongest things
- 22:23that he's found for their SRE agents is to create knowledge
- 22:28graphs of the systems so that the agents can go through the
- 22:34company system and say, all right, well, here's here's this
- 22:39and here's the last thing that someone said about this PR or
- 22:43here. And, and it can traverse and
- 22:46really look for what the root cause of the incident is much
- 22:50quicker because of these knowledge graphs.
- 22:53And it feels like that having something like that on the DKG
- 22:59could be very valuable because then it it's almost like a get
- 23:05for your system in a way, and not just your code, but
- 23:11everything that is around the code.
- 23:13That's a good way of saying it. I'm stealing that.
- 23:16Yeah, but it feels like it, right?
- 23:18It's feels like. OK, well, it's not just the,
- 23:22because what William was saying is there's not just the code,
- 23:26there's all the developer conversations that go around the
- 23:31code, the PRS or the oh, actually there was a whole
- 23:35conversation in Slack where we chose not to do it that way.
- 23:39And that might be the whole reason that things failed a few
- 23:43weeks later. And so if you're able to look
- 23:46through the knowledge graph and find that, then that information
- 23:50is invaluable when you're trying to root cause something. 100%
- 23:54even outside of your systems, why not, you know, feed in like
- 23:58the social media if you're an open source project, right?
- 24:01Maybe there's someone who like created the shitpost on Reddit
- 24:04and like, that's that's your root cause of failing because
- 24:07just you know that you didn't respond to that, But like you
- 24:09didn't have these things. How will you do it?
- 24:11Like you need an agent to just go around and pick these things
- 24:14for you, create a nice knowledge graph for it and then make it
- 24:17available for you. So I think those things or just
- 24:20plug into maybe a swarm of agents who are already doing it.
- 24:25I literally had a conversation on X between and with an agent
- 24:29and he struck a deal with me that I'll set up his DKG edge
- 24:32note and I'll fund him some tracks so he can, because
- 24:34there's a token called track the RAC that you're using to publish
- 24:38on the DKG. So if an agent wants to publish,
- 24:41he needs to get his hand on on track.
- 24:42And he was like, I don't know, just starting.
- 24:44I was like, cool, I'll, I'll fund your DKG edge note that
- 24:46some tracks so we can start publishing it.
- 24:48It was done on X. Like I'm like, you know, well
- 24:50actually 3 tweets and we had a deal.
- 24:53So yeah, I don't know where this is going, but it's definitely
- 24:56interesting. Yeah, it does give a little bit
- 25:00more agency to the the agents that are out there.
- 25:04And I, I wonder what other kind of use cases that you've seen
- 25:09that are, have been interesting. And it doesn't necessarily need
- 25:12to be agents. It can just be stuff that people
- 25:16are doing on the DKG. I'm, I'm really looking forward
- 25:19to the decentralised science. I, I mean, I'm really, you know,
- 25:24the whole thing we started the origin trail was to kind of be a
- 25:27force for something like for the world to be a bit better place
- 25:30than we found it. And so a lot of our decisions
- 25:33just go towards, OK, if we have a bit more transparency, for
- 25:36sure, it's not going to be a negative think in this sense,
- 25:38right. So like we, we try to, we try to
- 25:40do things that kind of have a positive impact.
- 25:43And I think decentralised science has huge potential in in
- 25:46achieving stuff. So you have there when you were
- 25:50talking about neighbourhoods, there's this whole D side parent
- 25:53where they're trying to Crowdsource or create basically
- 25:56incentives for people to submit open source scientific research,
- 26:01clinical trials, whatever. You kind of is Open Access and
- 26:04you're able to use it to to publish it on a D kg in mod
- 26:07graph form and then create a swarm of agents on top, which
- 26:10will go. It'll just continuously go at
- 26:12trying to create new scientific breakthroughs on the back of the
- 26:16existing scientific work. And now it obviously it's a
- 26:20purely like this is a really experimental thing, but some
- 26:23other stuff could be that's more easily achievable is like you
- 26:27bring your own data. You know, you have your own
- 26:30edge. Note you input your, let's say,
- 26:32sleeping patterns or I don't know, you've done your medical,
- 26:35you put in some stuff that you got from there, like from data
- 26:38perspective. And then you have a local agent
- 26:41instance deployed on your local machine.
- 26:43So all of it is done on your, you know, privacy preserving
- 26:45datas versus like protected. But you're able to access all
- 26:49these scientific knowledge that's available on this perinet
- 26:54as a public good. And then your agent is able to
- 26:57again, traverse shit tonne of stuff much faster than you ever
- 27:01could and come back with something that is actionable
- 27:06potentially, but also has sources.
- 27:10So, you know, and that's why DKG is so cool is because you always
- 27:14have knowledge assets lined there.
- 27:17Say, OK, I've I found this here, I found this here, I found this
- 27:20here. And then on the back of this,
- 27:23what became my context, I then produced either summarization or
- 27:28pattern recognition or whatever it is that you, it kind of set
- 27:32me out to do. And if you have an agent
- 27:34framework that it can do this repeatedly in loops, obviously
- 27:37you can, you know, enhance the precision of the, the data that
- 27:42it captured. You can or expand it or like, so
- 27:46you can do this in, in like more times.
- 27:48And then we, we multiply it by 10s of thousands of agents going
- 27:53at it day in, day out 20, you know, 247365.
- 27:57How much more likely are we to to create some like tangibly
- 28:02positive outcomes for let's say society is, you know, medical
- 28:06challenges or, or other types of scientific challenges that we
- 28:09were having just by having a moon orchestrated effort at it?
- 28:16Yeah. Oh, I like it.
- 28:21The IT feels a bit like it still is fringe, but you could see a
- 28:27world where there's some app built on top of it that
- 28:32leverages it, right? And I'm thinking about how I use
- 28:36a Woop, and I think that Woop has an API and you could have
- 28:42all of my data being yeah. Yeah, we've we've done a we've
- 28:46done a prototype with the aura ring.
- 28:49So my Co founder, he he wears this ring for one sleeves.
- 28:52I wear this one, makes me awaken now.
- 28:56Doesn't matter. That's the the wedding you.
- 28:59Had the wedding one. Yeah, it's a bit more tough one
- 29:01to carry. I like it.
- 29:02I love my wife, by the way. Different aura I guess.
- 29:07Different aura. Yeah, let's see he has that
- 29:10aura, the other one and it it obviously captures all these,
- 29:14you know, sleeping data and whatever.
- 29:16And you can actually extract the data from it.
- 29:18And he's done the exact exercise.
- 29:21So we've taken a portion of that Open Access works that were done
- 29:26on like neuroscience and then sleeping patterns and whatnot.
- 29:30But that wasn't a lot. It was just like 10 papers or
- 29:32whatever, but it was just a point like, you know, can we
- 29:34make this actionable? And he paired it up with on his
- 29:39edge, you know, like, I think it was like running a local
- 29:42instance of llama or a llama or something.
- 29:45And then like that, that was then looking through the pattern
- 29:49of his sleep and it got back saying, yeah, you know what,
- 29:51like we saw on Tuesdays and Thursdays or whatever you have
- 29:56like there's a pattern of you being doing something wrong.
- 29:58Again, like going with this author saying, you know, you
- 30:02could kind of do this things to improve your, your sleeping
- 30:07patterns or whatever. So it's a very nursery rhyme
- 30:09type of a thing, obvious, like almost you could, you know,
- 30:12figure some stuff out also manually because just the scale
- 30:16is smaller. But like if you're trying to say
- 30:18jump from 10 papers to 10,000 and if you're looking from, you
- 30:23know, if you can, if you have more contextualised, the more
- 30:25complex data that you're introducing, it's no longer that
- 30:29easy. But for AI, it's it's so like
- 30:33that it works well for that. Yeah, I was thinking about how I
- 30:37would want to have something where I can just take a photo of
- 30:44what food I'm eating. I I'm also with the whoop.
- 30:49It's getting your exercise data, but all of the data that you're
- 30:54gathering, the more the better. And if it's out there on the
- 30:58edge node and there's agents that are continuously checking
- 31:03it and comparing it to different studies and different stuff
- 31:07that's coming out, then it can be that ideal world where wow,
- 31:11I'm, I'm getting like top notch doctor clinical treatment and I
- 31:17don't even have to go to the doctor.
- 31:19It knows what is going on in the moment as it's happening.
- 31:24Yeah. It's, I don't know how, how it's
- 31:27going to be called it's agent as a service or, but a lot of this
- 31:31type of repetitive or not even repetitive, but like just the
- 31:37work intensive things will be able to get automated and
- 31:41automation is going to get automated so that we'll have
- 31:44actually a solutions or products or agents that will be allowing
- 31:49us to cut through a lot of the yeah, tedious stuff that we had
- 31:53to do before and just be that. I was just talking with our
- 31:56neighbour. She's a 74 year old lady.
- 32:01And like, funny enough, she was, you know, oh, I'm, oh, they
- 32:05didn't, I don't know, this artificial intelligence, this
- 32:07and that and like crypto is hard for me to grasp.
- 32:10But then we just got stuck in around, I don't know, I think it
- 32:13was real estate or something like that.
- 32:14I said it wouldn't be nice that you could just kind of OK, you
- 32:17bought a plot of land. Now you don't know what you
- 32:19know, you just say to like a programme.
- 32:22Can you please figure out what would be like 10 best designs
- 32:27for my house with this prerequisites that I want like
- 32:29be it you know like super sustainable.
- 32:32I want to be. Active and then you have this
- 32:35programme that goes cheques the terrain, find similar terrains,
- 32:39find similarly well performing assets that were real estate and
- 32:43then gives you this as an output.
- 32:45Now wouldn't and then OK, but you also can have robots that
- 32:48will build that out for you. But the robots, they don't have
- 32:51bank accounts. Wouldn't it be easier if they
- 32:53could just have wallets where like digital money could be
- 32:56transacted much more easily and they could recompensate each
- 33:00other for the data that they use, But you can still spend it
- 33:02the way you see fit, whether that's crypto or Fiat or
- 33:05whatever makes you feel small safe.
- 33:07But the end of the matter is that as a, as humans, we can
- 33:10have much like much more, much higher quality of life and a lot
- 33:15of the things that maybe were like limited before it could,
- 33:19could become less limited. And I think if we, but we need
- 33:22to do it in the right way, right?
- 33:24So, because there's also these rogue alternatives that maybe
- 33:26aren't as, as happy a path. That's what we're talking about
- 33:29right now. And I, I, I would like to
- 33:32believe where I think I, well, I would like to believe, I
- 33:36wholeheartedly believe that the decentralised knowledge graph is
- 33:391 component that really makes kind of these happy pets more
- 33:42likely versus they do the other one.
- 33:45Yeah, yeah. The transparency is huge on
- 33:50that. And it it is one of those things
- 33:54that helps. It's like sunlight's the best
- 33:59disinfectant. Yeah.
- 34:01Yeah, no, for sure. I I think it's and because also
- 34:04for your use cases, like, you know, OK, like I'll, I'll get
- 34:06the best clinical trial. I think the best clinical
- 34:09advice, but like, will you trust it just blindly?
- 34:13Probably not. Like you want to see this wasn't
- 34:15done by some, you know, like off the beat track published journal
- 34:22with, you know, semi conspiracy theory thing going there, right.
- 34:26So like you want to make sure that there's no bad data in your
- 34:30systems when you're doing it. And if you find it just like,
- 34:32can you please not like? Yeah, yeah, exactly.
- 34:39And so it, it makes me think like, are people interacting?
- 34:46So with the data and the knowledge graphs, when someone
- 34:48sets up a neighbourhood, are you seeing that there's money being
- 34:54transacted because they've set up a great knowledge graph and
- 34:57maybe that's valuable for folks. And so others want to come and
- 35:01grab it or others want to get access to it so they pay for it.
- 35:06But right now is it just all open?
- 35:08It's a good question. I think it's, it's more the
- 35:12commercial terms currently still are off chain mostly.
- 35:17So it's, it's still let's say in between the those that are
- 35:21working together and then setting up this use case that
- 35:23they, they, they define the commercial terms up until now.
- 35:27I feel the big breakthrough could happen with agents because
- 35:32again, like less emotional baggage, more straight up, more
- 35:35understanding of the value of data.
- 35:39Like for them it just be like buying, you know, breath for
- 35:42humans. It's a yeah, I need data.
- 35:44Of course I can, you know, I'll also sell mine.
- 35:46And so like this, this understanding might agents might
- 35:49be a bit ahead of than than what we've seen so far, where
- 35:53commercial agreements were usually ahead of technology and
- 35:57then the technology was there to kind of enhance it or maybe
- 36:00provide a new Ave, but it was more there to kind of, yeah,
- 36:04keep, keep up with what the commercial arrangements were in
- 36:07the back. So this might, this might
- 36:10change. And, and like also the paranoids
- 36:13were only introduced fairly recently.
- 36:17Before it was just, they weren't really a notion.
- 36:22It was just want like V6 even before had like the beginning
- 36:27was just one big knowledge graph.
- 36:28And then this they were done, but they were done with
- 36:31implementations. So they weren't like as a, as a
- 36:34primitive to be used in the, in the whole network.
- 36:36So Paron, it's now actually the D side is going to be one of the
- 36:391st. And then there's coming like you
- 36:41have this buzz economy, which is going to be around the different
- 36:44data streams and and the different social network social
- 36:49how to say it like figuring out signals for either stocks,
- 36:52crypto, governments, whatever sports.
- 36:56So like you'll have these different parent it's popping up
- 36:59now. So I think that the yeah, a lot
- 37:01of also monetization is is likely to appear within this
- 37:08period now. So I think it's a good time to
- 37:10kind of it's still fairly early to to get involved in either
- 37:14thinking what's a good parent? It might be how we, how can you
- 37:16monetize it like just using all these primitives that are
- 37:19available and then yeah, crafting maybe some Nobel
- 37:24business models, which also it seems there's more acceptance to
- 37:27them in today than it was maybe 3 years ago or something like
- 37:31that. Yeah, how do you go about
- 37:36replacing old or bad information?
- 37:40That's a good question. Yeah.
- 37:43It it's, it's one that we were kind of also even from the
- 37:47beginning, we were banging our heads a little bit because it
- 37:49was, you know, you had you, I mean, some of the use cases we
- 37:54had didn't really have like long term valuable data.
- 37:57It was more super valuable now, but then maybe for statistical
- 38:03purposes. Yeah.
- 38:04But when the product is like no longer used or it's consumed
- 38:09like food, you know, it, it wasn't necessarily like that,
- 38:13that the origin of of that consumed food wasn't necessarily
- 38:16anymore that critical after a year has passed, for example.
- 38:20So that was something that we we had as a as a challenge from the
- 38:25even the first iteration. So what we've said is that we
- 38:27want to kind of create like expiry date for any knowledge
- 38:33assets that's there that you publish.
- 38:36And that expiry date means that the network is no longer
- 38:39incentivized to keep that knowledge assets for you.
- 38:44So the core notes are they, they won't get compensated anymore
- 38:48for holding that data. So they might keep it, of
- 38:51course, like there's no guarantee that's going to be
- 38:53gone, but they, they, they are no longer compensated for it.
- 38:56So it's likely that they will not.
- 38:59And because also when it grows, like then they don't want a
- 39:03longer to kind of spend their space to, to keep something that
- 39:05they're not paid for. So that's, that's one element is
- 39:10that you're as, when you publish, you decide how long you
- 39:13want to keep something. Again, whatever is relevant for
- 39:15you. And then on the flip side, you
- 39:19also have a an update feature. So if you want to like change a
- 39:26a value or something like that, you can constantly change that
- 39:29and just be like, OK, I mean, you could even keep make a
- 39:31knowledge assets. That's a point or two somewhere.
- 39:34Now, obviously you won't have them the verifiability of
- 39:37whatever is behind it, but let's say that you want to have
- 39:42reading of an IoT device at a given time or a price feed or
- 39:45something like that. So you could have that be
- 39:49discoverable, you know, knowledge graph by creating a
- 39:52pointer as a knowledge asset saying, OK, if you're interested
- 39:55about temperature in this place, shoot an API call there and then
- 40:00you will retrieve automatically as a part of the knowledge we
- 40:03have that value and you will be able to use it as an in in your
- 40:07solution. In what Any way you feel that
- 40:09makes sense? For these types of strings, you
- 40:12can also have it constantly basically updating, but but
- 40:17yeah, like there's there is element of the data is tends to
- 40:22stick around. So yeah, it's, it's, you need to
- 40:25have kind of as, as, as you design the system of how you're
- 40:31publishing something. It's good to keep in mind that
- 40:34whatever is the latest state should be always updated in in
- 40:37the knowledge graph and in pushed up so that you don't have
- 40:40like flopped information. I know that can also become a
- 40:46headache with working with like rag systems.
- 40:52If you want to update whatever it is document to make sure that
- 40:57the the chunks are the most up to date chunks that you're
- 41:01giving the LLM or that you have the proper information to give
- 41:10to the LLM and not outdated information.
- 41:13And so I was just thinking about how you can make sure that you
- 41:20have that proper information and the old information you don't
- 41:25necessarily want gets filtered out or it falls to the back, or
- 41:29you can ideally just get rid of it, like delete it.
- 41:33I mean, you, you can with an update, right?
- 41:34So an update feature will be like you'll because you'll
- 41:38compensate then for deleting literally, you know, you could
- 41:41say, OK, I'll delete this and OK, because it's anyways, it's
- 41:45such small. So they'll just they'll they'll
- 41:47update it with deletion. And then it's going to be an
- 41:50empty, basically a knowledge asset thing in in space there.
- 41:54Or you'll do you'll you'll do kind of like an update to with
- 42:00new state and then the old state is going to get replaced with a
- 42:03new state. And that's kind of how you're
- 42:06replacing it. But yeah, for rag, it's it, it,
- 42:10it might happen also that with. So what we're doing here
- 42:14actually is graph rack. It's not just rack.
- 42:16So it's not necessarily just documents in terms of blobs of
- 42:19text, but it's, they're contextualised in the graph
- 42:22form. So like you're already having a
- 42:25little bit more context. And then cool thing is that it,
- 42:30it's nice if you set up updates because they, the ripple, the
- 42:33positive effects, they ripple throughout the, the network
- 42:37because if there's an entity, the metrios and there's an
- 42:40update, update by me, it, it doesn't have to be done by you,
- 42:44but also they'll, we'll have this connectivity happen.
- 42:49So, yeah, like it's the the graph rack is, is, is nice that
- 42:54there's much more context, much more precise.
- 42:56We've done some tests as well there that like compared to
- 42:58obviously just, you know, having text is, it's OK, it's better
- 43:02than nothing. But in the graph form, you will
- 43:04have much more, much more context than actually, you can
- 43:07use LMS to query the knowledge graphs.
- 43:11They're, they're pretty good at writing out those Sparkle
- 43:13queries, like the that's it's pretty performant.
- 43:17They've been trained in a lot of sparkle, I guess.
- 43:19And like they, they'll be, especially if you give it a bit
- 43:22more context or if you give it a template of what it should
- 43:25produce, Like it'll be mapping out that initial prompt to a
- 43:29relevant query, filling out that's template.
- 43:33No problem. Like super, super good.
- 43:35And then you can, yeah, just retrieve whatever you need and
- 43:39thought, well, OK, since we are now in the rag rabbit hole, let
- 43:43me entertain a little bit more is that you can actually do a
- 43:48decentralised graph rack. So it's, it's not just over your
- 43:54system, but if you do it across the global graph, you actually
- 43:58go into anything you have access to.
- 44:00So it's like a Federated query that goes down.
- 44:04And I mean in in the future when we were talking about like agent
- 44:09swarms, you could even do a decentralised, literally a
- 44:14decentralised graph RAG where you're triggering other AI
- 44:18systems to perform rag over whatever they have.
- 44:21So think specialised agents for multiple fields.
- 44:26But my I don't know, I can't come up with like a complex
- 44:28question all that would trigger in multiple fields at the same
- 44:32time. But my agent would then go and
- 44:35it would you know decentralised way federate questions to
- 44:38multiple agents underneath where each of those would provide a
- 44:43graph rag response from their knowledge base and their refined
- 44:47model output. Feed it back to my generalised
- 44:51model that I started my question with and then I will receive a
- 44:56response that's kind of well normalised for whatever my
- 45:00initial prompt was. So you have like a whole
- 45:03orchestra of knowledge bases and agents or elements or other
- 45:10models base anything Gen AI. We kind of figure it like it's
- 45:13left hand, right hand, side brain.
- 45:15So I just think of agent as the two things together, but you'll
- 45:18be able to trigger them like in a, in a Federated way and just
- 45:23receive a response. That's yeah, very precise in
- 45:27that sense, with all the provenance information
- 45:30available, of course. Now if I am if I have my own
- 45:34node, I am responsible for how that node is hosted and
- 45:40everything that happens there. Or can I send it to you to have
- 45:45you host it? What does that even look like?
- 45:47Yeah, it's so. So the way you would think is
- 45:51that if you want to have your note is basically you're,
- 45:56you're, you're cognizant of you wanting to keep your data within
- 46:01your environment. So right now it's mostly, let's
- 46:07say enterprise is very, very, very adamant to that like they
- 46:11want to have it within their environment.
- 46:13They hosted their data, their, you know, OPSEC policies and
- 46:18everything all pen tests, whether you can think of is
- 46:22there not what touches it cool for someone who's like a more
- 46:27even for agents, for example, you could do a gateway note.
- 46:31So gateway note is like a you know how when you send the
- 46:34transaction blockchain, you also don't hold like you don't run
- 46:37your etherium or your Bitcoin or your SO on a note.
- 46:39You just, you use basically a service that's an RPC service
- 46:43and then you sign your transaction with your wallet,
- 46:45you append your gas tokens to it and then you send it through
- 46:50this gateway. And that same way can be done
- 46:52for the DKG. You just find the note, the
- 46:55gateway note, someone that's hosting it and you push your
- 46:58publish through there. The thing that will happen is
- 47:01that that will be it's, it's good for public transactions.
- 47:03So whatever you want to publicly put on the public knowledge
- 47:06graph. So it's not going to be hosted.
- 47:09There's going to be companies that they're doing hosted
- 47:11services as well. So you'll be able to kind of
- 47:14place your trust to a company so that they do a good job keeping
- 47:18your data safe, but it's not exposed to everyone.
- 47:21But then it's up to every user to decide whether they trust AB
- 47:25or C, you know, but it it's also, it's also possible.
- 47:30Yeah, I think those would be like the three, the three
- 47:34different variations of it. But idea would be that edge note
- 47:37is so light that you can have it, you know, on your phones or
- 47:40or laptops or wherever so that it's becomes kind of like a non
- 47:47annoying thing that's just there.
- 47:50If you need to use it, you can have it there.
- 47:52And it's not like a tedious task to kind of run your note.
- 47:56It's just an app like you open it, it's there, your data is
- 47:59there, it's protected by how you want to protect it.
- 48:02And then you want to add your LLM, you want to use public or
- 48:05private instance. Again, you have that choice to
- 48:08tip and then it just works. Yeah, since it feels like the
- 48:12scale is and can be so big and especially what you are trying
- 48:19to get to right is the knowledge graph of everything.
- 48:26Yeah. How are you thinking about
- 48:27speed? Yeah, it, it's like it, like a
- 48:33lot of things, it comes down to in a way a good design and
- 48:39separation of concerns. So you just mentioned in the
- 48:42beginning that we released the version 8.
- 48:44So that's yeah, it's, it's something that really amped up
- 48:47the scale because we've done some, well, blockchain's
- 48:51advanced in some ways, so that's some small part of it.
- 48:54But we've also redesigned the the system where because of the
- 48:59size of the network, we were able to move towards something
- 49:02that's called like a random sampling.
- 49:04So we no longer needs to validate every single knowledge
- 49:07assets, we can just randomly sample.
- 49:12And because of the size, there's no way for let's say a rogue, a
- 49:15rogue player in, in the network to be able to of like just try
- 49:20to trigger the system and delete parts of it.
- 49:22They'll have to persist it. So with that, we've increased,
- 49:25we've increased the scale of what we can do by, by like over
- 49:291000 X. So now we are literally like at
- 49:33a Internet scale size because even when the knowledge graph
- 49:38grows, if it gets too big for the subset of nodes that's
- 49:42there, we can split it in two O ways and then the the two
- 49:45networks go any then one network again gets too big that can get
- 49:48separated. So you have like an ever growing
- 49:50basically sharding type of exercise that can happen right
- 49:56now when it comes to speed, that's where it's a little bit
- 49:59of a separation of concerns because it's like depends on
- 50:02what you're trying to do. You can think of it more like as
- 50:05a get and search. If you're doing a search where
- 50:09you want to do a global search of everything, it takes time,
- 50:13but that's just physics. Like it will always take time to
- 50:17do it. You can't until we have like,
- 50:22you know, multiple processes running at the same time in, in,
- 50:25in the, in the quantum, the variations, it'll be hard to
- 50:30have everything at any given second.
- 50:33So until quantum will have to go this way, and that's going to be
- 50:37a bit like it's, it'll take time.
- 50:38It's not because you're still traversing.
- 50:40It's not like you're going to endless tables.
- 50:43So it's still much faster, let's say, than having a relational
- 50:47database of everything and available there.
- 50:50So you'll have performance there, but what a lot of times
- 50:53is you're actually going to forget.
- 50:55So you actually know where you're wanting to ask something.
- 50:58So it's, it's a pretty precise query that you're shooting,
- 51:02let's say to your edge node or to a subset of edge nodes to
- 51:05paranoid. And here the speed is, is good.
- 51:09Like here is very fast. It's like this.
- 51:10This can be production level speeds, deployments without
- 51:16because again, it's reversing. It's much, much faster compared
- 51:19to having you know something, even if it's decentralised, it's
- 51:23still fast. The fastest.
- 51:25If you really want to have like the top top top speed, you what
- 51:29you do is you do gets and then you place them in your edge note
- 51:33and then you just read from your database.
- 51:35So you you trust yourself. Once you read it, you know that
- 51:39it has recipe. Then you trust yourself.
- 51:40You keep it there. And then whatever your
- 51:42application is, you just have it interact with your local
- 51:46knowledge graph and you'll you'll just embellish your
- 51:50knowledge graph with others on a whenever you want to.
- 51:55But then like the actual reads happens from the edge node that
- 51:58you run. Dude it's so awesome.
- 52:01Where can people get started and how can they get started with
- 52:04the DKG? There is a Boston community
- 52:09around and we'd be definitely kind of keen to to invite
- 52:13everyone to check out our Githubs.
- 52:15Everything's open source, so you can go in and have a have a
- 52:18check out there, you know, set up and match notes, see how it
- 52:22works. I connected to to some Gen AIS
- 52:27put the two brain sites together.
- 52:29If you're setting up an agent as well, like I will be releasing
- 52:32some frameworks plug insurance there.
- 52:34So the intention is to support a lot of the popular stuff there
- 52:38so that you can have it an easier way to to deploy it.
- 52:41And of course, this chord would be the channel to to come in and
- 52:44hang out. We're we're there daily.
- 52:46Our devs are as well. So if there's any, there's a
- 52:48Boston community that will help you out if, if, if you have any
- 52:51questions. But also our team members are,
- 52:54are present. So yeah, we're, we're happy to,
- 52:56to have a chat and to build some cool stuff together.
- 52:59Man, there's a lot of initiatives already there, but
- 53:02I'm so, so keen to learn more from what people are building
- 53:05and then how we could make, yeah, fight it a good fight.
- 53:09I guess the other it's it's a fun time.
- 53:12Cool.