@kigathi/ai-agents 0.1.0 → 0.1.1
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 +5 -5
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
# @
|
|
1
|
+
# @kigathi/ai-agents
|
|
2
2
|
|
|
3
3
|
Unified Agents/Bots SDK for Responses API.
|
|
4
4
|
|
|
5
5
|
## Install
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
|
-
npm install @
|
|
8
|
+
npm install @kigathi/ai-agents
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
## Direct OpenAI mode
|
|
12
12
|
|
|
13
13
|
```js
|
|
14
|
-
import { createClient } from '@
|
|
14
|
+
import { createClient } from '@kigathi/ai-agents';
|
|
15
15
|
|
|
16
16
|
const sdk = createClient({
|
|
17
17
|
apiKey: process.env.OPENAI_API_KEY,
|
|
@@ -74,13 +74,13 @@ const result = await sdk.run({
|
|
|
74
74
|
- `../examples/lyre-ai-agents-node/nuxt-chat` - Nuxt 3 app + server API route + Tailwind
|
|
75
75
|
- `../examples/lyre-ai-agents-node/sveltekit-chat` - SvelteKit app + server endpoint + Tailwind
|
|
76
76
|
|
|
77
|
-
All three use `@
|
|
77
|
+
All three use `@kigathi/ai-agents` in `proxy` mode against Axis backend so conversation/message/cost metadata stays in Axis.
|
|
78
78
|
|
|
79
79
|
## Publishing to npm
|
|
80
80
|
|
|
81
81
|
This package is configured for public publishing as a scoped package via:
|
|
82
82
|
|
|
83
|
-
- `name: @
|
|
83
|
+
- `name: @kigathi/ai-agents`
|
|
84
84
|
- `publishConfig.access: public`
|
|
85
85
|
|
|
86
86
|
Before the first publish, make sure you:
|