📄

ontology

精选

Build a verifiable knowledge graph for AI agents with typed entities, relations, and automated constraint validation for structured memory and shared state.

oswalpalashv1.0.0
PDF & DocumentsProductivityAI PoweredAutomationSelf-HostedDeveloper Tool
正在连接 VM...
正在连接 VM...
npx clawhub@latest install ontology
376Star 数
128.0k下载次数
479当前安装数
v1.0.0版本
Mar 11, 2026更新时间

The Ontology skill provides a typed vocabulary and constraint system for representing knowledge as a verifiable graph. It enables AI agents to maintain structured memory by creating and querying entities such as People, Projects, Tasks, and Events. By enforcing schema constraints, it ensures that agent memory remains consistent, linkable, and actionable across different tasks and skills.

工作原理

1

Step 1

Create/Update
Entities are added with specific types (e.g., Task, Person).
2

Step 2

Relate
Links are created between entities (e.g., a Task 'belongs_to' a Project).
3

Step 3

Validate
Every mutation is checked against constraints like required fields, enum values, and acyclic relationship rules.
4

Step 4

Query
Agents can traverse the graph to find dependencies or retrieve context.

核心功能

Typed Knowledge Representation
Use predefined types for Work, People, Time, and Resources to keep data structured.
Automated Validation
Enforce data integrity with property checks, cardinality rules, and dependency constraints.
Graph Transformations
Model multi-step plans as a sequence of validated graph operations.
Cross-Skill State
Allow different agent capabilities to share a single source of truth for entities and relationships.
Append-Only History
Preserves data history by merging changes instead of overwriting files.

系统要求

Local Workspace
Requires permissions to create and manage files in the memory/ontology/ directory.

使用场景

Structured Memory
Use "Remember that..." triggers to store facts about people and projects in a queryable format.
Dependency Tracking
Visualize and query what tasks are blocking a specific project goal.
Contextual Retrieval
Ask "What do I know about X?" to get a full graph of related entities and metadata.
Agent Coordination
Use the ontology as a shared blackboard where one skill creates a 'Commitment' and another picks it up as a 'Task'.

安装方式

1
Run in your terminal
npx clawhub@latest install ontology
or
2
Click the Install button at the top of this page for one-click setup

常见问题

评价

0 条评价

登录后撰写评价

暂无评价。来分享你的使用体验吧!