existence-0.3.1 is not a library.
existence
CLI for the Existence ontology framework.
Navigate, validate, and visualize ontology term definitions organized in scoping rings.
Install
Or build from source:
Usage
All commands auto-detect the ontology directory. If you're inside an ontology repo (one with existence.toml), it just works. Otherwise, use --ontology <path> or run existence fetch first.
Lookup a term
# Print the full markdown definition
# Output as structured JSON (title, ontology, axiology, epistemology sections)
Navigate scoping rings
# List all rings and their terms
# List only Ring 0 (kernel) terms
# List Ring 1 (software) terms
Lint ontology nodes
# Validate all nodes in src/
# Validate a specific directory or file
Checks:
- Title (
# Term) is present - Required sections:
## [Ontology],## [Axiology],## [Epistemology] - Broken links:
[term](./term.md)references wheresrc/term.mddoesn't exist
Exit code 0 if clean, 1 if errors found.
Generate relationship graph
# DOT format (pipe to graphviz)
|
# Filter to a specific ring
|
# JSON adjacency list
Fetch an ontology
# Clone from GitHub
# Pull all sources defined in existence.toml
Sources are stored in ~/.existence/sources/{org}/{repo}/.
Configuration
Ontologies are configured via existence.toml:
[]
= "existence-lang/ontology"
= "Reference existential ontology"
[]
= "kernel"
= "14 universal terms, always loaded"
= ["existence", "entity", "abstraction", "scope", "context", ...]
[]
= "software"
= "The DDD bridge"
= ["project", "model", "algorithm", ...]
[]
= "github:existence-lang/ontology"
Commands (v0.3.0)
| Command | Description | Status |
|---|---|---|
lookup <term> |
Read a node's full definition | Implemented |
scope [ring] |
List terms at a ring level | Implemented |
lint [path] |
Validate nodes against SPEC.md rules | Implemented |
graph [ring] |
Generate term relationship graph (DOT/JSON) | Implemented |
fetch [source] |
Clone or pull ontology from GitHub | Implemented |
install |
Set up ~/.claude integration | Planned |
serve |
Start local API server | Planned |
build-site |
Generate static site + JSON API | Planned |
context <domain> |
Suggest relevant terms for a domain | Planned |
License
Apache-2.0