@aiagenta2z/agtm 1.0.7 → 1.0.8
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 +163 -201
- package/data/config/hints/base_hints.json +118 -0
- package/data/config/hints/contrib/your_cli_hints.json +0 -0
- package/data/config/levels/marketing_sales_apple_levels.json +83 -0
- package/data/config/levels/software_engineer_google_levels.json +42 -0
- package/data/config/levels/software_engineer_meta_levels.json +42 -0
- package/dist/agtm-cli.js +1110 -8
- package/dist/test/skills.spec.js +93 -0
- package/docs/registry/README.md +239 -0
- package/docs/run/README.md +48 -0
- package/docs/skills/README.md +300 -0
- package/package.json +7 -3
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { spawnSync } from 'node:child_process';
|
|
2
|
+
import * as fs from 'node:fs';
|
|
3
|
+
import * as os from 'node:os';
|
|
4
|
+
import * as path from 'node:path';
|
|
5
|
+
import { fileURLToPath } from 'node:url';
|
|
6
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
7
|
+
const __dirname = path.dirname(__filename);
|
|
8
|
+
const projectRoot = path.resolve(__dirname, '..');
|
|
9
|
+
const cliPath = path.join(projectRoot, 'agtm-cli.ts');
|
|
10
|
+
function runCli(args, env = {}) {
|
|
11
|
+
const result = spawnSync('node', ['--loader', 'ts-node/esm', cliPath, ...args], {
|
|
12
|
+
cwd: projectRoot,
|
|
13
|
+
env: { ...process.env, ...env },
|
|
14
|
+
encoding: 'utf8'
|
|
15
|
+
});
|
|
16
|
+
return result;
|
|
17
|
+
}
|
|
18
|
+
function assertExitZero(result, label) {
|
|
19
|
+
if (result.status !== 0) {
|
|
20
|
+
throw new Error(`${label} failed with code ${result.status}:\n${result.stdout}\n${result.stderr}`);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
function ensureSkillDirs() {
|
|
24
|
+
const skills = [
|
|
25
|
+
'.agents/skills/code_success_skills',
|
|
26
|
+
'.agents/skills/code_fail_skills',
|
|
27
|
+
'.agents/skills/agtm_agent_management_skill'
|
|
28
|
+
];
|
|
29
|
+
for (const rel of skills) {
|
|
30
|
+
const full = path.join(projectRoot, rel);
|
|
31
|
+
if (!fs.existsSync(full)) {
|
|
32
|
+
fs.mkdirSync(full, { recursive: true });
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
function main() {
|
|
37
|
+
ensureSkillDirs();
|
|
38
|
+
const logDir = fs.mkdtempSync(path.join(os.tmpdir(), 'agtm-log-'));
|
|
39
|
+
// Log runs (no rating/level at this stage)
|
|
40
|
+
let res = runCli(['skills', 'log', 'code_success_skills', '--data', JSON.stringify({ input: 'success-1', output: 'out-1' }), '-d', logDir]);
|
|
41
|
+
assertExitZero(res, 'log success #1');
|
|
42
|
+
res = runCli(['skills', 'log', 'code_success_skills', '--data', JSON.stringify({ input: 'success-2', output: 'out-2' }), '-d', logDir]);
|
|
43
|
+
assertExitZero(res, 'log success #2');
|
|
44
|
+
res = runCli(['skills', 'log', 'code_fail_skills', '--data', JSON.stringify({ input: 'fail-1', output: 'out-fail' }), '-d', logDir]);
|
|
45
|
+
assertExitZero(res, 'log failure');
|
|
46
|
+
// Prepare evaluation payload for successes
|
|
47
|
+
res = runCli(['skills', 'rate', 'prepare', '--skill_id', 'code_success_skills', '-d', logDir]);
|
|
48
|
+
assertExitZero(res, 'rate prepare success');
|
|
49
|
+
const payload = JSON.parse(res.stdout);
|
|
50
|
+
if (!Array.isArray(payload.logs) || payload.logs.length !== 2) {
|
|
51
|
+
throw new Error('Prepare payload missing expected logs for success skill');
|
|
52
|
+
}
|
|
53
|
+
if (!Array.isArray(payload.benchmarks) || payload.benchmarks.length === 0) {
|
|
54
|
+
throw new Error('Prepare payload missing benchmarks array');
|
|
55
|
+
}
|
|
56
|
+
const successResults = {
|
|
57
|
+
results: payload.logs.map((log) => ({
|
|
58
|
+
log_id: log.log_id,
|
|
59
|
+
rating: 1,
|
|
60
|
+
level: 'L4'
|
|
61
|
+
}))
|
|
62
|
+
};
|
|
63
|
+
res = runCli(['skills', 'rate', 'apply', '--skill_id', 'code_success_skills', '--result', JSON.stringify(successResults), '-d', logDir]);
|
|
64
|
+
assertExitZero(res, 'rate apply success');
|
|
65
|
+
// Apply results for fail skill
|
|
66
|
+
const failEntry = fs.readdirSync(logDir)
|
|
67
|
+
.map((f) => path.join(logDir, f))
|
|
68
|
+
.map((p) => JSON.parse(fs.readFileSync(p, 'utf8')))
|
|
69
|
+
.find((e) => e.skill_id === 'code_fail_skills');
|
|
70
|
+
const failResults = { results: [{ log_id: failEntry.log_id, rating: 0, level: 'L3' }] };
|
|
71
|
+
res = runCli(['skills', 'rate', 'apply', '--skill_id', 'code_fail_skills', '--result', JSON.stringify(failResults), '-d', logDir]);
|
|
72
|
+
assertExitZero(res, 'rate apply fail');
|
|
73
|
+
// Show aggregated table for success skill
|
|
74
|
+
res = runCli(['skills', 'rate', 'show', '--skill_id', 'code_success_skills', '-d', logDir]);
|
|
75
|
+
assertExitZero(res, 'rate show success');
|
|
76
|
+
const table = res.stdout.trim();
|
|
77
|
+
const cleanTable = table.replace(/\x1b\[[0-9;]*m/g, '');
|
|
78
|
+
if (!/code_success_skills\s+2\s+1\.00\s+L4/.test(cleanTable)) {
|
|
79
|
+
throw new Error(`Unexpected rate show output for success skill:\n${cleanTable}`);
|
|
80
|
+
}
|
|
81
|
+
// Verify persisted ratings/levels
|
|
82
|
+
const saved = fs.readdirSync(logDir).map((f) => JSON.parse(fs.readFileSync(path.join(logDir, f), 'utf8')));
|
|
83
|
+
const successSaved = saved.filter((e) => e.skill_id === 'code_success_skills');
|
|
84
|
+
const failSaved = saved.find((e) => e.skill_id === 'code_fail_skills');
|
|
85
|
+
if (successSaved.some((e) => e.rating !== 1 || e.level !== 'L4')) {
|
|
86
|
+
throw new Error('Success logs missing applied rating/level');
|
|
87
|
+
}
|
|
88
|
+
if (!failSaved || failSaved.rating !== 0 || failSaved.level !== 'L3') {
|
|
89
|
+
throw new Error('Fail log missing applied rating/level');
|
|
90
|
+
}
|
|
91
|
+
console.log('Skills log/rate prepare/apply integration test passed.');
|
|
92
|
+
}
|
|
93
|
+
main();
|
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
### Agtm AI Agent Registry CLI Usage
|
|
2
|
+
|
|
3
|
+
Agtm provides AI Agent registry service, including cli to help register your AI Agent meta data, search relevant AI agent information by "id" or "query".
|
|
4
|
+
|
|
5
|
+
### `search`
|
|
6
|
+
`agtm search` helps to search AI Agent MCP and skills marketplace by id or query keywords.
|
|
7
|
+
|
|
8
|
+
Example Usage
|
|
9
|
+
```shell
|
|
10
|
+
agtm search --q 'coding agent'
|
|
11
|
+
agtm search --id 'google-maps/google-maps'
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
### `upload`
|
|
15
|
+
`agtm update` helps to update your local agent.json or agent.yaml meta information to DeepNLP AI Agent Marketplace Index.
|
|
16
|
+
Example Usage
|
|
17
|
+
```shell
|
|
18
|
+
agtm upload --github https://github.com/AI-Hub-Admin/My-First-AI-Coding-Agent
|
|
19
|
+
agtm upload --config ./agent.json
|
|
20
|
+
agtm upload --config ./agent.yaml
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
## Tutorial
|
|
24
|
+
|
|
25
|
+
### 1. Installation
|
|
26
|
+
|
|
27
|
+
**Node**
|
|
28
|
+
``` NodeJS
|
|
29
|
+
npm install -g @aiagenta2z/agtm
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
note: run nodejs environment, you need to add -g to install, so you can just run command line `agtm` without the `npx agtm` prefix,
|
|
33
|
+
|
|
34
|
+
Command line to register your AI agent from GitHub, Local config(agent.json, agent.yaml) or search the AI agent marketplace.
|
|
35
|
+
To see detailed usage, visit the GitHub of `agtm` at Documentation (https://github.com/aiagenta2z/ai-agent-marketplace)
|
|
36
|
+
|
|
37
|
+
**Python**
|
|
38
|
+
```
|
|
39
|
+
pip install ai-agent-marketplace
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
The cli bin will be copied to python path. Future version, only 'node' command line will be supported.
|
|
43
|
+
|
|
44
|
+
### Setup
|
|
45
|
+
Let's say you have create a repo of your open source AI Agent (e.g. https://github.com/AI-Hub-Admin/My-First-AI-Coding-Agent), And you want to
|
|
46
|
+
register and get a registered detailed page of AI Agent in the marketplace and monitor the traffic.
|
|
47
|
+
|
|
48
|
+
**Setup Access Key**
|
|
49
|
+
|
|
50
|
+
First you need to setup an access_key in the environment to authenticate.
|
|
51
|
+
Register your AI Agent Marketplace [Access Key here](https://deepnlp.org/workspace/keys)
|
|
52
|
+
|
|
53
|
+
```
|
|
54
|
+
export AI_AGENT_MARKETPLACE_ACCESS_KEY="{your_access_key}"
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
You can also use the test key for validation, which is associated with a test-only account on deepnlp.org and aiagenta2z.com.
|
|
58
|
+
|
|
59
|
+
```
|
|
60
|
+
export AI_AGENT_MARKETPLACE_ACCESS_KEY="TEST_KEY_AI_AGENT_REGISTRY"
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
### 3. AI Agent Registry
|
|
64
|
+
|
|
65
|
+
**Registry AI Agent from your GitHub**
|
|
66
|
+
|
|
67
|
+
The default registry provider endpoint includes: [DeepNLP AI Agent Registry Endpoint](https://www.deepnlp.org/api/ai_agent_marketplace/registry) |
|
|
68
|
+
[aiagenta2z.com Registry Endpoint](https://www.aiagenta2z.com/api/ai_agent_marketplace/registry)|[aiagenta2z.org Registry Endpoint](https://www.aiagenta2z.org/api/ai_agent_marketplace/registry), etc.
|
|
69
|
+
|
|
70
|
+
You can also set your customized registry endpoint via `--endpoint` parameter
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
```
|
|
74
|
+
agtm upload --github https://github.com/AI-Hub-Admin/My-First-AI-Coding-Agent
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
**Registry AI Agent from agent.json or agent.yaml file**
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
## Register from local config of AI Agent meta
|
|
84
|
+
agtm upload --config ./agent.json
|
|
85
|
+
agtm upload --config ./agent.yaml
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
You can download sample [agent.json](https://github.com/aiagenta2z/agtm/blob/main/agent.json) or [agent.yaml](https://github.com/aiagenta2z/agtm/blob/main/agent.yaml) file from github https://github.com/aiagenta2z/agtm
|
|
89
|
+
See the explanation of the schema, please visit the [documentation](https://www.deepnlp.org/doc/ai_agent_marketplace).
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
Demo agent.json file
|
|
93
|
+
```
|
|
94
|
+
{
|
|
95
|
+
"name": "My First AI Coding Agent",
|
|
96
|
+
"content": "This AI Agent can do complicated programming work for humans",
|
|
97
|
+
"website": "https://www.my_first_agent.com",
|
|
98
|
+
"field": "AI AGENT",
|
|
99
|
+
"subfield": "Coding Agent",
|
|
100
|
+
"content_tag_list": "coding,python",
|
|
101
|
+
"github": "",
|
|
102
|
+
"thumbnail_picture": "https://avatars.githubusercontent.com/u/242328252?s=200&v=4",
|
|
103
|
+
"upload_image_files": "",
|
|
104
|
+
"api": "https://www.my_first_agent.com/agent",
|
|
105
|
+
"price_type": "PER_CALL",
|
|
106
|
+
"price_per_call_credit": 0.0,
|
|
107
|
+
"price_fixed_credit" : 0.0,
|
|
108
|
+
"price_subscription": "Basic: your basic plan introduction, Advanced: Your Advanced Plan introduction, etc."
|
|
109
|
+
}
|
|
110
|
+
```
|
|
111
|
+
Demo agent.yaml file
|
|
112
|
+
```
|
|
113
|
+
|
|
114
|
+
name: "My First AI Coding Agent"
|
|
115
|
+
content: "This AI Agent can do complicated programming work for humans"
|
|
116
|
+
website: "https://www.my_first_agent.com"
|
|
117
|
+
field: "AI AGENT"
|
|
118
|
+
subfield: "Coding Agent"
|
|
119
|
+
content_tag_list: "coding,python"
|
|
120
|
+
github: "https://github.com/AI-Hub-Admin/My-First-AI-Coding-Agent"
|
|
121
|
+
thumbnail_picture: "https://avatars.githubusercontent.com/u/242328252?s=200&v=4"
|
|
122
|
+
upload_image_files: ""
|
|
123
|
+
api: "https://www.my_first_agent.com/agent"
|
|
124
|
+
price_type: "API Call"
|
|
125
|
+
price_per_call_credit: 0.0
|
|
126
|
+
price_fixed_credit: 0.0
|
|
127
|
+
price_subscription: "Basic: your basic plan introduction, Advanced: Your Advanced Plan introduction, etc."
|
|
128
|
+
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
**Use your customized endpoint and schema definition**
|
|
132
|
+
|
|
133
|
+
You have the flexibility to use the AI Agent marketplace/manager cli `agtm` to submit customized ai agent schema to your customized endpoint.
|
|
134
|
+
|
|
135
|
+
You need to define a customized `schema.json` (https://github.com/aiagenta2z/agtm/blob/main/schema.json) file similar to the default one below and your URL of `endpoint`.
|
|
136
|
+
Then the package will POST the the data schema to your endpoint.
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
Note: the keys in agent.json and schema.json should match. Package will select keys from the agent.json/agent.yaml files.
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
`schema.json` should have two keys defined the required fields and optional fields you want to submit from the agent.json file.
|
|
143
|
+
|
|
144
|
+
Remember to keep the `access_key` in safe place, the post request will post the `access_key` as well as schema to the endpoint.
|
|
145
|
+
|
|
146
|
+
#### default schema.json definition
|
|
147
|
+
```
|
|
148
|
+
{
|
|
149
|
+
"required": [
|
|
150
|
+
"name",
|
|
151
|
+
"content"
|
|
152
|
+
],
|
|
153
|
+
"optional": [
|
|
154
|
+
"website",
|
|
155
|
+
"field",
|
|
156
|
+
"subfield",
|
|
157
|
+
"content_tag_list",
|
|
158
|
+
"github",
|
|
159
|
+
"price_type",
|
|
160
|
+
"api",
|
|
161
|
+
"thumbnail_picture",
|
|
162
|
+
"upload_image_files",
|
|
163
|
+
"sdk",
|
|
164
|
+
"package"
|
|
165
|
+
]
|
|
166
|
+
}
|
|
167
|
+
```
|
|
168
|
+
|
|
169
|
+
|
|
170
|
+
Please visit the command line github package [agtm](https://github.com/aiagenta2z/agtm) and [DOC](https://www.deepnlp.org/doc/ai_agent_marketplace) detailed usage.
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
Use the test account and access
|
|
174
|
+
|
|
175
|
+
```
|
|
176
|
+
export AI_AGENT_MARKETPLACE_ACCESS_KEY="TEST_KEY_AI_AGENT_REGISTRY"
|
|
177
|
+
|
|
178
|
+
agtm upload --config ./agent.json --endpoint https://www.deepnlp.org/api/ai_agent_marketplace/registry --schema ./schema.json
|
|
179
|
+
|
|
180
|
+
agtm upload --config ./agent.json --endpoint https://www.aiagenta2z.com/api/ai_agent_marketplace/registry --schema ./schema.json
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
```
|
|
185
|
+
Setting Registry Endpoint to URL: https://www.deepnlp.org/api/ai_agent_marketplace/registry
|
|
186
|
+
Customized Schema is enabled : ./schema.json
|
|
187
|
+
Attempting to register agent from config file: ./agent.json
|
|
188
|
+
✅ Loaded custom schema from: ./schema.json
|
|
189
|
+
Using customized schema {"required": ["name", "content"], "optional": ["website", "field", "subfield", "content_tag_list", "github", "price_type", "api", "thumbnail_picture", "upload_image_files", "sdk", "package"]}
|
|
190
|
+
WARN: Calling AddServiceAPI input param optional keys filled fields ['website', 'field', 'subfield', 'content_tag_list', 'github', 'price_type', 'api', 'thumbnail_picture', 'upload_image_files']|missing_fields []
|
|
191
|
+
Submitting agent information to the marketplace...
|
|
192
|
+
|
|
193
|
+
✅ Registration Successful!
|
|
194
|
+
URL: https://www.deepnlp.org/store/ai-agent/coding-agent/pub-test-agtm-registry/my-first-ai-coding-agent
|
|
195
|
+
Message: Content Updated Successfully|Visit URL at https://www.deepnlp.org/store/ai-agent/coding-agent/pub-test-agtm-registry/my-first-ai-coding-agent and Login to View the Pending status webpage...
|
|
196
|
+
Track its status at: https://www.deepnlp.org/store/ai-agent/coding-agent/pub-test-agtm-registry/my-first-ai-coding-agent
|
|
197
|
+
```
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
Use www.example.com as endpoint example
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
```
|
|
204
|
+
agtm upload --config ./agent.json --endpoint https://www.example.com --schema ./schema.json
|
|
205
|
+
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
It will return an error message showing the endpoint and data, https://www.example.com doesn't have endpoint handling
|
|
209
|
+
|
|
210
|
+
```
|
|
211
|
+
❌ Registration Failed. Please check your endpoint https://www.example.com and agent data {'name': 'My First AI Coding Agent', 'content': 'This AI Agent can do complicated programming work for humans', 'website': 'https://www.my_first_agent.com', 'field': 'AI AGENT', 'subfield': 'Coding Agent', 'content_tag_list': 'coding,python', 'github': '', 'thumbnail_picture': 'https://avatars.githubusercontent.com/u/242328252?s=200&v=4', 'upload_image_files': '', 'api': 'https://www.my_first_agent.com/agent', 'price_type': 'FREE', 'price_per_call_credit': 0.0, 'price_fixed_credit': 0.0, 'price_subscription': 'Basic: your basic plan introduction, Advanced: Your Advanced Plan introduction, etc.'}
|
|
212
|
+
```
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
**Search AI Agent Marketplace**
|
|
216
|
+
|
|
217
|
+
```
|
|
218
|
+
|
|
219
|
+
## Search Open Source AI Agent marketplace of deepnlp
|
|
220
|
+
|
|
221
|
+
agtm search --q 'coding agent'
|
|
222
|
+
agtm search --id 'google-maps/google-maps'
|
|
223
|
+
agtm search --id 'AI-Hub-Admin/My-First-AI-Coding-Agent'
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
Search Result of query q="coding agent"
|
|
227
|
+
|
|
228
|
+
```
|
|
229
|
+
[{'content_name': 'Cursor AI', 'publisher_id': 'pub-cursor', 'detail_url': 'https://www.deepnlp.org/store/ai-agent/coding-agent/pub-cursor/cursor-ai', 'website': 'https://docs.cursor.com/agent', 'github': '', 'review_cnt': '3', 'rating': '3.3', 'description': 'Cursor AI Coding Editor provides Agent mode, which is the default mode in Cursor, equipped with all tools to efficiently handle a wide range of coding tasks. Agent is the default mode in Cursor that is best for most tasks. It has all tools enabled to allow it to perform all operations necessary to complete the task at hand. Make sure to read chat overview to learn more about how modes work in Curs', 'subfield': 'Coding Agent', 'field': 'AI AGENT', 'id': 'cursor/cursor-ai', 'content_tag_list': 'Coding Agent,AI AGENT', 'thumbnail_picture': 'https://static.aiagenta2z.com/scripts/img/ai_service_content/a7dd95e7eb419437ef4a91f4b0e853cb.jpg'}, {'content_name': 'trae ai', 'publisher_id': 'pub-trae-ai', 'detail_url': 'https://www.deepnlp.org/store/ai-agent/coding-agent/pub-trae-ai/trae-ai', 'website': 'https://www.trae.ai/', 'github': '', 'review_cnt': '2', 'rating': '4.0', 'description': 'Trae AI IDE is a cutting-edge AI-integrated development environment designed to enhance developer productivity by leveraging advanced AI models like Claude3.5 and GPT-4o. It offers a seamless coding experience with features such as intelligent code generation, real-time feedback, and multi-modal input support, making it a powerful tool for developers. Introduction Trae AI IDE, developed by ByteDan', 'subfield': 'Coding Agent', 'field': 'AI AGENT', 'id': 'trae-ai/trae-ai', 'content_tag_list': 'CODING AGENT,AI AGENT', 'thumbnail_picture': 'https://static.aiagenta2z.com/scripts/img/ai_service_content/cc43d2dc25488b50b883781e0ae8c988.png'}, {'content_name': 'codex', 'publisher_id': 'pub-openai', 'detail_url': 'https://www.deepnlp.org/store/ai-agent/coding-agent/pub-openai/codex', 'website': 'https://github.com/openai/codex', 'github': 'https://github.com/openai/codex', 'review_cnt': '1', 'rating': '5.0', 'description': 'npm i -g @openai/codexor brew install --cask codex\n\nCodex CLI is a coding agent from OpenAI that runs locally on your computer.\n\nIf you want Codex in your code editor (VS Code, Cursor, Windsurf), install in your IDE\nIf you are looking for the cloud-based agent from OpenAI, Codex Web, go to chatgpt.com/codex\n\n\n \n \n\n---\n\n## Quickstart\n\n### Installing and running Codex CLI\n\nInstall globally with yo', 'subfield': 'CODING AGENT', 'field': 'AI AGENT', 'id': 'openai/codex', 'content_tag_list': 'GitHub 48.6k', 'thumbnail_picture': 'https://avatars.githubusercontent.com/u/14957082?v=4'}, {'content_name': 'fine dev', 'publisher_id': 'pub-fine-dev', 'detail_url': 'https://www.deepnlp.org/store/ai-agent/ai-agent/pub-fine-dev/fine-dev', 'website': 'https://www.fine.dev', 'github': '', 'review_cnt': '1', 'rating': '4.0', 'description': 'Full-Stack AI Developer Agent for Startups Accelerate your startup’s release schedule and ship daily improvements. Fine is the AI Coding Agent built to act like another team member, getting work done. Try free or watch it work.', 'subfield': 'AI AGENT', 'field': 'AI AGENT', 'id': 'fine-dev/fine-dev', 'content_tag_list': ',AI AGENT', 'thumbnail_picture': 'https://www.fine.dev/_next/static/media/logo.76f79362.svg'}, {'content_name': 'claude code', 'publisher_id': 'pub-claude-code', 'detail_url': 'https://www.deepnlp.org/store/ai-agent/coding-agent/pub-claude-code/claude-code', 'website': 'https://www.anthropic.com/claude-code', 'github': '', 'review_cnt': '1', 'rating': '5.0', 'description': 'Claude Code by Anthropic is an AI-powered coding assistant designed to enhance developer productivity by providing intelligent code generation, debugging, and optimization capabilities. It integrates seamlessly with various developer tools, making it easy to use within existing workflows. Introduction Claude Code is a powerful AI coding assistant developed by Anthropic, aimed at helping developers', 'subfield': 'Coding Agent', 'field': 'AI AGENT', 'id': 'claude-code/claude-code', 'content_tag_list': 'CODING AGENT,AI AGENT', 'thumbnail_picture': 'https://static.aiagenta2z.com/scripts/img/ai_service_content/7d6c735321396b42b5c2e46499e17a6e.png'}, {'content_name': 'qwen code', 'publisher_id': 'pub-qwen-code', 'detail_url': 'https://www.deepnlp.org/store/ai-agent/coding-agent/pub-qwen-code/qwen-code', 'website': '', 'github': '', 'review_cnt': '1', 'rating': '4.0', 'description': 'Qwen Coding Agent offers an advanced framework for developing applications utilizing large language models (LLMs), enhancing capabilities such as instruction following, tool usage, planning, and memory. Introduction Qwen Coding Agent provides a robust platform for building LLM applications, leveraging the advanced features of Qwen models (version 2.0 and above). It facilitates the development of i', 'subfield': 'Coding Agent', 'field': 'AI AGENT', 'id': 'qwen-code/qwen-code', 'content_tag_list': ',AI AGENT', 'thumbnail_picture': 'https://camo.githubusercontent.com/db544c14e8419ecf289564a79841e005c518fc29cd418ac4a31215e9377eaa22/68747470733a2f2f7169616e77656e2d7265732e6f73732d636e2d6265696a696e672e616c6979756e63732e636f6d2f5177656e322e352f5177656e322e352d436f6465722f7177656e322e352d636f6465722d6c6f676f'}, {'content_name': 'Qoder', 'publisher_id': 'pub-qoder', 'detail_url': 'https://www.deepnlp.org/store/ai-agent/coding-agent/pub-qoder/qoder', 'website': 'https://qoder.com/download', 'github': '', 'review_cnt': '1', 'rating': '5.0', 'description': '\r\n## Qoder\r\n\r\nQoder is an agentic coding platform designed for real software development. It seamlessly integrates enhanced context engineering with intelligent agents to gain a comprehensive understanding of your codebase and systematically tackles software development tasks.\r\nIt goes beyond simple code completion-Qoder helps you think deeper, code smarter, and build better by automating intricat', 'subfield': 'Coding Agent', 'field': 'AI AGENT', 'id': 'qoder/qoder', 'content_tag_list': 'coding,agent', 'thumbnail_picture': 'https://static.aiagenta2z.com/scripts/img/ai_service_content/6d7c68c43f520b76251fe2ac7c0061a8.jpg'}, {'content_name': 'CodeBuddy IDE Tencent', 'publisher_id': 'pub-tencent', 'detail_url': 'https://www.deepnlp.org/store/ai-agent/coding-agent/pub-tencent/codebuddy-ide-tencent', 'website': 'https://copilot.tencent.com/ide', 'github': '', 'review_cnt': '1', 'rating': '4.0', 'description': '\r\nCodeBuddy IDE Tencent AI 一站式工作台:从此用自然语言实现产品、设计、研发全流程\r\n\r\n\r\n\r\n## AI 智能代码补全\r\n所想即所码\r\nAI驱动的实时代码预测与智能补全,让编程如行云流水\r\n\r\n\r\n## AI 设计生成\r\n草图秒变原型\r\n手绘概念瞬间转化为高保真交互原型,创意无需等待\r\n\r\n## 设计稿转代码\r\n一稿生万码\r\nFigma设计 稿一键转换为生产级代码,还原度高达99.9%\r\n\r\n\r\n## AI 全栈开发\r\n你的AI编程搭档\r\n智能开发代理,自主完成多文件代码生成与重构\r\n\r\n\r\n## 内置后端服务\r\n后端开 发零门槛\r\n内置腾讯云 CloudBase 和 Supabase服务,数据库与用户认证一键搞定\r\n\r\n## 一键部署分享\r\n开发、部署、分享,一键搞定\r\n内置 Cloud Studio,EdgeOne Pages,从开发环境到在线演示,只需一秒钟', 'subfield': 'Coding Agent', 'field': 'AI AGENT', 'id': 'tencent/codebuddy-ide-tencent', 'content_tag_list': 'ide,coding agent', 'thumbnail_picture': 'https://static.aiagenta2z.com/scripts/img/ai_service_content/3ef7d0e02ecbf36eb9dbd25590c7c87e.jpg'}, {'content_name': 'zencoder ai', 'publisher_id': 'pub-zencoder-ai', 'detail_url': 'https://www.deepnlp.org/store/ai-agent/coding-agent/pub-zencoder-ai/zencoder-ai', 'website': 'https://zencoder.ai', 'github': '', 'review_cnt': '0', 'rating': '0.0', 'description': "Zencoder AI provides a range of AI agents designed to streamline and enhance various business processes through intelligent automation and advanced AI capabilities. Introduction Zencoder AI's AI agents are built to act as digital assistants, automating complex tasks and improving operational efficiency across multiple industries. These agents leverage cutting-edge AI technologies to handle tasks s", 'subfield': 'Coding Agent', 'field': 'AI AGENT', 'id': 'zencoder-ai/zencoder-ai', 'content_tag_list': ',AI AGENT', 'thumbnail_picture': 'https://zencoder.ai/favicon.ico'}, {'content_name': 'gpt-engineer', 'publisher_id': 'pub-antonosika', 'detail_url': 'https://www.deepnlp.org/store/ai-agent/ai-agent/pub-antonosika/gpt-engineer', 'website': 'https://github.com/AntonOsika/gpt-engineer', 'github': 'https://github.com/AntonOsika/gpt-engineer', 'review_cnt': '0', 'rating': '0.0', 'description': '# gpt-engineer\n\n](https://github.com/gpt-engineer-org/gpt-engineer)\n](https://discord.gg/8tcDQ89Ej2)\n](https://github.com/gpt-engineer-org/gpt-engineer/blob/main/LICENSE)\n](https://github.com/gpt-engineer-org/gpt-engineer/issues)\n\n](https://twitter.com/antonosika)\n\nThe OG code genereation experimentation platform!\n\nIf you are looking for the evolution that is an opinionated, managed service – chec', 'subfield': 'AI AGENT', 'field': 'AI AGENT', 'id': 'antonosika/gpt-engineer', 'content_tag_list': 'GitHub 55.0k,ai,autonomous-agent,code-generation,codebase-generation,codegen,coding-assistant,gpt-4,gpt-engineer,openai,python', 'thumbnail_picture': 'https://avatars.githubusercontent.com/u/4467025?v=4'}]
|
|
230
|
+
```
|
|
231
|
+
|
|
232
|
+
Search Result of Retrieving registered project id 'AI-Hub-Admin/My-First-AI-Coding-Agent'
|
|
233
|
+
|
|
234
|
+
```
|
|
235
|
+
Retrieving specific agent with unique ID: AI-Hub-Admin/My-First-AI-Coding-Agent
|
|
236
|
+
|
|
237
|
+
{'total_hits': 1, 'id': 'AI-Hub-Admin/My-First-AI-Coding-Agent', 'items': [{'content_name': 'My-First-AI-Coding-Agent', 'publisher_id': 'pub-ai-hub-admin', 'detail_url': 'https://www.deepnlp.org/store/ai-agent/ai-agent/pub-ai-hub-admin/my-first-ai-coding-agent', 'website': 'https://github.com/AI-Hub-Admin/My-First-AI-Coding-Agent', 'github': 'https://github.com/AI-Hub-Admin/My-First-AI-Coding-Agent', 'review_cnt': '0', 'rating': '0.0', 'description': '# My-First-AI-Coding-Agent\nAI Agent Registry Demo project\n\n', 'subfield': 'AI AGENT', 'field': 'AI AGENT', 'id': 'ai-hub-admin/my-first-ai-coding-agent', 'content_tag_list': 'GitHub 0', 'thumbnail_picture': 'https://avatars.githubusercontent.com/u/184629057?v=4'}]}
|
|
238
|
+
```
|
|
239
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
### Agtm Run CLI Documentation
|
|
2
|
+
|
|
3
|
+
Execution of Agent Cli with hints and auto completion.
|
|
4
|
+
|
|
5
|
+
The `run` command executes agent workflows with interactive hints and fuzzy CLI completion. Typing a few characters surfaces suggested commands so you can finish the full invocation quickly (for example, typing `play` will suggest the Playwright runner).
|
|
6
|
+
|
|
7
|
+
Let's say you want to run an agent command of Playwright to go to a URL and fetch a webpage. You don't need to remember the full command—type `play`, pick the provider, then pick the CLI action.
|
|
8
|
+
|
|
9
|
+
### Usage
|
|
10
|
+
|
|
11
|
+
```
|
|
12
|
+
agtm run <provider_unique_id> <agent_cli>
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
### Example
|
|
16
|
+
|
|
17
|
+
```shell
|
|
18
|
+
rockingdingo@rockingdingodeMacBook-Pro skills_cli % agtm run play
|
|
19
|
+
DEBUG: Entering Human Mode | idArg play | commandArgs | options [object Object] | hasHints true | hints [object Object]
|
|
20
|
+
|
|
21
|
+
Skill ID suggestions:
|
|
22
|
+
1. microsoft/playwright-cli
|
|
23
|
+
2. googleworkspace/cli
|
|
24
|
+
Skill ID suggestions: 1
|
|
25
|
+
Command hints:
|
|
26
|
+
1. playwright-cli goto <url> # navigate to a url
|
|
27
|
+
2. playwright-cli open [url] # open browser, optionally navigate to url
|
|
28
|
+
|
|
29
|
+
Select command (number or input custom): 1
|
|
30
|
+
Final command [playwright-cli goto <url>]: playwright-cli goto https://www.github.com
|
|
31
|
+
agtm run microsoft/playwright-cli playwright-cli goto https://www.github.com
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
Support CLI List, Please welcome to contrib
|
|
35
|
+
|
|
36
|
+
| unique_id | agent cli |
|
|
37
|
+
| --- | --- |
|
|
38
|
+
| microsoft/playwright-cli | playwright-cli open [url], playwright-cli goto <url>
|
|
39
|
+
| googleworkspace/cli | gws drive files list --params
|
|
40
|
+
| aiagenta2z/onekey-gateway | onekey agent <unique_id> <api_id> <data_json|@file>, onekey mcp <server_name> [--name config_name], onekey llm --provider <provider> --model <model> --messages <json|@file> [--temperature <num>] [--response-format <format>] [--options <json|@file>], onekey llm --payload <json|@file>
|
|
41
|
+
| openai/codex-cli | codex, codex exec "[instruction]"
|
|
42
|
+
| anthropic/claude-code | claude "[prompt]", claude --dangerously-skip-permissions
|
|
43
|
+
| paul-gauthier/aider | aider --model [model_name], /test [command]
|
|
44
|
+
| openinterpreter/open-interpreter | interpreter, interpreter --os
|
|
45
|
+
| google-gemini/gemini-cli | gemini, gemini -p "[prompt] @[file/dir]", gemini --yolo, /memory add "[fact]", /mcp list, /restore
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|