Agent
A generically dependent continuant representing a configured software agent in the Nexus platform.
Hierarchyโ
Position of Agent in the class hierarchy: its ancestors and direct subclasses.
- entity (BFO)
- continuant (BFO)
- generically dependent continuant (ABI)
- Agent (ABI)
- generically dependent continuant (ABI)
- continuant (BFO)
Propertiesโ
Declared on this classโ
| Property | Domain โ Range | Details |
|---|---|---|
| class namedatatype | Domain โ RangeAgent, Workspace Agent Configuration to xsd:string | |
| ||
| class pathdatatype | Domain โ RangeAgent to xsd:string | |
| ||
| descriptiondatatype | Domain โ RangeAgent, Agent Intent, Agent Role, Agent Tool, Graph View, Knowledge Graph to xsd:string | |
| ||
| has agent roleobject | Domain โ RangeAgent to Agent Role | |
| ||
| has intentobject | Domain โ RangeAgent to Agent Intent | |
| ||
| has sub-agentobject | Domain โ RangeAgent to Agent | |
| ||
| has toolobject | Domain โ RangeAgent to Agent Tool | |
| ||
| is sub-agent ofobject | Domain โ RangeAgent to Agent | |
| ||
| logo urldatatype | Domain โ RangeAgent, Organization Profile, Tenant Branding, Workspace to xsd:string | |
| ||
| module pathdatatype | Domain โ RangeAgent, Workspace Agent Configuration to xsd:string | |
| ||
| system promptdatatype | Domain โ RangeAgent to xsd:string | |
| ||
| uses modelobject | Domain โ RangeAgent to AI Model | |
| ||
Inherited propertiesโ
From Generically dependent continuant (7)
Declared on generically dependent continuant.
| Property | Domain โ Range | Details |
|---|---|---|
| has part | Domain โ Rangegenerically dependent continuant to generically dependent continuant | |
| is about | Domain โ Rangegenerically dependent continuant to any | |
| is created by | Domain โ Rangegenerically dependent continuant to process | |
| is deleted by | Domain โ Rangegenerically dependent continuant to process | |
| is part of | Domain โ Rangegenerically dependent continuant to generically dependent continuant | |
| is sourced from | Domain โ Rangegenerically dependent continuant to Profile Document | |
| is updated by | Domain โ Rangegenerically dependent continuant to process |
From Continuant (6)
Declared on continuant.
| Property | Domain โ Range | Details |
|---|---|---|
| continuant part of | Domain โ Rangecontinuant to continuant | |
| has continuant part | Domain โ Rangecontinuant to continuant | |
| is affected by | Domain โ Rangecontinuant to process | |
| is input of | Domain โ Rangecontinuant to process | |
| is object of | Domain โ Rangecontinuant to process | |
| is output of | Domain โ Rangecontinuant to process |
From Entity (15)
8 of 15 properties declared on entity, where all of them are listed.
| Property | Domain โ Range | Details |
|---|---|---|
| condition described by | Domain โ Rangeentity to Performance Specification | |
| data property | Domain โ Rangeentity to xsd:string | |
| described by | Domain โ Rangeentity to Descriptive Information Content Entity | |
| designated by | Domain โ Rangeentity to Designative Information Content Entity | |
| exists at | Domain โ Rangeentity to temporal region | |
| has backing data source | Domain โ Rangeentity to Data Source | |
| has nebari class | Domain โ Rangeentity to Nebari Class | |
| is measured by | Domain โ Rangeentity to Measurement Information Content Entity |
Used as the range ofโ
Logical axiomsโ
Restrictionsโ
Every Agent is a subclass of:
- uses model only AI Model
- has sub-agent only Agent
- is sub-agent of only Agent
- has intent only Agent Intent
- has intent some Agent Intent
- has agent role only Agent Role
- has agent role some Agent Role
- has tool only Agent Tool
- has tool some Agent Tool
Examplesโ
- KG Assistant
- Ontology Assistant
- Search Assistant
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ex: <https://example.org/> .
ex:agent1 a <http://ontology.naas.ai/nexus/Agent> ; # Agent
rdfs:label "Example Agent" ;
<http://ontology.naas.ai/nexus/class_name> "Example" ; # class name
<http://ontology.naas.ai/nexus/class_path> "Example" . # class path
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
# Instances of Agent, including instances of its subclasses
SELECT ?item ?label WHERE {
?item a/rdfs:subClassOf* <http://ontology.naas.ai/nexus/Agent> .
OPTIONAL { ?item rdfs:label ?label }
}
LIMIT 100
Relatedโ
Sibling classesโ
- Academic Degree
- Agent Intent
- Agent Tool
- AI Model
- Artifact Category
- Authentication Status
- Certification
- Configuration Setting
- Context Annotation
- Conversation
- Document Content Entity
- Employment Contract
And 42 more under generically dependent continuant.
Used in ABIโ
Agent is referenced in 2 files of jupyter-naas/abi (revision 56f86c1): 2 query files, across the naas-abi and templatablesparqlquery modules.
In SPARQL queriesโ
- TemplatableSparqlQuery (
templatablesparqlquery): queried bylist_nexus_agents_with_class_path. - NexusSparqlQueries (
naas-abi): queried bylist_nexus_agents_with_class_path.
Modeling guideโ
In the Nexus platform ontology (NexusPlatformOntology.ttl), an Agent is a configured software assistant, such as the KG Assistant or the Ontology Assistant. It is modeled as information, a generically dependent continuant, because what Nexus stores is a configuration that can be copied and deployed anywhere. Do not confuse it with CCO's Agent, which is a material entity that can act (a person or organization). A Nexus agent uses model an AI Model, has tools, intents and an agent role, can delegate to sub-agents (has sub-agent), and keeps its system prompt and Python class path as data properties.
When to use itโ
- For an assistant configured in a Nexus workspace, including its model and tools.
- Its runs are events: the agent service records them as log process subclasses (model called, tool called, invocation completed).
- For a person or organization acting, use CCO's Agent branch instead.
Turtle exampleโ
@prefix nexus: <http://ontology.naas.ai/nexus/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix ex: <https://example.org/> .
# A supervisor agent that delegates to a search agent; both use a model.
ex:kgAssistant a nexus:Agent ;
rdfs:label "KG Assistant" ;
nexus:usesModel ex:gpt41mini ;
nexus:hasSubAgent ex:searchAssistant ;
nexus:system_prompt "You answer questions from the knowledge graph." .
ex:searchAssistant a nexus:Agent ;
rdfs:label "Search Assistant" ;
nexus:usesModel ex:gpt41mini .
ex:gpt41mini a nexus:AIModel ;
nexus:model_id "gpt-4.1-mini" .
SPARQL exampleโ
PREFIX nexus: <http://ontology.naas.ai/nexus/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
# Agents, their model and their sub-agents
SELECT ?agent ?label ?modelId ?subAgent WHERE {
?agent a nexus:Agent ;
rdfs:label ?label .
OPTIONAL { ?agent nexus:usesModel ?model . ?model nexus:model_id ?modelId }
OPTIONAL { ?agent nexus:hasSubAgent ?subAgent }
}