@inkeep/agents-manage-api 0.18.0 → 0.19.0

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.
Files changed (4) hide show
  1. package/README.md +5 -4
  2. package/dist/index.cjs +1909 -1908
  3. package/dist/index.js +1910 -1909
  4. package/package.json +4 -3
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