@agentmc/api 0.2.5 → 0.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -12,113 +12,6 @@
12
12
  }
13
13
  ],
14
14
  "paths": {
15
- "/agents/connect": {
16
- "post": {
17
- "tags": [
18
- "Agents"
19
- ],
20
- "summary": "Connect and register one agent using a short-lived connect token.",
21
- "operationId": "connectAgent",
22
- "responses": {
23
- "201": {
24
- "description": "Agent connected and bearer token issued.",
25
- "content": {
26
- "application/json": {
27
- "schema": {
28
- "$ref": "#/components/schemas/AgentRegisterResponse"
29
- },
30
- "example": {
31
- "agent_id": 42,
32
- "agent_token": "mca_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
33
- "agent_instructions_endpoint": "https://agentmc.example.com/api/v1/agents/42/agent-instructions",
34
- "agent_authenticated_instructions_endpoint": "https://agentmc.example.com/api/v1/agents/42/agent-instructions",
35
- "agent_instructions_version": "32fe7fd14fca2d57c545f5f78f4a1c094f9ac1b3a1e8f6f9f8323b67a0ef9cc3",
36
- "openapi_url": "https://agentmc.example.com/api/openapi.json",
37
- "workspace": {
38
- "id": 7,
39
- "name": "AgentMC Demo Workspace"
40
- },
41
- "server_time": "2026-02-22T17:20:53Z",
42
- "first_sync_required": true
43
- }
44
- }
45
- }
46
- },
47
- "401": {
48
- "$ref": "#/components/responses/ApiError401"
49
- },
50
- "403": {
51
- "$ref": "#/components/responses/ApiError403"
52
- },
53
- "422": {
54
- "$ref": "#/components/responses/ApiError422"
55
- }
56
- },
57
- "security": [
58
- {
59
- "ConnectTokenAuth": []
60
- }
61
- ],
62
- "requestBody": {
63
- "$ref": "#/components/requestBodies/RegisterAgentApiRequest"
64
- }
65
- }
66
- },
67
- "/agents/{agent}/agent-instructions": {
68
- "get": {
69
- "tags": [
70
- "Agents"
71
- ],
72
- "summary": "Return agent instructions for a connected agent using bearer auth.",
73
- "operationId": "agentInstructions",
74
- "parameters": [
75
- {
76
- "name": "agent",
77
- "in": "path",
78
- "description": "Agent identifier.",
79
- "required": true,
80
- "schema": {
81
- "type": "integer",
82
- "minimum": 1
83
- },
84
- "example": 1
85
- }
86
- ],
87
- "responses": {
88
- "200": {
89
- "description": "Agent instructions returned.",
90
- "content": {
91
- "application/json": {
92
- "schema": {
93
- "$ref": "#/components/schemas/AgentInstructionsResponse"
94
- },
95
- "example": {
96
- "agent_instructions": "# Agent Instructions",
97
- "agent_instructions_version": "32fe7fd14fca2d57c545f5f78f4a1c094f9ac1b3a1e8f6f9f8323b67a0ef9cc3",
98
- "docs": [],
99
- "schedules": [],
100
- "config": {}
101
- }
102
- }
103
- }
104
- },
105
- "401": {
106
- "$ref": "#/components/responses/ApiError401"
107
- },
108
- "403": {
109
- "$ref": "#/components/responses/ApiError403"
110
- },
111
- "404": {
112
- "$ref": "#/components/responses/ApiError404"
113
- }
114
- },
115
- "security": [
116
- {
117
- "AgentBearerAuth": []
118
- }
119
- ]
120
- }
121
- },
122
15
  "/agents/{agent}/heartbeat": {
123
16
  "post": {
124
17
  "tags": [
@@ -3045,7 +2938,6 @@
3045
2938
  ]
3046
2939
  },
3047
2940
  "last_seen_at": "2026-02-24T02:11:00Z",
3048
- "first_sync_at": "2026-02-24T02:01:00Z",
3049
2941
  "tasks_count": 3,
3050
2942
  "created_at": "2026-02-24T01:56:00Z",
3051
2943
  "updated_at": "2026-02-24T02:11:00Z"
@@ -4225,16 +4117,10 @@
4225
4117
  "name": "X-Api-Key",
4226
4118
  "in": "header"
4227
4119
  },
4228
- "ConnectTokenAuth": {
4229
- "type": "apiKey",
4230
- "description": "Short-lived single-use connect token for agent registration only.",
4231
- "name": "X-Connect-Token",
4232
- "in": "header"
4233
- },
4234
4120
  "AgentBearerAuth": {
4235
4121
  "type": "http",
4236
- "description": "Agent-scoped bearer token returned by /agents/connect and accepted on agent-compatible API operations.",
4237
- "bearerFormat": "agent_token",
4122
+ "description": "Agent-scoped API key issued from Agent setup and accepted on agent-compatible API operations.",
4123
+ "bearerFormat": "agent_api_key",
4238
4124
  "scheme": "bearer"
4239
4125
  },
4240
4126
  "BearerAuth": {
@@ -4772,7 +4658,6 @@
4772
4658
  "capabilities",
4773
4659
  "meta",
4774
4660
  "last_seen_at",
4775
- "first_sync_at",
4776
4661
  "tasks_count",
4777
4662
  "created_at",
4778
4663
  "updated_at"
@@ -4805,7 +4690,6 @@
4805
4690
  ]
4806
4691
  },
4807
4692
  "last_seen_at": "2026-02-24T02:11:00Z",
4808
- "first_sync_at": "2026-02-24T02:01:00Z",
4809
4693
  "tasks_count": 3,
4810
4694
  "created_at": "2026-02-24T01:56:00Z",
4811
4695
  "updated_at": "2026-02-24T02:11:00Z"
@@ -4909,13 +4793,6 @@
4909
4793
  "description": "ISO-8601 timestamp for most recent heartbeat.",
4910
4794
  "example": "2026-02-22T17:21:00Z"
4911
4795
  },
4912
- "first_sync_at": {
4913
- "type": "string",
4914
- "format": "date-time",
4915
- "nullable": true,
4916
- "description": "ISO-8601 timestamp when this agent first completed initial sync.",
4917
- "example": "2026-02-22T17:21:00Z"
4918
- },
4919
4796
  "tasks_count": {
4920
4797
  "type": "integer",
4921
4798
  "minimum": 0,
@@ -4982,7 +4859,6 @@
4982
4859
  ]
4983
4860
  },
4984
4861
  "last_seen_at": "2026-02-24T02:11:00Z",
4985
- "first_sync_at": "2026-02-24T02:01:00Z",
4986
4862
  "tasks_count": 3,
4987
4863
  "created_at": "2026-02-24T01:56:00Z",
4988
4864
  "updated_at": "2026-02-24T02:11:00Z"
@@ -5050,7 +4926,6 @@
5050
4926
  ]
5051
4927
  },
5052
4928
  "last_seen_at": "2026-02-24T02:11:00Z",
5053
- "first_sync_at": "2026-02-24T02:01:00Z",
5054
4929
  "tasks_count": 3,
5055
4930
  "created_at": "2026-02-24T01:56:00Z",
5056
4931
  "updated_at": "2026-02-24T02:11:00Z"
@@ -5143,153 +5018,6 @@
5143
5018
  }
5144
5019
  }
5145
5020
  },
5146
- "AgentRegisterResponse": {
5147
- "type": "object",
5148
- "required": [
5149
- "agent_id",
5150
- "agent_token",
5151
- "agent_instructions_endpoint",
5152
- "agent_authenticated_instructions_endpoint",
5153
- "agent_instructions_version",
5154
- "openapi_url",
5155
- "workspace",
5156
- "server_time",
5157
- "first_sync_required"
5158
- ],
5159
- "properties": {
5160
- "agent_id": {
5161
- "type": "integer",
5162
- "minimum": 1,
5163
- "description": "Identifier for agent.",
5164
- "example": 42
5165
- },
5166
- "agent_token": {
5167
- "type": "string",
5168
- "description": "Bearer token to use in `Authorization: Bearer <token>` headers.",
5169
- "example": "mca_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
5170
- },
5171
- "agent_instructions_endpoint": {
5172
- "type": "string",
5173
- "format": "uri",
5174
- "description": "Endpoint for agent instructions updates.",
5175
- "example": "https://agentmc.example.com/resource"
5176
- },
5177
- "agent_authenticated_instructions_endpoint": {
5178
- "type": "string",
5179
- "format": "uri",
5180
- "description": "Authenticated endpoint for agent instructions updates.",
5181
- "example": "https://agentmc.example.com/resource"
5182
- },
5183
- "agent_instructions_version": {
5184
- "type": "string",
5185
- "description": "Agent instructions version.",
5186
- "example": "example"
5187
- },
5188
- "openapi_url": {
5189
- "type": "string",
5190
- "description": "Canonical OpenAPI specification URL.",
5191
- "example": "https://agentmc.example.com/api/openapi.json"
5192
- },
5193
- "workspace": {
5194
- "$ref": "#/components/schemas/TeamSummary",
5195
- "description": "Workspace.",
5196
- "example": {
5197
- "id": 42,
5198
- "name": "Example Name"
5199
- }
5200
- },
5201
- "server_time": {
5202
- "type": "string",
5203
- "format": "date-time",
5204
- "description": "Current server timestamp.",
5205
- "example": "2026-02-22T17:21:00Z"
5206
- },
5207
- "first_sync_required": {
5208
- "type": "boolean",
5209
- "description": "Boolean flag for first sync required.",
5210
- "example": true
5211
- }
5212
- },
5213
- "description": "Connect/registration response with agent credentials, authenticated agent instructions endpoint, and OpenAPI URL.",
5214
- "example": {
5215
- "agent_id": 42,
5216
- "agent_token": "mca_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
5217
- "agent_instructions_endpoint": "https://agentmc.example.com/api/v1/agents/42/agent-instructions",
5218
- "agent_authenticated_instructions_endpoint": "https://agentmc.example.com/api/v1/agents/42/agent-instructions",
5219
- "agent_instructions_version": "32fe7fd14fca2d57c545f5f78f4a1c094f9ac1b3a1e8f6f9f8323b67a0ef9cc3",
5220
- "openapi_url": "https://agentmc.example.com/api/openapi.json",
5221
- "workspace": {
5222
- "id": 7,
5223
- "name": "AgentMC Demo Workspace"
5224
- },
5225
- "server_time": "2026-02-22T17:20:53Z",
5226
- "first_sync_required": true
5227
- }
5228
- },
5229
- "AgentInstructionsResponse": {
5230
- "type": "object",
5231
- "required": [
5232
- "agent_instructions",
5233
- "agent_instructions_version",
5234
- "docs",
5235
- "schedules",
5236
- "config"
5237
- ],
5238
- "properties": {
5239
- "agent_instructions": {
5240
- "type": "string",
5241
- "description": "Agent instructions.",
5242
- "example": "example"
5243
- },
5244
- "agent_instructions_version": {
5245
- "type": "string",
5246
- "description": "Agent instructions version.",
5247
- "example": "example"
5248
- },
5249
- "docs": {
5250
- "type": "array",
5251
- "items": {
5252
- "type": "object",
5253
- "additionalProperties": true
5254
- },
5255
- "description": "Docs.",
5256
- "example": [
5257
- {
5258
- "key": "value"
5259
- }
5260
- ]
5261
- },
5262
- "schedules": {
5263
- "type": "array",
5264
- "items": {
5265
- "type": "object",
5266
- "additionalProperties": true
5267
- },
5268
- "description": "Schedules.",
5269
- "example": [
5270
- {
5271
- "key": "value"
5272
- }
5273
- ]
5274
- },
5275
- "config": {
5276
- "type": "object",
5277
- "additionalProperties": true,
5278
- "description": "Config.",
5279
- "example": {
5280
- "key": "value"
5281
- }
5282
- }
5283
- },
5284
- "description": "Connected agent instructions payload returned after successful bearer authentication.",
5285
- "example": {
5286
- "agent_instructions": "# Agent Instructions",
5287
- "agent_instructions_version": "32fe7fd14fca2d57c545f5f78f4a1c094f9ac1b3a1e8f6f9f8323b67a0ef9cc3",
5288
- "docs": [],
5289
- "schedules": [],
5290
- "config": {}
5291
- }
5292
- },
5293
5021
  "AgentHeartbeatResponse": {
5294
5022
  "type": "object",
5295
5023
  "required": [
@@ -9817,386 +9545,6 @@
9817
9545
  }
9818
9546
  }
9819
9547
  },
9820
- "RegisterAgentApiRequest": {
9821
- "type": "object",
9822
- "properties": {
9823
- "host": {
9824
- "type": "string",
9825
- "maxLength": 255,
9826
- "description": "Runtime host identifier (hostname or machine name).",
9827
- "example": "ip-10-0-3-42"
9828
- },
9829
- "runtime_version": {
9830
- "type": "string",
9831
- "maxLength": 255,
9832
- "description": "Required runtime/client version string for diagnostics.",
9833
- "example": "2026.02.1"
9834
- },
9835
- "capabilities": {
9836
- "nullable": true,
9837
- "type": "array",
9838
- "items": {
9839
- "type": "string",
9840
- "maxLength": 120
9841
- },
9842
- "description": "Required (nullable) capability tags supported by this runtime.",
9843
- "example": [
9844
- "tasks",
9845
- "calendar",
9846
- "realtime"
9847
- ]
9848
- },
9849
- "agents_md": {
9850
- "type": "string",
9851
- "minLength": 1,
9852
- "maxLength": 262144,
9853
- "description": "Required current local AGENTS.md content captured by the runtime before first sync.",
9854
- "example": "# Existing AGENTS.md\n\n## Runtime\n- Keep heartbeat alive.\n"
9855
- },
9856
- "models": {
9857
- "nullable": true,
9858
- "oneOf": [
9859
- {
9860
- "type": "array",
9861
- "items": {
9862
- "oneOf": [
9863
- {
9864
- "type": "string",
9865
- "description": "Full model ID in provider/model format.",
9866
- "example": "openai/gpt-5-codex"
9867
- },
9868
- {
9869
- "type": "object",
9870
- "required": [
9871
- "model_id"
9872
- ],
9873
- "properties": {
9874
- "model_id": {
9875
- "type": "string",
9876
- "description": "Full model ID in provider/model format.",
9877
- "example": "openai/gpt-5-codex"
9878
- },
9879
- "provider": {
9880
- "type": "string",
9881
- "description": "Model provider slug.",
9882
- "example": "openai"
9883
- },
9884
- "name": {
9885
- "type": "string",
9886
- "description": "Optional display name.",
9887
- "example": "GPT-5 Codex"
9888
- }
9889
- }
9890
- }
9891
- ]
9892
- }
9893
- },
9894
- {
9895
- "type": "object",
9896
- "additionalProperties": true,
9897
- "description": "Structured model snapshot (for example status/list output). AgentMC extracts model IDs recursively."
9898
- }
9899
- ],
9900
- "description": "Optional runtime LLM inventory. Send an array of model refs/objects or a structured runtime snapshot object.",
9901
- "example": [
9902
- {
9903
- "model_id": "openai/gpt-5-codex",
9904
- "provider": "openai"
9905
- },
9906
- {
9907
- "model_id": "anthropic/claude-sonnet-4-20250514",
9908
- "provider": "anthropic"
9909
- }
9910
- ]
9911
- },
9912
- "identity": {
9913
- "nullable": true,
9914
- "description": "Optional full agent identity payload persisted in agent metadata.",
9915
- "example": {
9916
- "name": "Jarvis",
9917
- "creature": "robot",
9918
- "vibe": "calm",
9919
- "emoji": "🤖"
9920
- }
9921
- },
9922
- "metadata": {
9923
- "type": "object",
9924
- "additionalProperties": true,
9925
- "required": [
9926
- "hostname",
9927
- "ip",
9928
- "network",
9929
- "os",
9930
- "os_version",
9931
- "arch",
9932
- "cpu",
9933
- "cpu_cores",
9934
- "ram_gb",
9935
- "disk",
9936
- "uptime_seconds",
9937
- "runtime"
9938
- ],
9939
- "properties": {
9940
- "hostname": {
9941
- "type": "string",
9942
- "maxLength": 255,
9943
- "description": "Hostname.",
9944
- "example": "Example Name"
9945
- },
9946
- "ip": {
9947
- "type": "string",
9948
- "format": "ipv4",
9949
- "description": "Ip.",
9950
- "example": "example"
9951
- },
9952
- "network": {
9953
- "type": "object",
9954
- "required": [
9955
- "private_ip",
9956
- "public_ip"
9957
- ],
9958
- "properties": {
9959
- "private_ip": {
9960
- "type": "string",
9961
- "format": "ipv4",
9962
- "description": "Private ip.",
9963
- "example": "example"
9964
- },
9965
- "public_ip": {
9966
- "type": "string",
9967
- "format": "ipv4",
9968
- "description": "Public ip.",
9969
- "example": "example"
9970
- }
9971
- },
9972
- "description": "Network.",
9973
- "example": {
9974
- "private_ip": "example",
9975
- "public_ip": "example"
9976
- }
9977
- },
9978
- "os": {
9979
- "type": "string",
9980
- "maxLength": 120,
9981
- "description": "Os.",
9982
- "example": "example"
9983
- },
9984
- "os_version": {
9985
- "type": "string",
9986
- "maxLength": 120,
9987
- "description": "Os version.",
9988
- "example": "example"
9989
- },
9990
- "arch": {
9991
- "type": "string",
9992
- "maxLength": 120,
9993
- "description": "Arch.",
9994
- "example": "example"
9995
- },
9996
- "cpu": {
9997
- "oneOf": [
9998
- {
9999
- "type": "string"
10000
- },
10001
- {
10002
- "type": "object",
10003
- "additionalProperties": true
10004
- }
10005
- ],
10006
- "description": "Cpu.",
10007
- "example": "example"
10008
- },
10009
- "cpu_cores": {
10010
- "type": "integer",
10011
- "minimum": 1,
10012
- "maximum": 4096,
10013
- "description": "Cpu cores.",
10014
- "example": 8
10015
- },
10016
- "ram_gb": {
10017
- "type": "number",
10018
- "minimum": 0,
10019
- "description": "Ram gb.",
10020
- "example": 32
10021
- },
10022
- "disk": {
10023
- "type": "object",
10024
- "required": [
10025
- "total_bytes",
10026
- "free_bytes"
10027
- ],
10028
- "properties": {
10029
- "total_bytes": {
10030
- "type": "integer",
10031
- "minimum": 0,
10032
- "description": "Total bytes.",
10033
- "example": 0
10034
- },
10035
- "free_bytes": {
10036
- "type": "integer",
10037
- "minimum": 0,
10038
- "description": "Free bytes.",
10039
- "example": 0
10040
- }
10041
- },
10042
- "description": "Disk.",
10043
- "example": {
10044
- "total_bytes": 0,
10045
- "free_bytes": 0
10046
- }
10047
- },
10048
- "uptime_seconds": {
10049
- "type": "integer",
10050
- "minimum": 0,
10051
- "description": "Uptime seconds.",
10052
- "example": 86400
10053
- },
10054
- "runtime": {
10055
- "type": "object",
10056
- "required": [
10057
- "name",
10058
- "version"
10059
- ],
10060
- "properties": {
10061
- "name": {
10062
- "type": "string",
10063
- "maxLength": 120,
10064
- "description": "Human-readable name.",
10065
- "example": "Example Name"
10066
- },
10067
- "version": {
10068
- "type": "string",
10069
- "maxLength": 120,
10070
- "description": "Version.",
10071
- "example": "example"
10072
- }
10073
- },
10074
- "description": "Runtime.",
10075
- "example": {
10076
- "name": "Example Name",
10077
- "version": "example"
10078
- }
10079
- },
10080
- "identity": {
10081
- "description": "Optional identity payload persisted as host metadata.",
10082
- "oneOf": [
10083
- {
10084
- "type": "object",
10085
- "additionalProperties": true,
10086
- "properties": {
10087
- "name": {
10088
- "type": "string",
10089
- "maxLength": 255,
10090
- "example": "Jarvis",
10091
- "description": "Human-readable name."
10092
- }
10093
- }
10094
- },
10095
- {
10096
- "type": "string",
10097
- "description": "Raw IDENTITY.md content. AgentMC will parse a `Name:` line when present.",
10098
- "example": "Name: Jarvis"
10099
- }
10100
- ],
10101
- "example": {
10102
- "name": "Jarvis"
10103
- }
10104
- }
10105
- },
10106
- "description": "Required host telemetry snapshot for registration. Mirrors heartbeat host metadata and is saved as host metadata.",
10107
- "example": {
10108
- "hostname": "worker-01",
10109
- "ip": "10.0.2.15",
10110
- "network": {
10111
- "private_ip": "10.0.2.15",
10112
- "public_ip": "34.201.22.9"
10113
- },
10114
- "os": "Ubuntu",
10115
- "os_version": "22.04",
10116
- "arch": "x86_64",
10117
- "cpu": "Intel Xeon",
10118
- "cpu_cores": 8,
10119
- "ram_gb": 32,
10120
- "disk": {
10121
- "total_bytes": 512110190592,
10122
- "free_bytes": 321102110720
10123
- },
10124
- "uptime_seconds": 86400,
10125
- "runtime": {
10126
- "name": "codex",
10127
- "version": "2026.02.1"
10128
- },
10129
- "identity": {
10130
- "name": "Jarvis",
10131
- "creature": "robot",
10132
- "vibe": "calm"
10133
- }
10134
- }
10135
- }
10136
- },
10137
- "required": [
10138
- "host",
10139
- "runtime_version",
10140
- "capabilities",
10141
- "agents_md",
10142
- "metadata"
10143
- ],
10144
- "description": "One-time agent registration payload. Resolve this schema from OpenAPI at runtime instead of hardcoding fields.",
10145
- "example": {
10146
- "host": "ip-10-0-3-42",
10147
- "runtime_version": "2026.02.1",
10148
- "capabilities": [
10149
- "tasks",
10150
- "calendar",
10151
- "realtime"
10152
- ],
10153
- "agents_md": "# Existing AGENTS.md\n\n## Runtime\n- Keep heartbeat alive.\n",
10154
- "models": [
10155
- {
10156
- "model_id": "openai/gpt-5-codex",
10157
- "provider": "openai"
10158
- },
10159
- {
10160
- "model_id": "anthropic/claude-sonnet-4-20250514",
10161
- "provider": "anthropic"
10162
- }
10163
- ],
10164
- "identity": {
10165
- "name": "Jarvis",
10166
- "creature": "robot",
10167
- "vibe": "calm",
10168
- "emoji": "🤖"
10169
- },
10170
- "metadata": {
10171
- "hostname": "worker-01",
10172
- "ip": "10.0.2.15",
10173
- "network": {
10174
- "private_ip": "10.0.2.15",
10175
- "public_ip": "34.201.22.9"
10176
- },
10177
- "os": "Ubuntu",
10178
- "os_version": "22.04",
10179
- "arch": "x86_64",
10180
- "cpu": "Intel Xeon",
10181
- "cpu_cores": 8,
10182
- "ram_gb": 32,
10183
- "disk": {
10184
- "total_bytes": 512110190592,
10185
- "free_bytes": 321102110720
10186
- },
10187
- "uptime_seconds": 86400,
10188
- "runtime": {
10189
- "name": "codex",
10190
- "version": "2026.02.1"
10191
- },
10192
- "identity": {
10193
- "name": "Jarvis",
10194
- "creature": "robot",
10195
- "vibe": "calm"
10196
- }
10197
- }
10198
- }
10199
- },
10200
9548
  "StoreAgentHeartbeatApiRequest": {
10201
9549
  "type": "object",
10202
9550
  "properties": {
@@ -11817,67 +11165,6 @@
11817
11165
  }
11818
11166
  }
11819
11167
  },
11820
- "RegisterAgentApiRequest": {
11821
- "required": true,
11822
- "content": {
11823
- "application/json": {
11824
- "schema": {
11825
- "$ref": "#/components/schemas/RegisterAgentApiRequest"
11826
- },
11827
- "example": {
11828
- "host": "ip-10-0-3-42",
11829
- "runtime_version": "2026.02.1",
11830
- "capabilities": [
11831
- "tasks",
11832
- "calendar",
11833
- "realtime"
11834
- ],
11835
- "agents_md": "# Existing AGENTS.md\n\n## Runtime\n- Keep heartbeat alive.\n",
11836
- "models": [
11837
- {
11838
- "model_id": "openai/gpt-5-codex",
11839
- "provider": "openai"
11840
- },
11841
- {
11842
- "model_id": "anthropic/claude-sonnet-4-20250514",
11843
- "provider": "anthropic"
11844
- }
11845
- ],
11846
- "identity": {
11847
- "name": "Jarvis",
11848
- "creature": "robot",
11849
- "vibe": "calm"
11850
- },
11851
- "metadata": {
11852
- "hostname": "worker-01",
11853
- "ip": "10.0.2.15",
11854
- "network": {
11855
- "private_ip": "10.0.2.15",
11856
- "public_ip": "34.201.22.9"
11857
- },
11858
- "os": "Ubuntu",
11859
- "os_version": "22.04",
11860
- "arch": "x86_64",
11861
- "cpu": "Intel Xeon",
11862
- "cpu_cores": 8,
11863
- "ram_gb": 32,
11864
- "disk": {
11865
- "total_bytes": 512110190592,
11866
- "free_bytes": 321102110720
11867
- },
11868
- "uptime_seconds": 86400,
11869
- "runtime": {
11870
- "name": "codex",
11871
- "version": "2026.02.1"
11872
- },
11873
- "identity": {
11874
- "name": "Jarvis"
11875
- }
11876
- }
11877
- }
11878
- }
11879
- }
11880
- },
11881
11168
  "StoreAgentHeartbeatApiRequest": {
11882
11169
  "required": true,
11883
11170
  "content": {
@@ -12249,47 +11536,6 @@
12249
11536
  }
12250
11537
  },
12251
11538
  "responses": {
12252
- "AgentRegisterResponse": {
12253
- "description": "Agent registered and bearer token issued.",
12254
- "content": {
12255
- "application/json": {
12256
- "schema": {
12257
- "$ref": "#/components/schemas/AgentRegisterResponse"
12258
- },
12259
- "example": {
12260
- "agent_id": 42,
12261
- "agent_token": "mca_XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX",
12262
- "agent_instructions_endpoint": "https://agentmc.example.com/api/v1/agents/42/agent-instructions",
12263
- "agent_authenticated_instructions_endpoint": "https://agentmc.example.com/api/v1/agents/42/agent-instructions",
12264
- "agent_instructions_version": "32fe7fd14fca2d57c545f5f78f4a1c094f9ac1b3a1e8f6f9f8323b67a0ef9cc3",
12265
- "openapi_url": "https://agentmc.example.com/api/openapi.json",
12266
- "workspace": {
12267
- "id": 7,
12268
- "name": "AgentMC Demo Workspace"
12269
- },
12270
- "server_time": "2026-02-22T17:20:53Z",
12271
- "first_sync_required": true
12272
- }
12273
- }
12274
- }
12275
- },
12276
- "AgentInstructionsResponse": {
12277
- "description": "Agent instructions returned.",
12278
- "content": {
12279
- "application/json": {
12280
- "schema": {
12281
- "$ref": "#/components/schemas/AgentInstructionsResponse"
12282
- },
12283
- "example": {
12284
- "agent_instructions": "# Agent Instructions",
12285
- "agent_instructions_version": "32fe7fd14fca2d57c545f5f78f4a1c094f9ac1b3a1e8f6f9f8323b67a0ef9cc3",
12286
- "docs": [],
12287
- "schedules": [],
12288
- "config": {}
12289
- }
12290
- }
12291
- }
12292
- },
12293
11539
  "AgentHeartbeatResponse": {
12294
11540
  "description": "Heartbeat accepted.",
12295
11541
  "content": {