@aiagenta2z/agtm 1.0.9 → 1.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 +67 -41
- package/data/config/hints/base_hints.json +507 -1
- package/dist/agtm-cli.js +438 -40
- package/docs/skills/README.md +110 -0
- package/docs/static/snapshot_playwright_google.png +0 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,23 +1,28 @@
|
|
|
1
1
|
|
|
2
2
|
### agtm: CLI Tool for AI Agent Management, Skills, Agent Registry, Benchmarks and Hints in AI Agent Marketplace
|
|
3
3
|
|
|
4
|
-
[GitHub](https://github.com/aiagenta2z/agtm)|[AI Agent Marketplace CLI Doc](https://www.deepnlp.org/doc/ai_agent_marketplace)|[DeepNLP AI Agent Marketplace](https://www.deepnlp.org/store/ai-agent) | [OneKey
|
|
4
|
+
[GitHub](https://github.com/aiagenta2z/agtm)|[AI Agent Marketplace CLI Doc](https://www.deepnlp.org/doc/ai_agent_marketplace)|[DeepNLP AI Agent Marketplace](https://www.deepnlp.org/store/ai-agent) | [OneKey Gateway](https://deepnlp.org/doc/onekey_gateway) | [Agent MCP OneKey Router Ranking](https://www.deepnlp.org/agent/rankings) | [NodeJS agtm](https://www.npmjs.com/package/@aiagenta2z/agtm)
|
|
5
5
|
|
|
6
|
-
`agtm` (AI Agent
|
|
6
|
+
`agtm` (AI Agent Manager CLI) unifies skill management, agent registration, marketplace search, and provider CLI execution. Install skills from GitHub, log and rate skill runs, upload agent metadata to registries, query the public marketplace, and run agent toolchains with fuzzy hints.
|
|
7
7
|
|
|
8
|
-
Features
|
|
8
|
+
## Features
|
|
9
9
|
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
**agtm skills**: Manage Skills, Add Skills, List Skills, Log Skills Performance, Skills performance Evaluator, compare to realworld benchmarks
|
|
11
|
+
**agtm upload**: AI Agent Registry, register local agent meta information of json or yaml format(agent.json/agent.yaml) or sync your github source meta including README.md
|
|
12
|
+
**agtm search**: Search the open source AI Agent Marketplace, including github community, huggingface community, product hunt community, deepnlp ai agent marketplace index, etc
|
|
13
|
+
**agtm run**: Run agent clis, don't need to remember, with the powerful hints and completion ability, just type a few characters and "--hint" will help you complete the command line.
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
The agent cli run hint from "play" to "playwright" complete cli.
|
|
16
|
+
|
|
17
|
+
<img src="docs/static/snapshot_playwright_google.png" width="400px" />
|
|
18
|
+
|
|
19
|
+
Furthermore, `agtm` provides memory to track skill outputs and enables performance rating against industry job level benchmarks. This allows you to score each skill execution and assign a professional tier to your AI Agent's capabilities—for example, evaluating its performance as equivalent to that of an L3 or L5 software engineer, marketing professional, etc.
|
|
16
20
|
|
|
17
21
|
```shell
|
|
18
22
|
skill_id run_times score level
|
|
19
23
|
------------------- --------- ----- -----
|
|
20
24
|
code_success_skills 5 0.9 L3(100%)
|
|
25
|
+
code_fail_skills 4 0.9 L3(100%)
|
|
21
26
|
```
|
|
22
27
|
|
|
23
28
|
## Quickstart
|
|
@@ -31,18 +36,18 @@ npm install -g @aiagenta2z/agtm
|
|
|
31
36
|
|
|
32
37
|
Setup hint and skills benchmark
|
|
33
38
|
```shell
|
|
34
|
-
agtm setup --levels ## Needed before `agtm rate`, to sync the benchmarks json to local folder
|
|
35
|
-
agtm setup --hint ## Needed before `agtm run`
|
|
39
|
+
npx agtm setup --levels ## Needed before `agtm rate`, to sync the benchmarks json to local folder
|
|
40
|
+
npx agtm setup --hint ## Needed before `agtm run`
|
|
36
41
|
```
|
|
37
42
|
|
|
38
43
|
Agtm CLI Options
|
|
39
44
|
|
|
40
45
|
| CLI | Command and Options | Document |
|
|
41
46
|
|-------------|-------------------------------------------|--------------------------------|
|
|
42
|
-
| agtm skills | add, list, log, rate | [Doc](
|
|
43
|
-
| agtm search | --q query | [Doc](
|
|
44
|
-
| agtm upload | --github --config to local agent meta | [Doc](
|
|
45
|
-
| agtm run | --hint agent-cli hint and auto completion | [Doc](
|
|
47
|
+
| agtm skills | add, list, log, rate | [Doc](./docs/skills/README.md) |
|
|
48
|
+
| agtm search | --q query | [Doc](./docs/registry/README.md) |
|
|
49
|
+
| agtm upload | --github --config to local agent meta | [Doc](./docs/registry/README.md) |
|
|
50
|
+
| agtm run | --hint agent-cli hint and auto completion | [Doc](./docs/run/README.md) |
|
|
46
51
|
|
|
47
52
|
## `skills`
|
|
48
53
|
|
|
@@ -52,27 +57,27 @@ Download and add skills to your agent directory.
|
|
|
52
57
|
|
|
53
58
|
#### Usage
|
|
54
59
|
```
|
|
55
|
-
agtm skills add <unique_id>
|
|
56
|
-
agtm skills add <github_url>
|
|
57
|
-
agtm skills add <github_url> -a <agent_id>
|
|
58
|
-
agtm skills add <owner_id/repo_id> -s <skill_id>
|
|
60
|
+
npx agtm skills add <unique_id>
|
|
61
|
+
npx agtm skills add <github_url>
|
|
62
|
+
npx agtm skills add <github_url> -a <agent_id>
|
|
63
|
+
npx agtm skills add <owner_id/repo_id> -s <skill_id>
|
|
59
64
|
```
|
|
60
65
|
|
|
61
66
|
#### Example
|
|
62
67
|
```
|
|
63
|
-
agtm skills add anthropics/skills -a claude-code ## install skills only to claude-codex
|
|
64
|
-
agtm skills add msitarzewski/agency-agents
|
|
65
|
-
agtm skills add aiagenta2z/onekey-gateway
|
|
66
|
-
agtm skills add msitarzewski/agency-agents -s academic-anthropologist -a codex
|
|
67
|
-
agtm skills add anthropics/skills -s skill-creator -a claude-code --global
|
|
68
|
+
npx agtm skills add anthropics/skills -a claude-code ## install skills only to claude-codex
|
|
69
|
+
npx agtm skills add msitarzewski/agency-agents
|
|
70
|
+
npx agtm skills add aiagenta2z/onekey-gateway
|
|
71
|
+
npx agtm skills add msitarzewski/agency-agents -s academic-anthropologist -a codex
|
|
72
|
+
npx agtm skills add anthropics/skills -s skill-creator -a claude-code --global
|
|
68
73
|
```
|
|
69
74
|
|
|
70
75
|
### skills list
|
|
71
76
|
|
|
72
77
|
#### Usage
|
|
73
78
|
```
|
|
74
|
-
agtm skills list
|
|
75
|
-
agtm skills list --agent <agent_id> --global
|
|
79
|
+
npx agtm skills list
|
|
80
|
+
npx agtm skills list --agent <agent_id> --global
|
|
76
81
|
```
|
|
77
82
|
Lists installed skills with `agent`, `skill_id`, `description`, install `path`, average `score`, and aggregated `level` (if ratings exist).
|
|
78
83
|
|
|
@@ -80,9 +85,9 @@ Lists installed skills with `agent`, `skill_id`, `description`, install `path`,
|
|
|
80
85
|
|
|
81
86
|
#### Example
|
|
82
87
|
```
|
|
83
|
-
agtm skills list
|
|
84
|
-
agtm skills list --agent codex
|
|
85
|
-
agtm skills list --agent claude-code --global
|
|
88
|
+
npx agtm skills list
|
|
89
|
+
npx agtm skills list --agent codex
|
|
90
|
+
npx agtm skills list --agent claude-code --global
|
|
86
91
|
```
|
|
87
92
|
|
|
88
93
|
|
|
@@ -90,15 +95,16 @@ agtm skills list --agent claude-code --global
|
|
|
90
95
|
|
|
91
96
|
#### Usage
|
|
92
97
|
```
|
|
93
|
-
agtm skills log <skill_id> --data '<json_payload>'
|
|
98
|
+
npx agtm skills log <skill_id> --data '<json_payload>'
|
|
94
99
|
```
|
|
100
|
+
|
|
95
101
|
- Persists a run record at `.agtm/skills/log/<uuid>.json` (or the `--logDir` you supply).
|
|
96
102
|
- `<json_payload>` must contain at least `input` and `output`; optional fields (meta, rating, level) are accepted.
|
|
97
103
|
|
|
98
104
|
#### Example
|
|
99
105
|
```
|
|
100
|
-
agtm skills log <skill_id> --data '{"input":"write a website for store","output":"success"}'
|
|
101
|
-
agtm skills log code_success_skills --data '{"input":"generate sql","output":"ok","meta":{"agent":"claude-code"}}'
|
|
106
|
+
npx agtm skills log <skill_id> --data '{"input":"write a website for store","output":"success"}'
|
|
107
|
+
npx agtm skills log code_success_skills --data '{"input":"generate sql","output":"ok","meta":{"agent":"claude-code"}}'
|
|
102
108
|
```
|
|
103
109
|
|
|
104
110
|
### skills rate
|
|
@@ -107,14 +113,14 @@ agtm skills log code_success_skills --data '{"input":"generate sql","output":"ok
|
|
|
107
113
|
|
|
108
114
|
To use the rate command, have to setup the benchmark levels configuration. save to `./agtm/levels/*.json` files
|
|
109
115
|
```shell
|
|
110
|
-
agtm setup --levels
|
|
116
|
+
npx agtm setup --levels
|
|
111
117
|
```
|
|
112
118
|
|
|
113
119
|
#### Usage
|
|
114
120
|
```
|
|
115
|
-
agtm skills rate prepare --skill_id <skill_id> --prompt "<eval_prompt>" --benchmark <path/benchmark.json>
|
|
116
|
-
agtm skills rate apply --skill_id <skill_id> --result '<result_json>'
|
|
117
|
-
agtm skills rate show --skill_id <skill_id>
|
|
121
|
+
npx agtm skills rate prepare --skill_id <skill_id> --prompt "<eval_prompt>" --benchmark <path/benchmark.json>
|
|
122
|
+
npx agtm skills rate apply --skill_id <skill_id> --result '<result_json>'
|
|
123
|
+
npx agtm skills rate show --skill_id <skill_id>
|
|
118
124
|
```
|
|
119
125
|
- `prepare` exports logs plus the top benchmark slices (e.g., Google SWE L3–L7) for an external evaluator.
|
|
120
126
|
- `apply` writes evaluator outputs (`rating`, `level`) back to each log.
|
|
@@ -122,9 +128,9 @@ agtm skills rate show --skill_id <skill_id>
|
|
|
122
128
|
|
|
123
129
|
#### Example
|
|
124
130
|
```
|
|
125
|
-
agtm skills rate prepare --skill_id code_success_skills --prompt "Evaluate the results" --benchmark path/customized_agent_benchmark.json
|
|
126
|
-
agtm skills rate apply --skill_id code_success_skills --result '{"results":[{"log_id":"3679a3fe-4d97-4eb1-83bc-f83d711be195","rating":0.90,"level":"L4"}]}'
|
|
127
|
-
agtm skills rate show --skill_id code_success_skills
|
|
131
|
+
npx agtm skills rate prepare --skill_id code_success_skills --prompt "Evaluate the results" --benchmark path/customized_agent_benchmark.json
|
|
132
|
+
npx agtm skills rate apply --skill_id code_success_skills --result '{"results":[{"log_id":"3679a3fe-4d97-4eb1-83bc-f83d711be195","rating":0.90,"level":"L4"}]}'
|
|
133
|
+
npx agtm skills rate show --skill_id code_success_skills
|
|
128
134
|
```
|
|
129
135
|
Sample output:
|
|
130
136
|
```
|
|
@@ -194,9 +200,7 @@ agtm run <provider_unique_id> <agent_cli>
|
|
|
194
200
|
### Example
|
|
195
201
|
|
|
196
202
|
```shell
|
|
197
|
-
|
|
198
|
-
DEBUG: Entering Human Mode | idArg play | commandArgs | options [object Object] | hasHints true | hints [object Object]
|
|
199
|
-
|
|
203
|
+
agtm run play
|
|
200
204
|
Skill ID suggestions:
|
|
201
205
|
1. microsoft/playwright-cli
|
|
202
206
|
2. googleworkspace/cli
|
|
@@ -260,6 +264,28 @@ agtm upload --config ./agent.json --endpoint https://www.deepnlp.org/api/ai_agen
|
|
|
260
264
|
agtm upload --config ./agent.json --endpoint https://www.aiagenta2z.com/api/ai_agent_marketplace/registry --schema ./schema.json
|
|
261
265
|
```
|
|
262
266
|
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
### Skills Agtm-Cli
|
|
270
|
+
|
|
271
|
+
We provide Skills repo to use in various agents to evaluate skills and run agent hints.
|
|
272
|
+
The skills can be found in ./skills/ folder
|
|
273
|
+
|
|
274
|
+
| skill | description |
|
|
275
|
+
| ---- | ---- |
|
|
276
|
+
| agent-cli-hint-completion | This skill uses `agtm run --mode agent` to help hint agents clis usage |
|
|
277
|
+
| agent-skills-evaluator | This skill use `agtm skills log` and `agtm skills rate` to track other skills performance from LLM-based evaluator, match to professional Job Level Benchmarks, such as Google L3 level software engineers/ Apple M3 level marketing specialist performance. |
|
|
278
|
+
|
|
279
|
+
```shell
|
|
280
|
+
npx agtm skills add aiagenta2z/agtm ## install all the skill evaluation and skill cli-hints
|
|
281
|
+
npx agtm skills add aiagenta2z/agtm -s agent-skills-evaluator
|
|
282
|
+
```
|
|
283
|
+
|
|
284
|
+
```shell
|
|
285
|
+
npx skills add aiagenta2z/agtm ## install all the skill evaluation and skill cli-hints
|
|
286
|
+
npx skills add aiagenta2z/agtm -s agent-skills-evaluator
|
|
287
|
+
```
|
|
288
|
+
|
|
263
289
|
### Contributing
|
|
264
290
|
|
|
265
291
|
#### Agent CLI List
|