@inkeep/agents-manage-api 0.0.0-dev-20251012045242 → 0.0.0-dev-20251012062813

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.
package/README.md CHANGED
@@ -80,17 +80,18 @@ const qaAgent = agent({
80
80
  });
81
81
  ```
82
82
 
83
- ### Graph Builder
83
+ ### Agent Builder
84
84
  ```typescript
85
- import { agentGraph } from '@inkeep/agents-manage-api';
85
+ import { agent } from '@inkeep/agents-sdk';
86
86
 
87
- const graph = agentGraph({
87
+ const myAgent = agent({
88
88
  id: 'customer-support',
89
+ name: 'Customer Support Agent',
89
90
  defaultSubAgent: routerAgent,
90
91
  subAgents: () => [routerAgent, qaAgent, orderAgent]
91
92
  });
92
93
 
93
- await graph.init(); // Persist to database
94
+ await myAgent.init(); // Persist to database
94
95
  ```
95
96
 
96
97
  ### Tool Builder
package/dist/index.cjs CHANGED
@@ -130,16 +130,16 @@ app.openapi(
130
130
  zodOpenapi.createRoute({
131
131
  method: "get",
132
132
  path: "/",
133
- summary: "List Agent Agent",
134
- operationId: "list-agent-agent",
135
- tags: ["Agent Agent"],
133
+ summary: "List Agents",
134
+ operationId: "list-agents",
135
+ tags: ["Agents"],
136
136
  request: {
137
137
  params: agentsCore.TenantProjectParamsSchema,
138
138
  query: agentsCore.PaginationQueryParamsSchema
139
139
  },
140
140
  responses: {
141
141
  200: {
142
- description: "List of agent agent retrieved successfully",
142
+ description: "List of agents retrieved successfully",
143
143
  content: {
144
144
  "application/json": {
145
145
  schema: agentsCore.ListResponseSchema(agentsCore.AgentApiSelectSchema)
@@ -169,15 +169,15 @@ app.openapi(
169
169
  zodOpenapi.createRoute({
170
170
  method: "get",
171
171
  path: "/{id}",
172
- summary: "Get Agent Agent",
173
- operationId: "get-agent-agent",
174
- tags: ["Agent Agent"],
172
+ summary: "Get Agent",
173
+ operationId: "get-agent",
174
+ tags: ["Agents"],
175
175
  request: {
176
176
  params: agentsCore.TenantProjectIdParamsSchema
177
177
  },
178
178
  responses: {
179
179
  200: {
180
- description: "Agent agent found",
180
+ description: "Agent found",
181
181
  content: {
182
182
  "application/json": {
183
183
  schema: agentsCore.SingleResponseSchema(agentsCore.AgentApiSelectSchema)
@@ -195,7 +195,7 @@ app.openapi(
195
195
  if (!agent) {
196
196
  throw agentsCore.createApiError({
197
197
  code: "not_found",
198
- message: "Agent agent not found"
198
+ message: "Agent not found"
199
199
  });
200
200
  }
201
201
  return c.json({ data: agent });
@@ -280,7 +280,7 @@ app.openapi(
280
280
  if (!fullAgent) {
281
281
  throw agentsCore.createApiError({
282
282
  code: "not_found",
283
- message: "Agent agent not found"
283
+ message: "Agent not found"
284
284
  });
285
285
  }
286
286
  return c.json({ data: fullAgent });
@@ -290,9 +290,9 @@ app.openapi(
290
290
  zodOpenapi.createRoute({
291
291
  method: "post",
292
292
  path: "/",
293
- summary: "Create Agent Agent",
294
- operationId: "create-agent-agent",
295
- tags: ["Agent Agent"],
293
+ summary: "Create Agent",
294
+ operationId: "create-agent",
295
+ tags: ["Agents"],
296
296
  request: {
297
297
  params: agentsCore.TenantProjectParamsSchema,
298
298
  body: {
@@ -305,7 +305,7 @@ app.openapi(
305
305
  },
306
306
  responses: {
307
307
  201: {
308
- description: "Agent agent created successfully",
308
+ description: "Agent created successfully",
309
309
  content: {
310
310
  "application/json": {
311
311
  schema: agentsCore.SingleResponseSchema(agentsCore.AgentApiSelectSchema)
@@ -333,9 +333,9 @@ app.openapi(
333
333
  zodOpenapi.createRoute({
334
334
  method: "put",
335
335
  path: "/{id}",
336
- summary: "Update Agent Agent",
337
- operationId: "update-agent-agent",
338
- tags: ["Agent Agent"],
336
+ summary: "Update Agent",
337
+ operationId: "update-agent",
338
+ tags: ["Agents"],
339
339
  request: {
340
340
  params: agentsCore.TenantProjectIdParamsSchema,
341
341
  body: {
@@ -348,7 +348,7 @@ app.openapi(
348
348
  },
349
349
  responses: {
350
350
  200: {
351
- description: "Agent agent updated successfully",
351
+ description: "Agent updated successfully",
352
352
  content: {
353
353
  "application/json": {
354
354
  schema: agentsCore.SingleResponseSchema(agentsCore.AgentApiSelectSchema)
@@ -371,7 +371,7 @@ app.openapi(
371
371
  if (!updatedAgent) {
372
372
  throw agentsCore.createApiError({
373
373
  code: "not_found",
374
- message: "Agent agent not found"
374
+ message: "Agent not found"
375
375
  });
376
376
  }
377
377
  return c.json({ data: updatedAgent });
@@ -381,18 +381,18 @@ app.openapi(
381
381
  zodOpenapi.createRoute({
382
382
  method: "delete",
383
383
  path: "/{id}",
384
- summary: "Delete Agent Agent",
385
- operationId: "delete-agent-agent",
386
- tags: ["Agent Agent"],
384
+ summary: "Delete Agent",
385
+ operationId: "delete-agent",
386
+ tags: ["Agents"],
387
387
  request: {
388
388
  params: agentsCore.TenantProjectIdParamsSchema
389
389
  },
390
390
  responses: {
391
391
  204: {
392
- description: "Agent agent deleted successfully"
392
+ description: "Agent deleted successfully"
393
393
  },
394
394
  404: {
395
- description: "Agent agent not found",
395
+ description: "Agent not found",
396
396
  content: {
397
397
  "application/json": {
398
398
  schema: agentsCore.ErrorResponseSchema
@@ -409,7 +409,7 @@ app.openapi(
409
409
  if (!deleted) {
410
410
  throw agentsCore.createApiError({
411
411
  code: "not_found",
412
- message: "Agent agent not found"
412
+ message: "Agent not found"
413
413
  });
414
414
  }
415
415
  return c.body(null, 204);
@@ -2323,7 +2323,7 @@ app10.openapi(
2323
2323
  summary: "Create Full Agent",
2324
2324
  operationId: "create-full-agent",
2325
2325
  tags: ["Full Agent"],
2326
- description: "Create a complete agent agent with all agents, tools, and relationships from JSON definition",
2326
+ description: "Create a complete agent with all agents, tools, and relationships from JSON definition",
2327
2327
  request: {
2328
2328
  params: agentsCore.TenantProjectParamsSchema,
2329
2329
  body: {
@@ -2372,7 +2372,7 @@ app10.openapi(
2372
2372
  summary: "Get Full Agent",
2373
2373
  operationId: "get-full-agent",
2374
2374
  tags: ["Full Agent"],
2375
- description: "Retrieve a complete agent agent definition with all agents, tools, and relationships",
2375
+ description: "Retrieve a complete agent definition with all agents, tools, and relationships",
2376
2376
  request: {
2377
2377
  params: AgentIdParamsSchema
2378
2378
  },
@@ -2425,7 +2425,7 @@ app10.openapi(
2425
2425
  summary: "Update Full Agent",
2426
2426
  operationId: "update-full-agent",
2427
2427
  tags: ["Full Agent"],
2428
- description: "Update or create a complete agent agent with all agents, tools, and relationships from JSON definition",
2428
+ description: "Update or create a complete agent with all agents, tools, and relationships from JSON definition",
2429
2429
  request: {
2430
2430
  params: AgentIdParamsSchema,
2431
2431
  body: {
package/dist/index.js CHANGED
@@ -126,16 +126,16 @@ app.openapi(
126
126
  createRoute({
127
127
  method: "get",
128
128
  path: "/",
129
- summary: "List Agent Agent",
130
- operationId: "list-agent-agent",
131
- tags: ["Agent Agent"],
129
+ summary: "List Agents",
130
+ operationId: "list-agents",
131
+ tags: ["Agents"],
132
132
  request: {
133
133
  params: TenantProjectParamsSchema,
134
134
  query: PaginationQueryParamsSchema
135
135
  },
136
136
  responses: {
137
137
  200: {
138
- description: "List of agent agent retrieved successfully",
138
+ description: "List of agents retrieved successfully",
139
139
  content: {
140
140
  "application/json": {
141
141
  schema: ListResponseSchema(AgentApiSelectSchema)
@@ -165,15 +165,15 @@ app.openapi(
165
165
  createRoute({
166
166
  method: "get",
167
167
  path: "/{id}",
168
- summary: "Get Agent Agent",
169
- operationId: "get-agent-agent",
170
- tags: ["Agent Agent"],
168
+ summary: "Get Agent",
169
+ operationId: "get-agent",
170
+ tags: ["Agents"],
171
171
  request: {
172
172
  params: TenantProjectIdParamsSchema
173
173
  },
174
174
  responses: {
175
175
  200: {
176
- description: "Agent agent found",
176
+ description: "Agent found",
177
177
  content: {
178
178
  "application/json": {
179
179
  schema: SingleResponseSchema(AgentApiSelectSchema)
@@ -191,7 +191,7 @@ app.openapi(
191
191
  if (!agent) {
192
192
  throw createApiError({
193
193
  code: "not_found",
194
- message: "Agent agent not found"
194
+ message: "Agent not found"
195
195
  });
196
196
  }
197
197
  return c.json({ data: agent });
@@ -276,7 +276,7 @@ app.openapi(
276
276
  if (!fullAgent) {
277
277
  throw createApiError({
278
278
  code: "not_found",
279
- message: "Agent agent not found"
279
+ message: "Agent not found"
280
280
  });
281
281
  }
282
282
  return c.json({ data: fullAgent });
@@ -286,9 +286,9 @@ app.openapi(
286
286
  createRoute({
287
287
  method: "post",
288
288
  path: "/",
289
- summary: "Create Agent Agent",
290
- operationId: "create-agent-agent",
291
- tags: ["Agent Agent"],
289
+ summary: "Create Agent",
290
+ operationId: "create-agent",
291
+ tags: ["Agents"],
292
292
  request: {
293
293
  params: TenantProjectParamsSchema,
294
294
  body: {
@@ -301,7 +301,7 @@ app.openapi(
301
301
  },
302
302
  responses: {
303
303
  201: {
304
- description: "Agent agent created successfully",
304
+ description: "Agent created successfully",
305
305
  content: {
306
306
  "application/json": {
307
307
  schema: SingleResponseSchema(AgentApiSelectSchema)
@@ -329,9 +329,9 @@ app.openapi(
329
329
  createRoute({
330
330
  method: "put",
331
331
  path: "/{id}",
332
- summary: "Update Agent Agent",
333
- operationId: "update-agent-agent",
334
- tags: ["Agent Agent"],
332
+ summary: "Update Agent",
333
+ operationId: "update-agent",
334
+ tags: ["Agents"],
335
335
  request: {
336
336
  params: TenantProjectIdParamsSchema,
337
337
  body: {
@@ -344,7 +344,7 @@ app.openapi(
344
344
  },
345
345
  responses: {
346
346
  200: {
347
- description: "Agent agent updated successfully",
347
+ description: "Agent updated successfully",
348
348
  content: {
349
349
  "application/json": {
350
350
  schema: SingleResponseSchema(AgentApiSelectSchema)
@@ -367,7 +367,7 @@ app.openapi(
367
367
  if (!updatedAgent) {
368
368
  throw createApiError({
369
369
  code: "not_found",
370
- message: "Agent agent not found"
370
+ message: "Agent not found"
371
371
  });
372
372
  }
373
373
  return c.json({ data: updatedAgent });
@@ -377,18 +377,18 @@ app.openapi(
377
377
  createRoute({
378
378
  method: "delete",
379
379
  path: "/{id}",
380
- summary: "Delete Agent Agent",
381
- operationId: "delete-agent-agent",
382
- tags: ["Agent Agent"],
380
+ summary: "Delete Agent",
381
+ operationId: "delete-agent",
382
+ tags: ["Agents"],
383
383
  request: {
384
384
  params: TenantProjectIdParamsSchema
385
385
  },
386
386
  responses: {
387
387
  204: {
388
- description: "Agent agent deleted successfully"
388
+ description: "Agent deleted successfully"
389
389
  },
390
390
  404: {
391
- description: "Agent agent not found",
391
+ description: "Agent not found",
392
392
  content: {
393
393
  "application/json": {
394
394
  schema: ErrorResponseSchema
@@ -405,7 +405,7 @@ app.openapi(
405
405
  if (!deleted) {
406
406
  throw createApiError({
407
407
  code: "not_found",
408
- message: "Agent agent not found"
408
+ message: "Agent not found"
409
409
  });
410
410
  }
411
411
  return c.body(null, 204);
@@ -2319,7 +2319,7 @@ app10.openapi(
2319
2319
  summary: "Create Full Agent",
2320
2320
  operationId: "create-full-agent",
2321
2321
  tags: ["Full Agent"],
2322
- description: "Create a complete agent agent with all agents, tools, and relationships from JSON definition",
2322
+ description: "Create a complete agent with all agents, tools, and relationships from JSON definition",
2323
2323
  request: {
2324
2324
  params: TenantProjectParamsSchema,
2325
2325
  body: {
@@ -2368,7 +2368,7 @@ app10.openapi(
2368
2368
  summary: "Get Full Agent",
2369
2369
  operationId: "get-full-agent",
2370
2370
  tags: ["Full Agent"],
2371
- description: "Retrieve a complete agent agent definition with all agents, tools, and relationships",
2371
+ description: "Retrieve a complete agent definition with all agents, tools, and relationships",
2372
2372
  request: {
2373
2373
  params: AgentIdParamsSchema
2374
2374
  },
@@ -2421,7 +2421,7 @@ app10.openapi(
2421
2421
  summary: "Update Full Agent",
2422
2422
  operationId: "update-full-agent",
2423
2423
  tags: ["Full Agent"],
2424
- description: "Update or create a complete agent agent with all agents, tools, and relationships from JSON definition",
2424
+ description: "Update or create a complete agent with all agents, tools, and relationships from JSON definition",
2425
2425
  request: {
2426
2426
  params: AgentIdParamsSchema,
2427
2427
  body: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inkeep/agents-manage-api",
3
- "version": "0.0.0-dev-20251012045242",
3
+ "version": "0.0.0-dev-20251012062813",
4
4
  "description": "Agents Manage API for Inkeep Agent Framework - handles CRUD operations and OAuth",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -23,7 +23,7 @@
23
23
  "openid-client": "^6.6.4",
24
24
  "pino": "^9.7.0",
25
25
  "zod": "^4.1.11",
26
- "@inkeep/agents-core": "^0.0.0-dev-20251012045242"
26
+ "@inkeep/agents-core": "^0.0.0-dev-20251012062813"
27
27
  },
28
28
  "optionalDependencies": {
29
29
  "keytar": "^7.9.0"