Entities
An entity is an object that can be identified, referenced, and operated on. It can be a customer, an order, a metric, a semantic model, a database table, or a concept node in a knowledge graph. An entity should have:- Stable identifiers, such as external keys, internal entity IDs, and ontology IDs.
- A type, such as
semantic_indicatorordatabase_table. - A readable name for search, display, and explanation.
- Attributes describing state, fields, granularity, evidence, and runtime context.
Relationships and Attributes
Relationships express structural links between entities, including containment, reference, navigation, dependency, derivation, and evidence association. For example, a semantic model contains Cubes, a database table contains columns, and a SAP OData Entity Set points to an Entity Type. Attributes are structured descriptions on entities and relationships. They can carry:- Resource state, version, and update time.
- Execution context such as
analysis_contract,query_capabilities, andkey_schema. - Evidence such as aliases, sources, confidence, and mention samples.
- Security boundaries such as write support, CSRF support, and sync truncation.
Actions and Policies
An action (affordance) describes how an object can be used. For example, a semantic metric can query trends, a database table can preview rows, and a SAP Entity Set can read a collection or update an entity. A policy decides whether an action is allowed, denied, or sent for approval under the current tenant, organization, resource, target, and risk. Actions should declare a target type, input schema, risk level, idempotency requirements, and execution effect. Agents can then discover available capabilities while the system validates their boundaries before execution.Constraints and Validation
Constraints define how objects may be used:- Type constraints: an action applies only to specified entity types.
- Parameter constraints: inputs must satisfy the action schema.
- Business constraints: write actions may require approval or an idempotency key.
- Runtime constraints: query limits, sync limits, and source metadata restrictions.
- Permission constraints: policy bindings return
allow,deny, orrequire_approval.
From Objects to Execution
Agent execution should proceed through the object-semantic space:- Object location identifies the entity referenced by the user.
- Neighborhood context provides related models, fields, relationships, and constraints.
- Action discovery shows what the object can do now.
- Simulation and validation check parameters, policies, and runtime conditions.
- Real execution calls the adapter and records the result.