Agent Service Contract (asc:)
Formal contracts for governed AI agents in a Knowledge Space. Combines ODRL (policies), SHACL (I/O validation), PROV-O (provenance), and DCAT (discovery) into a single governance model. 29 classes, 97 properties, 32 SHACL validation shapes. Contrats formels pour agents IA gouvernés dans un Knowledge Space. Combine ODRL (politiques), SHACL (validation I/O), PROV-O (provenance) et DCAT (découverte) en un modèle de gouvernance unique. 29 classes, 97 propriétés, 32 shapes SHACL de validation.
ASC operationalises two prior frameworks. Koestler's holon (The Ghost in the Machine, 1967) — a unit that is simultaneously a whole and a part, Janus-faced toward its sub-parts and toward the whole it belongs to — is the direct source of asc:Holon and the recursive composition asc:Holarchy. Friston's Markov blanket (free-energy principle, 2010–2013) — the statistical boundary that separates a system's internal states from its environment via sensory and active states — is the direct source of asc:HolonicMembrane, which materialises principle P5 (Governance as Membrane): an agent's asc:Mandate is a HolonicMembrane, so the governance boundary is the epistemic boundary. Koestler gives the part/whole dimension, Friston gives the inside/outside dimension; ASC binds them in a single OWL class hierarchy.
ASC opérationnalise deux cadres antérieurs. Le holon de Koestler (The Ghost in the Machine, 1967) — une unité à la fois tout et partie, à double face vers ses sous-parties et vers le tout qui la contient — est la source directe de asc:Holon et de la composition récursive asc:Holarchy. Le Markov blanket de Friston (principe de l'énergie libre, 2010–2013) — la frontière statistique qui sépare les états internes d'un système de son environnement via des états sensoriels et actifs — est la source directe de asc:HolonicMembrane, qui matérialise le principe P5 (Gouvernance comme Membrane) : le asc:Mandate d'un agent est une HolonicMembrane, de sorte que la frontière de gouvernance est la frontière épistémique. Koestler apporte la dimension partie/tout, Friston la dimension intérieur/extérieur ; ASC les articule dans une seule hiérarchie de classes OWL.
W3C standards composed Standards W3C composés
ASC does not reinvent governance primitives. It composes 4 W3C standards, each responsible for one governance function: ASC ne réinvente pas les primitives de gouvernance. Il compose 4 standards W3C, chacun responsable d'une fonction de gouvernance :
Class hierarchy Hiérarchie des classes
| Class | SubClassOf | Layer | Description |
|---|---|---|---|
| asc:Holon | bfo:Entity | Holonic | Self-governing epistemic unit, simultaneously whole and part (Koestler 1967) |
| asc:HolonicMembrane | bfo:GDC | Holonic | Governance boundary of a holon (Friston's Markov Blanket = P5 Membrane) |
| asc:Portal | Holon | Holonic | Boundary-holon connecting two holons. A portal IS a holon. |
| asc:Holarchy | — | Holonic | A recursive composition of holons |
| asc:HolonicAspect | — | Holonic | 4 aspects: Scene (data), Domain (semantic), Context (provenance), Holonic (composition) |
| asc:AgentService | prov:SoftwareAgent, dcat:DataService, Holon | Agent | A governed agent with mandate, capabilities, and interaction log |
| asc:Skill | AgentService | Agent | Lightweight agent (single capability, no sub-agents) |
| asc:Plugin | AgentService | Agent | Extensible agent (hooks, tool policies, sub-agent policies) |
| asc:Capability | — | Agent | What an agent can do (linked to ODRL permissions) |
| asc:Mandate | HolonicMembrane | Governance | The governance boundary of an agent. Defines duties, permissions, prohibitions (ODRL). |
| asc:ServiceLevelAgreement | odrl:Policy | Governance | Measurable contract terms (latency, accuracy, availability) |
| asc:OntologyScope | — | Governance | Which ontologies an agent may read/write |
| asc:BreakingChangeType | — | Governance | Classification of contract-breaking changes |
| asc:ToolPolicy | — | Runtime | Governs which tools an agent may invoke |
| asc:SubagentPolicy | — | Runtime | Governs sub-agent spawning (max depth, allowed types) |
| asc:PluginHook | — | Runtime | Lifecycle hooks for plugins (beforeAction, afterAction) |
| asc:ExecApproval | — | Runtime | Human-in-the-loop approval gate for critical actions |
| asc:GatingRequirements | — | Runtime | Prerequisites before agent activation |
| asc:BootstrapIdentity | — | Runtime | Initial identity configuration for new agents |
| asc:Story | prov:Activity | Traceability | A unit of work with provenance (extends PROV-O Activity) |
| asc:AntiPattern | prov:Entity | Traceability | A documented anti-pattern to detect and prevent |
| asc:ComputeTier | — | Traceability | T0-T5 compute triage classification |
Design decisions Décisions de conception
asc:ModifyOwnContract is explicitly prohibited in governance base policies. An agent cannot escalate its own autonomy (asc:EscalateAutonomy). Only the human controller (Sacha) can modify mandates. This is a formal encoding of P9.
L'action ODRL asc:ModifyOwnContract est explicitement interdite dans les politiques de gouvernance de base. Un agent ne peut pas escalader sa propre autonomie (asc:EscalateAutonomy). Seul le contrôleur humain (Sacha) peut modifier les mandats. C'est un encodage formel de P9.
SPARQL examples Exemples SPARQL
PREFIX asc: <https://schema.bra0.org/agent-service-contract#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT ?agent ?label ?type ?autonomy WHERE { ?agent a asc:AgentService ; rdfs:label ?label ; asc:agentType ?type ; asc:autonomyLevel ?autonomy . } ORDER BY ?autonomy
PREFIX asc: <https://schema.bra0.org/agent-service-contract#> PREFIX odrl: <http://www.w3.org/ns/odrl/2/> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT ?agent ?agentLabel ?duty ?action WHERE { ?agent asc:governedBy ?mandate . ?agent rdfs:label ?agentLabel . ?mandate odrl:obligation ?duty . ?duty odrl:action ?action . }
See also Voir aussi
Ontology Catalog — all bra0 ontologies.
EDGY — domain ontology that agents operate on (P3: knowledge decoupled from agents).
P5 (Membrane), P7 (Traceability), P9 (Delegation) — the principles ASC implements.
3-Layer Architecture — ASC operates at the Control Plane.
Catalogue des ontologies — toutes les ontologies bra0.
EDGY — ontologie de domaine sur laquelle les agents opèrent (P3 : connaissance découplée des agents).
P5 (Membrane), P7 (Traçabilité), P9 (Délégation) — les principes qu'ASC implémente.
Architecture 3 couches — ASC opère au niveau du Control Plane.