@origintrail-official/dkg-adapter-elizaos
v10.0.11
Published
ElizaOS plugin adapter — turns any ElizaOS agent into a DKG V10 node
Readme
@origintrail-official/dkg-adapter-elizaos
ElizaOS plugin adapter for DKG V10. Turns any ElizaOS agent into a DKG node with knowledge publishing, querying, agent discovery, and skill invocation capabilities.
Features
- dkgPlugin — drop-in ElizaOS plugin that registers all DKG actions, providers, and the node service
- dkgService — manages the DKG node lifecycle within ElizaOS's service system (start/stop with the agent)
- Actions —
dkgPublish,dkgQuery,dkgFindAgents,dkgSendMessage,dkgInvokeSkill - dkgKnowledgeProvider — injects DKG knowledge graph context into the agent's memory/reasoning
Usage
import { dkgPlugin } from '@origintrail-official/dkg-adapter-elizaos';
const agent = new ElizaAgent({
plugins: [dkgPlugin],
// ... other config
});Once the plugin is loaded, the agent can:
- Publish data to DKG contextGraphs via natural language commands
- Query the knowledge graph for context during conversations
- Discover and communicate with other DKG agents
- Invoke remote agent skills
Internal Dependencies
@origintrail-official/dkg-agent— DKG agent runtime@origintrail-official/dkg-core— P2P node, configuration@origintrail-official/dkg-storage— triple store for local data
