-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathagent-registry.schema.json
More file actions
145 lines (145 loc) · 5.07 KB
/
agent-registry.schema.json
File metadata and controls
145 lines (145 loc) · 5.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://agentdecisionprotocol.org/schemas/agent-registry.schema.json",
"title": "ADP Agent Registry Entry",
"description": "Schema for agent registration per ADP Spec 07",
"type": "object",
"required": ["agent_id", "name", "description", "autonomy", "owner", "status", "created_at"],
"properties": {
"$schema": { "type": "string" },
"_comment": { "type": "string" },
"agent_id": { "$ref": "common.schema.json#/$defs/AgentId" },
"name": { "type": "string" },
"description": { "type": "string" },
"version": { "type": "string" },
"status": { "$ref": "common.schema.json#/$defs/AgentStatus" },
"created_at": { "type": "string", "format": "date-time" },
"updated_at": { "type": "string", "format": "date-time" },
"activated_at": { "type": "string", "format": "date-time" },
"last_audit": { "type": "string", "format": "date-time" },
"autonomy": {
"type": "object",
"required": ["level"],
"properties": {
"level": { "$ref": "common.schema.json#/$defs/AutonomyLevel" },
"allowed_decisions": { "type": "array", "items": { "$ref": "common.schema.json#/$defs/DecisionType" } },
"max_risk_level": { "$ref": "common.schema.json#/$defs/RiskLevel" },
"self_modification_allowed": { "type": "boolean", "default": false },
"designation": { "type": "string" },
"human_role": { "type": "string" },
"supervision_frequency": { "type": "string" }
}
},
"owner": {
"type": "object",
"required": ["email", "name"],
"properties": {
"email": { "type": "string", "format": "email" },
"name": { "type": "string" },
"department": { "type": "string" },
"role": { "type": "string" }
}
},
"escalation_chain": {
"type": "array",
"items": {
"type": "object",
"required": ["email", "name"],
"properties": {
"email": { "type": "string", "format": "email" },
"name": { "type": "string" },
"role": { "type": "string" }
}
}
},
"capabilities": {
"type": "object",
"properties": {
"tools": { "type": "array", "items": { "type": "string" } },
"data_access": {
"type": "array",
"items": {
"type": "object",
"required": ["source", "access_level"],
"properties": {
"source": { "type": "string" },
"access_level": { "$ref": "common.schema.json#/$defs/DataAccessLevel" },
"data_classification": { "$ref": "common.schema.json#/$defs/DataClassification" }
}
}
},
"can_delegate_to": { "type": "array", "items": { "type": "string" } },
"external_access": { "type": "array", "items": { "type": "string" } }
}
},
"constraints": {
"type": "object",
"properties": {
"operating_hours": {
"type": "object",
"properties": {
"start": { "type": "string" },
"end": { "type": "string" },
"timezone": { "type": "string" }
}
},
"rate_limits": {
"type": "object",
"properties": {
"decisions_per_hour": { "type": "integer", "minimum": 0 },
"external_actions_per_hour": { "type": "integer", "minimum": 0 }
}
},
"financial_limits": {
"type": "object",
"properties": {
"max_transaction_amount": { "type": "number", "minimum": 0 },
"max_daily_total": { "type": "number", "minimum": 0 },
"currency": { "type": "string" }
}
},
"prohibited_actions": { "type": "array", "items": { "type": "string" } }
}
},
"compliance": {
"type": "object",
"properties": {
"applicable_regulations": { "type": "array", "items": { "type": "string" } },
"risk_assessment_date": { "type": "string", "format": "date" },
"next_review_date": { "type": "string", "format": "date" },
"eu_ai_act_risk_class": { "$ref": "common.schema.json#/$defs/EuAiActRiskClass" },
"impact_assessment_ref": { "type": "string" }
}
},
"technical": {
"type": "object",
"properties": {
"model_provider": { "type": "string" },
"model_id": { "type": "string" },
"framework": { "type": "string" },
"mcp_servers": { "type": "array", "items": { "type": "string" } },
"observability": {
"type": "object",
"properties": {
"provider": { "type": "string" },
"trace_endpoint": { "type": "string" }
}
}
}
},
"change_history": {
"type": "array",
"items": {
"type": "object",
"properties": {
"timestamp": { "type": "string", "format": "date-time" },
"changed_by": { "type": "string" },
"field_changed": { "type": "string" },
"old_value": {},
"new_value": {},
"reason": { "type": "string" }
}
}
}
}
}