Skip to main content

Agent

A generically dependent continuant representing a configured software agent in the Nexus platform.

ABIClass
IRI
http://ontology.naas.ai/nexus/Agent
Module
NexusPlatformOntology ยท ABI

Hierarchyโ€‹

Position of Agent in the class hierarchy: its ancestors and direct subclasses.

Propertiesโ€‹

Declared on this classโ€‹

Properties declared on Agent
PropertyDomain โ†’ RangeDetails
class namedatatypeDomain โ†’ RangeAgent, Workspace Agent Configuration to xsd:string
class pathdatatypeDomain โ†’ RangeAgent to xsd:string
descriptiondatatypeDomain โ†’ RangeAgent, Agent Intent, Agent Role, Agent Tool, Graph View, Knowledge Graph to xsd:string
has agent roleobjectDomain โ†’ RangeAgent to Agent Role
has intentobjectDomain โ†’ RangeAgent to Agent Intent
has sub-agentobjectDomain โ†’ RangeAgent to Agent
has toolobjectDomain โ†’ RangeAgent to Agent Tool
is sub-agent ofobjectDomain โ†’ RangeAgent to Agent
logo urldatatypeDomain โ†’ RangeAgent, Organization Profile, Tenant Branding, Workspace to xsd:string
module pathdatatypeDomain โ†’ RangeAgent, Workspace Agent Configuration to xsd:string
system promptdatatypeDomain โ†’ RangeAgent to xsd:string
uses modelobjectDomain โ†’ RangeAgent to AI Model

Inherited propertiesโ€‹

From Generically dependent continuant (7)

Declared on generically dependent continuant.

Properties inherited from generically dependent continuant
PropertyDomain โ†’ RangeDetails
has partDomain โ†’ Rangegenerically dependent continuant to generically dependent continuant
is aboutDomain โ†’ Rangegenerically dependent continuant to any
is created byDomain โ†’ Rangegenerically dependent continuant to process
is deleted byDomain โ†’ Rangegenerically dependent continuant to process
is part ofDomain โ†’ Rangegenerically dependent continuant to generically dependent continuant
is sourced fromDomain โ†’ Rangegenerically dependent continuant to Profile Document
is updated byDomain โ†’ Rangegenerically dependent continuant to process
From Continuant (6)

Declared on continuant.

Properties inherited from continuant
PropertyDomain โ†’ RangeDetails
continuant part ofDomain โ†’ Rangecontinuant to continuant
has continuant partDomain โ†’ Rangecontinuant to continuant
is affected byDomain โ†’ Rangecontinuant to process
is input ofDomain โ†’ Rangecontinuant to process
is object ofDomain โ†’ Rangecontinuant to process
is output ofDomain โ†’ Rangecontinuant to process
From Entity (15)

8 of 15 properties declared on entity, where all of them are listed.

Properties inherited from entity
PropertyDomain โ†’ RangeDetails
condition described byDomain โ†’ Rangeentity to Performance Specification
data propertyDomain โ†’ Rangeentity to xsd:string
described byDomain โ†’ Rangeentity to Descriptive Information Content Entity
designated byDomain โ†’ Rangeentity to Designative Information Content Entity
exists atDomain โ†’ Rangeentity to temporal region
has backing data sourceDomain โ†’ Rangeentity to Data Source
has nebari classDomain โ†’ Rangeentity to Nebari Class
is measured byDomain โ†’ Rangeentity to Measurement Information Content Entity

Used as the range ofโ€‹

Logical axiomsโ€‹

Restrictionsโ€‹

Every Agent is a subclass of:

Examplesโ€‹

  • KG Assistant
  • Ontology Assistant
  • Search Assistant
Turtle
@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
SPARQL
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

Sibling classesโ€‹

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โ€‹

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 }
}