@agentier/anthropic 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 +33 -0
- package/package.json +12 -3
package/README.md
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# @agentier/anthropic
|
|
2
|
+
|
|
3
|
+
Native Anthropic Claude provider for [agentier](https://github.com/itIsMaku/agentier).
|
|
4
|
+
|
|
5
|
+
## Install
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
npm install @agentier/anthropic @agentier/core
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Usage
|
|
12
|
+
|
|
13
|
+
```ts
|
|
14
|
+
import { createAgent } from '@agentier/core'
|
|
15
|
+
import { anthropic } from '@agentier/anthropic'
|
|
16
|
+
|
|
17
|
+
const agent = createAgent({
|
|
18
|
+
provider: anthropic({
|
|
19
|
+
model: 'claude-sonnet-4-20250514',
|
|
20
|
+
apiKey: process.env.ANTHROPIC_API_KEY,
|
|
21
|
+
}),
|
|
22
|
+
})
|
|
23
|
+
|
|
24
|
+
const result = await agent.run('Hello!')
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Documentation
|
|
28
|
+
|
|
29
|
+
Full docs and examples: [github.com/itIsMaku/agentier](https://github.com/itIsMaku/agentier)
|
|
30
|
+
|
|
31
|
+
## License
|
|
32
|
+
|
|
33
|
+
MIT
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentier/anthropic",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -10,8 +10,17 @@
|
|
|
10
10
|
"types": "./dist/index.d.ts"
|
|
11
11
|
}
|
|
12
12
|
},
|
|
13
|
+
"description": "Native Anthropic Claude provider for agentier",
|
|
14
|
+
"license": "MIT",
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "https://github.com/itIsMaku/agentier.git",
|
|
18
|
+
"directory": "packages/provider-anthropic"
|
|
19
|
+
},
|
|
20
|
+
"homepage": "https://github.com/itIsMaku/agentier/tree/master/packages/provider-anthropic",
|
|
13
21
|
"files": [
|
|
14
|
-
"dist"
|
|
22
|
+
"dist",
|
|
23
|
+
"README.md"
|
|
15
24
|
],
|
|
16
25
|
"scripts": {
|
|
17
26
|
"build": "bun build ./src/index.ts --outdir ./dist --target node",
|
|
@@ -19,7 +28,7 @@
|
|
|
19
28
|
"typecheck": "tsc --noEmit"
|
|
20
29
|
},
|
|
21
30
|
"peerDependencies": {
|
|
22
|
-
"@agentier/core": "^0.1.
|
|
31
|
+
"@agentier/core": "^0.1.1"
|
|
23
32
|
},
|
|
24
33
|
"devDependencies": {
|
|
25
34
|
"@agentier/core": "workspace:*",
|