create-agent 0.0.11 → 0.0.13
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 +7 -12
- package/bin/create-agent.js +9 -0
- package/package.json +1 -1
- package/.claude/settings.local.json +0 -25
package/README.md
CHANGED
|
@@ -1,27 +1,21 @@
|
|
|
1
|
-
#
|
|
1
|
+
# npm init agent
|
|
2
2
|
|
|
3
3
|
[](https://www.npmjs.com/package/create-agent)
|
|
4
4
|
[](https://opensource.org/licenses/MIT)
|
|
5
5
|
[](https://nodejs.org/)
|
|
6
6
|
|
|
7
7
|
> **Your AI agent has no identity.** It can't prove who it is. It can't sign anything. It can't be trusted.
|
|
8
|
-
>
|
|
9
|
-
> Fix that in one command.
|
|
10
|
-
|
|
11
|
-
```bash
|
|
12
|
-
npx create-agent
|
|
13
|
-
```
|
|
14
8
|
|
|
15
9
|
Instantly generates a cryptographic identity with a [W3C DID document](https://www.w3.org/TR/did-core/) — the emerging standard for autonomous agent identity.
|
|
16
10
|
|
|
17
11
|
---
|
|
18
12
|
|
|
19
|
-
## Why
|
|
13
|
+
## Why?
|
|
20
14
|
|
|
21
15
|
AI agents and autonomous systems need verifiable identities. Traditional auth (API keys, OAuth) wasn't designed for machine-to-machine trust. **create-agent** provides:
|
|
22
16
|
|
|
23
|
-
- **Cryptographic Identity** — Schnorr keypairs on secp256k1
|
|
24
17
|
- **W3C Standards** — DID documents for interoperability
|
|
18
|
+
- **Cryptographic Identity** — Schnorr keypairs on secp256k1
|
|
25
19
|
- **Decentralized** — No central authority, works with Nostr relays
|
|
26
20
|
- **Zero Config** — One command, instant identity
|
|
27
21
|
|
|
@@ -30,13 +24,14 @@ AI agents and autonomous systems need verifiable identities. Traditional auth (A
|
|
|
30
24
|
## Installation
|
|
31
25
|
|
|
32
26
|
```bash
|
|
33
|
-
#
|
|
34
|
-
|
|
27
|
+
# Just run it (no install required)
|
|
28
|
+
npm init agent
|
|
35
29
|
|
|
36
30
|
# Or install globally
|
|
37
31
|
npm install -g create-agent
|
|
32
|
+
create-agent
|
|
38
33
|
|
|
39
|
-
# Or as a
|
|
34
|
+
# Or as a library
|
|
40
35
|
npm install create-agent
|
|
41
36
|
```
|
|
42
37
|
|
package/bin/create-agent.js
CHANGED
|
@@ -35,3 +35,12 @@ process.stderr.write('\x1b[36m📄 DID Nostr Document:\x1b[0m\n');
|
|
|
35
35
|
process.stderr.write('\x1b[36m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\x1b[0m\n');
|
|
36
36
|
console.log(JSON.stringify(did, null, 2));
|
|
37
37
|
process.stderr.write('\x1b[36m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\x1b[0m\n');
|
|
38
|
+
|
|
39
|
+
// Suggest next steps with aam
|
|
40
|
+
process.stderr.write('\n');
|
|
41
|
+
process.stderr.write('\x1b[36m🚀 Next Steps:\x1b[0m\n');
|
|
42
|
+
process.stderr.write('\x1b[36m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\x1b[0m\n');
|
|
43
|
+
process.stderr.write('\x1b[0m- Install the Agentic App Manager: \x1b[33mnpm install -g aam\x1b[0m\n');
|
|
44
|
+
process.stderr.write('\x1b[0m- Add skills to your agent: \x1b[33maam skills anthropics/skills\x1b[0m\n');
|
|
45
|
+
process.stderr.write('\x1b[0m- Browse the registry: \x1b[33mhttps://aam.wtf\x1b[0m\n');
|
|
46
|
+
process.stderr.write('\n');
|
package/package.json
CHANGED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"permissions": {
|
|
3
|
-
"allow": [
|
|
4
|
-
"Bash(tree:*)",
|
|
5
|
-
"Bash(git checkout:*)",
|
|
6
|
-
"Bash(git add:*)",
|
|
7
|
-
"Bash(git commit:*)",
|
|
8
|
-
"Bash(node -e:*)",
|
|
9
|
-
"Bash(npm test)",
|
|
10
|
-
"Bash(git pull:*)",
|
|
11
|
-
"Bash(gh pr list:*)",
|
|
12
|
-
"Bash(gh issue list:*)",
|
|
13
|
-
"WebFetch(domain:nostrcg.github.io)",
|
|
14
|
-
"Bash(node bin/create-agent.js:*)",
|
|
15
|
-
"WebSearch",
|
|
16
|
-
"Bash(gh issue view:*)",
|
|
17
|
-
"Bash(gh api:*)",
|
|
18
|
-
"WebFetch(domain:ai-sdk.dev)",
|
|
19
|
-
"WebFetch(domain:github.com)",
|
|
20
|
-
"Bash(git fetch:*)",
|
|
21
|
-
"Bash(gh repo fork:*)",
|
|
22
|
-
"Bash(node /home/melvin/agi/create-agent/bin/create-agent.js:*)"
|
|
23
|
-
]
|
|
24
|
-
}
|
|
25
|
-
}
|