deepseek-coder-agent-cli 1.0.71 → 1.0.73

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.
@@ -1,480 +1,474 @@
1
1
  {
2
- "$schema": "./schemas/agent-schemas.schema.json",
3
- "contractVersion": "1.0.0",
4
- "version": "2024-11-24",
5
- "label": "AGI CLI Agent Configuration Schema",
6
- "description": "Centralized configuration for all agents, models, providers, and capabilities",
7
-
8
- "providers": [
9
- {
10
- "id": "anthropic",
11
- "label": "Anthropic",
12
- "description": "Claude models - industry-leading AI assistants",
13
- "envVars": {
14
- "apiKey": "ANTHROPIC_API_KEY"
15
- },
16
- "capabilities": ["chat", "reasoning", "tools", "streaming", "multimodal"]
17
- },
18
- {
19
- "id": "openai",
20
- "label": "OpenAI",
21
- "description": "GPT and o-series reasoning models",
22
- "envVars": {
23
- "apiKey": "OPENAI_API_KEY"
24
- },
25
- "capabilities": ["chat", "reasoning", "tools", "streaming", "multimodal"]
26
- },
27
- {
28
- "id": "google",
29
- "label": "Google",
30
- "description": "Gemini models - Google's multimodal AI",
31
- "envVars": {
32
- "apiKey": "GEMINI_API_KEY"
33
- },
34
- "capabilities": ["chat", "reasoning", "tools", "streaming", "multimodal"]
35
- },
36
- {
37
- "id": "deepseek",
38
- "label": "DeepSeek",
39
- "description": "DeepSeek reasoning and chat models",
40
- "envVars": {
41
- "apiKey": "DEEPSEEK_API_KEY"
42
- },
43
- "capabilities": ["chat", "reasoning", "tools", "streaming"]
44
- },
45
- {
46
- "id": "xai",
47
- "label": "xAI",
48
- "description": "xAI Grok models for coding and reasoning",
49
- "envVars": {
50
- "apiKey": "XAI_API_KEY"
51
- },
52
- "capabilities": ["chat", "reasoning", "tools", "streaming"]
53
- },
54
- {
55
- "id": "ollama",
56
- "label": "Ollama",
57
- "description": "Local LLMs via Ollama - Meta Llama, Qwen, Mistral, and more",
58
- "envVars": {
59
- "baseUrl": "OLLAMA_BASE_URL"
60
- },
61
- "capabilities": ["chat", "reasoning", "tools", "streaming"]
62
- },
63
- {
64
- "id": "qwen",
65
- "label": "Qwen (Alibaba)",
66
- "description": "Qwen models from Alibaba Cloud - excellent multilingual and coding",
67
- "envVars": {
68
- "apiKey": "DASHSCOPE_API_KEY"
69
- },
70
- "capabilities": ["chat", "reasoning", "tools", "streaming"]
2
+ "$schema": "./schemas/agent-schemas.schema.json",
3
+ "contractVersion": "1.0.0",
4
+ "version": "2024-11-24",
5
+ "label": "AGI CLI Agent Configuration Schema",
6
+ "description": "Centralized configuration for all agents, models, providers, and capabilities",
7
+ "providers": [
8
+ {
9
+ "id": "anthropic",
10
+ "label": "Anthropic",
11
+ "description": "Claude models - industry-leading AI assistants",
12
+ "envVars": {
13
+ "apiKey": "ANTHROPIC_API_KEY"
14
+ },
15
+ "capabilities": ["chat", "reasoning", "tools", "streaming", "multimodal"]
16
+ },
17
+ {
18
+ "id": "openai",
19
+ "label": "OpenAI",
20
+ "description": "GPT and o-series reasoning models",
21
+ "envVars": {
22
+ "apiKey": "OPENAI_API_KEY"
23
+ },
24
+ "capabilities": ["chat", "reasoning", "tools", "streaming", "multimodal"]
25
+ },
26
+ {
27
+ "id": "google",
28
+ "label": "Google",
29
+ "description": "Gemini models - Google's multimodal AI",
30
+ "envVars": {
31
+ "apiKey": "GEMINI_API_KEY"
32
+ },
33
+ "capabilities": ["chat", "reasoning", "tools", "streaming", "multimodal"]
34
+ },
35
+ {
36
+ "id": "deepseek",
37
+ "label": "DeepSeek",
38
+ "description": "DeepSeek reasoning and chat models",
39
+ "envVars": {
40
+ "apiKey": "DEEPSEEK_API_KEY"
41
+ },
42
+ "capabilities": ["chat", "reasoning", "tools", "streaming"]
43
+ },
44
+ {
45
+ "id": "xai",
46
+ "label": "xAI",
47
+ "description": "xAI Grok models for coding and reasoning",
48
+ "envVars": {
49
+ "apiKey": "XAI_API_KEY"
50
+ },
51
+ "capabilities": ["chat", "reasoning", "tools", "streaming"]
52
+ },
53
+ {
54
+ "id": "ollama",
55
+ "label": "Ollama",
56
+ "description": "Local LLMs via Ollama - Meta Llama, Qwen, Mistral, and more",
57
+ "envVars": {
58
+ "baseUrl": "OLLAMA_BASE_URL"
59
+ },
60
+ "capabilities": ["chat", "reasoning", "tools", "streaming"]
61
+ },
62
+ {
63
+ "id": "qwen",
64
+ "label": "Qwen (Alibaba)",
65
+ "description": "Qwen models from Alibaba Cloud - excellent multilingual and coding",
66
+ "envVars": {
67
+ "apiKey": "DASHSCOPE_API_KEY"
68
+ },
69
+ "capabilities": ["chat", "reasoning", "tools", "streaming"]
70
+ }
71
+ ],
72
+ "models": [
73
+ {
74
+ "id": "claude-opus-4-5-20251101",
75
+ "label": "Claude Opus 4.5",
76
+ "provider": "anthropic",
77
+ "description": "Heavy: Most powerful Claude - exceptional reasoning and creativity.",
78
+ "capabilities": ["chat", "reasoning", "tools", "streaming", "multimodal"]
79
+ },
80
+ {
81
+ "id": "claude-sonnet-4-5-20250514",
82
+ "label": "Claude Sonnet 4.5",
83
+ "provider": "anthropic",
84
+ "description": "Heavy: Latest Claude flagship - exceptional coding and reasoning.",
85
+ "capabilities": ["chat", "reasoning", "tools", "streaming", "multimodal"]
86
+ },
87
+ {
88
+ "id": "claude-haiku-4-5-20250514",
89
+ "label": "Claude Haiku 4.5",
90
+ "provider": "anthropic",
91
+ "description": "Small: Fastest Claude 4.5 - instant responses, great value.",
92
+ "capabilities": ["chat", "reasoning", "tools", "streaming"]
93
+ },
94
+ {
95
+ "id": "gpt-5.2-pro-2025-12-11",
96
+ "label": "GPT-5.2 Pro",
97
+ "provider": "openai",
98
+ "description": "Heavy: OpenAI's latest flagship - exceptional reasoning.",
99
+ "capabilities": ["chat", "reasoning", "tools", "streaming", "multimodal"]
100
+ },
101
+ {
102
+ "id": "gpt-5.2-codex",
103
+ "label": "GPT-5.2 Codex",
104
+ "provider": "openai",
105
+ "description": "Heavy: OpenAI's elite coding model - best-in-class.",
106
+ "capabilities": ["chat", "reasoning", "tools", "streaming", "multimodal"]
107
+ },
108
+ {
109
+ "id": "gpt-5.2-codex-mini",
110
+ "label": "GPT-5.2 Codex Mini",
111
+ "provider": "openai",
112
+ "description": "Small: Fast Codex - excellent coding at lower cost.",
113
+ "capabilities": ["chat", "reasoning", "tools", "streaming", "multimodal"]
114
+ },
115
+ {
116
+ "id": "gemini-3.0-pro",
117
+ "label": "Gemini 3.0 Pro",
118
+ "provider": "google",
119
+ "description": "Heavy: Google's latest flagship - most capable Gemini.",
120
+ "capabilities": ["chat", "reasoning", "tools", "streaming", "multimodal"]
121
+ },
122
+ {
123
+ "id": "gemini-2.5-flash",
124
+ "label": "Gemini 2.5 Flash",
125
+ "provider": "google",
126
+ "description": "Small: Ultra-fast Gemini - great balance of speed and capability.",
127
+ "capabilities": ["chat", "reasoning", "tools", "streaming", "multimodal"]
128
+ },
129
+ {
130
+ "id": "deepseek-reasoner",
131
+ "label": "DeepSeek Reasoner",
132
+ "provider": "deepseek",
133
+ "description": "Heavy: Deep reasoning with chain-of-thought - rivals top models.",
134
+ "capabilities": ["chat", "reasoning", "tools", "streaming"]
135
+ },
136
+ {
137
+ "id": "deepseek-chat",
138
+ "label": "DeepSeek Chat",
139
+ "provider": "deepseek",
140
+ "description": "Small: Fast general assistant - excellent value.",
141
+ "capabilities": ["chat", "tools", "streaming"]
142
+ },
143
+ {
144
+ "id": "grok-4-1-fast-reasoning",
145
+ "label": "Grok 4.1 Fast Reasoning",
146
+ "provider": "xai",
147
+ "description": "Heavy: xAI's latest - blazing fast with deep reasoning.",
148
+ "capabilities": ["chat", "reasoning", "tools", "streaming"]
149
+ },
150
+ {
151
+ "id": "grok-4",
152
+ "label": "Grok 4",
153
+ "provider": "xai",
154
+ "description": "Small: Fast Grok 4 - quick responses with strong capabilities.",
155
+ "capabilities": ["chat", "reasoning", "tools", "streaming"]
156
+ },
157
+ {
158
+ "id": "llama3.3:70b",
159
+ "label": "Llama 3.3 70B",
160
+ "provider": "ollama",
161
+ "description": "Heavy: Meta's flagship - rivals GPT-4, runs locally.",
162
+ "capabilities": ["chat", "reasoning", "tools", "streaming"]
163
+ },
164
+ {
165
+ "id": "llama3.2:3b",
166
+ "label": "Llama 3.2 3B",
167
+ "provider": "ollama",
168
+ "description": "Small: Tiny but capable - runs on any hardware.",
169
+ "capabilities": ["chat", "tools", "streaming"]
170
+ },
171
+ {
172
+ "id": "qwen-max",
173
+ "label": "Qwen Max",
174
+ "provider": "qwen",
175
+ "description": "Heavy: Alibaba's best - excellent coding and multilingual.",
176
+ "capabilities": ["chat", "reasoning", "tools", "streaming"]
177
+ },
178
+ {
179
+ "id": "qwen-turbo",
180
+ "label": "Qwen Turbo",
181
+ "provider": "qwen",
182
+ "description": "Small: Fast Qwen - impressive speed and capability.",
183
+ "capabilities": ["chat", "reasoning", "tools", "streaming"]
184
+ }
185
+ ],
186
+ "profiles": [
187
+ {
188
+ "name": "agi-code",
189
+ "label": "AGI Code",
190
+ "description": "Versatile AI assistant with advanced coding and general intelligence capabilities.",
191
+ "defaultProvider": "deepseek",
192
+ "defaultModel": "deepseek-reasoner",
193
+ "systemPrompt": {
194
+ "type": "rulebook",
195
+ "template": "You are an elite AI research assistant with advanced technical capabilities.\n\n## CRITICAL: Explore → Plan → Execute Workflow\nFor ANY non-trivial task, you MUST follow this workflow:\n\n### Phase 1: EXPLORE (Required First)\n1. Use Glob/Grep/Read tools to explore the codebase\n2. Understand existing architecture, patterns, and dependencies\n3. Identify key files that will be affected\n4. Call `MarkExplorationComplete` with your findings summary\n\n### Phase 2: PLAN (Required After Explore)\n1. Call `ProposePlan` with structured steps\n2. Each step MUST include suggestions (auto-generated if not provided)\n3. User can select suggestions OR provide custom instructions per step\n4. Wait for plan approval before proceeding\n\n### Phase 3: EXECUTE (Only After Plan Approved)\n1. Execute each step according to user's selected instructions\n2. Update plan status as steps complete\n3. Call `ExitPlanMode` when done\n\n## IMPORTANT: ProposePlan will REJECT if MarkExplorationComplete was not called first!\n\n## Intent Understanding Protocol\nBefore taking ANY action, you MUST:\n1. **Restate the user's intent** - Begin with: \"I understand you want me to [specific action]\"\n2. **Identify the scope** - Clarify what files/areas will be affected\n3. **Confirm ambiguities** - If unclear, ask ONE focused question before proceeding\n\n## Common Misinterpretation Traps - AVOID THESE:\n- \"Fix X\" → Don't refactor unrelated code, only fix the specific issue\n- \"Add X\" → Don't redesign existing systems, add the specific feature\n- \"Update X\" → Don't rebuild from scratch, make incremental changes\n- \"Improve X\" → Ask for specific improvement criteria if not given\n- Vague pronouns (\"it\", \"this\", \"that\") → Confirm what they refer to\n- \"All\"/\"everything\" → Confirm scope before broad changes\n\n## Guidelines\n- Be direct and technical - skip disclaimers\n- Provide complete, working code\n- Continue through errors autonomously\n- For critical decisions, use HITL system for user input\n- When in doubt about intent, ASK rather than assume\n\n{{rulebook}}"
196
+ },
197
+ "rulebook": {
198
+ "file": "agents/agi-code.rules.json",
199
+ "version": "2024-12-07",
200
+ "contractVersion": "1.0.0",
201
+ "description": "Versatile agent with coding and general capabilities."
202
+ },
203
+ "metadata": {
204
+ "primaryUseCase": "coding",
205
+ "secondaryUseCase": "general-assistant",
206
+ "tags": ["coding", "general", "versatile", "rapid-edits"]
207
+ }
208
+ }
209
+ ],
210
+ "slashCommands": [
211
+ {
212
+ "command": "/model",
213
+ "description": "Choose what model and reasoning effort to use",
214
+ "category": "configuration"
215
+ },
216
+ {
217
+ "command": "/approvals",
218
+ "description": "Choose what Codex can do without approval",
219
+ "category": "configuration"
220
+ },
221
+ {
222
+ "command": "/review",
223
+ "description": "Review current changes and find issues",
224
+ "category": "diagnostics"
225
+ },
226
+ {
227
+ "command": "/new",
228
+ "description": "Start a new chat without closing the session",
229
+ "category": "workspace"
230
+ },
231
+ {
232
+ "command": "/init",
233
+ "description": "Create AGENTS.md with instructions for Codex",
234
+ "category": "workspace"
235
+ },
236
+ {
237
+ "command": "/compact",
238
+ "description": "Summarize conversation to prevent hitting the context limit",
239
+ "category": "workspace"
240
+ },
241
+ {
242
+ "command": "/undo",
243
+ "description": "Undo the last turn (rewind/checkpoint helper)",
244
+ "category": "workspace"
245
+ },
246
+ {
247
+ "command": "/diff",
248
+ "description": "Show git diff (including untracked files)",
249
+ "category": "workspace"
250
+ },
251
+ {
252
+ "command": "/mention",
253
+ "description": "Mention a file or path (e.g., @src/app.ts)",
254
+ "category": "workspace"
255
+ },
256
+ {
257
+ "command": "/status",
258
+ "description": "Show current session configuration and token usage",
259
+ "category": "diagnostics"
260
+ },
261
+ {
262
+ "command": "/mcp",
263
+ "description": "List configured MCP tools",
264
+ "category": "configuration"
265
+ },
266
+ {
267
+ "command": "/logout",
268
+ "description": "Log out of Codex (clear stored credentials)",
269
+ "category": "configuration"
270
+ },
271
+ {
272
+ "command": "/quit",
273
+ "description": "Exit Codex",
274
+ "category": "other"
275
+ },
276
+ {
277
+ "command": "/exit",
278
+ "description": "Exit Codex",
279
+ "category": "other"
280
+ },
281
+ {
282
+ "command": "/help",
283
+ "description": "Show all available commands and keyboard shortcuts",
284
+ "category": "other"
285
+ },
286
+ {
287
+ "command": "/features",
288
+ "description": "Toggle optional features (AlphaZero dual, metrics, MCP, etc.)",
289
+ "category": "configuration"
290
+ },
291
+ {
292
+ "command": "/learn",
293
+ "description": "View and manage AlphaZero learned patterns and improvements",
294
+ "category": "other"
295
+ },
296
+ {
297
+ "command": "/improve",
298
+ "description": "Run AlphaZero self-improvement (analyze, apply, dry-run)",
299
+ "category": "other"
300
+ },
301
+ {
302
+ "command": "/evolve",
303
+ "description": "Self-evolution and optimization (analyze, start, stop, learn, fix, tokens, targets, optimize, guidelines, actions)",
304
+ "category": "other"
305
+ },
306
+ {
307
+ "command": "/test",
308
+ "description": "Intelligent test flows (generate, bugs, ui, edge) - edge case detection and bug finding",
309
+ "category": "other"
310
+ },
311
+ {
312
+ "command": "/refresh-models",
313
+ "description": "Auto-discover new models from configured providers",
314
+ "category": "configuration"
315
+ },
316
+ {
317
+ "command": "/secrets",
318
+ "description": "Configure API keys",
319
+ "category": "configuration"
320
+ },
321
+ {
322
+ "command": "/tools",
323
+ "description": "Enable or disable CLI tools and MCP servers",
324
+ "category": "configuration"
325
+ },
326
+ {
327
+ "command": "/thinking",
328
+ "description": "Toggle thinking mode (balanced or extended)",
329
+ "category": "configuration"
330
+ },
331
+ {
332
+ "command": "/skills",
333
+ "description": "List available SKILL.md packages and refresh the cache",
334
+ "category": "workspace"
335
+ },
336
+ {
337
+ "command": "/doctor",
338
+ "description": "Check environment, secrets, and tool readiness",
339
+ "category": "diagnostics"
340
+ },
341
+ {
342
+ "command": "/checks",
343
+ "description": "Run repo checks (npm test / npm run build / npm run lint)",
344
+ "category": "diagnostics"
345
+ },
346
+ {
347
+ "command": "/context",
348
+ "description": "Refresh workspace snapshot (depth/excerpt overrides)",
349
+ "category": "workspace"
350
+ },
351
+ {
352
+ "command": "/sessions",
353
+ "description": "Manage saved conversations, autosave, and session history",
354
+ "category": "workspace"
355
+ },
356
+ {
357
+ "command": "/provider",
358
+ "description": "Switch to a different AI provider (e.g., /provider xai)",
359
+ "category": "configuration"
360
+ },
361
+ {
362
+ "command": "/providers",
363
+ "description": "List all configured AI providers",
364
+ "category": "configuration"
365
+ },
366
+ {
367
+ "command": "/local",
368
+ "description": "Manage local/air-gapped LLM servers (Ollama, LM Studio, etc.)",
369
+ "category": "configuration"
370
+ },
371
+ {
372
+ "command": "/rewind",
373
+ "description": "Rewind to a previous checkpoint (restore code, conversation, or both)",
374
+ "category": "workspace"
375
+ },
376
+ {
377
+ "command": "/memory",
378
+ "description": "Edit EROSOLAR.md memory file (project context and preferences)",
379
+ "category": "configuration"
380
+ },
381
+ {
382
+ "command": "/vim",
383
+ "description": "Toggle vim-style editing mode in the input",
384
+ "category": "configuration"
385
+ },
386
+ {
387
+ "command": "/output-style",
388
+ "description": "Change response style (default, explanatory, learning, concise, custom)",
389
+ "category": "configuration"
390
+ },
391
+ {
392
+ "command": "/cost",
393
+ "description": "Show detailed token usage and API cost breakdown",
394
+ "category": "diagnostics"
395
+ },
396
+ {
397
+ "command": "/usage",
398
+ "description": "Show token and context usage statistics",
399
+ "category": "diagnostics"
400
+ },
401
+ {
402
+ "command": "/clear",
403
+ "description": "Clear conversation history and start fresh",
404
+ "category": "workspace"
405
+ },
406
+ {
407
+ "command": "/resume",
408
+ "description": "Resume a previous session by ID or pick from recent",
409
+ "category": "workspace"
410
+ },
411
+ {
412
+ "command": "/export",
413
+ "description": "Export conversation history to a file",
414
+ "category": "workspace"
415
+ },
416
+ {
417
+ "command": "/security-review",
418
+ "description": "Run a comprehensive security review",
419
+ "category": "diagnostics"
420
+ },
421
+ {
422
+ "command": "/bug",
423
+ "description": "Report an issue or bug",
424
+ "category": "other"
425
+ },
426
+ {
427
+ "command": "/terminal-setup",
428
+ "description": "Configure terminal keybindings (Shift+Enter for multi-line)",
429
+ "category": "configuration"
430
+ },
431
+ {
432
+ "command": "/permissions",
433
+ "description": "Configure tool permissions (allow/deny rules)",
434
+ "category": "configuration"
435
+ },
436
+ {
437
+ "command": "/update",
438
+ "description": "Check for updates and configure auto-update preference",
439
+ "category": "configuration"
440
+ }
441
+ ],
442
+ "capabilities": [
443
+ {
444
+ "id": "chat",
445
+ "label": "Chat",
446
+ "description": "Basic conversational capabilities"
447
+ },
448
+ {
449
+ "id": "reasoning",
450
+ "label": "Reasoning",
451
+ "description": "Extended chain-of-thought reasoning capabilities"
452
+ },
453
+ {
454
+ "id": "tools",
455
+ "label": "Tool Use",
456
+ "description": "Ability to call external tools and functions"
457
+ },
458
+ {
459
+ "id": "streaming",
460
+ "label": "Streaming",
461
+ "description": "Support for streaming responses"
462
+ },
463
+ {
464
+ "id": "multimodal",
465
+ "label": "Multimodal",
466
+ "description": "Support for images and other non-text inputs"
467
+ }
468
+ ],
469
+ "metadata": {
470
+ "schemaVersion": "1.0.0",
471
+ "lastUpdated": "2024-11-24",
472
+ "description": "This is the single source of truth for all agent configurations in the AGI CLI"
71
473
  }
72
- ],
73
-
74
- "models": [
75
- {
76
- "id": "claude-opus-4-5-20251101",
77
- "label": "Claude Opus 4.5",
78
- "provider": "anthropic",
79
- "description": "Heavy: Most powerful Claude - exceptional reasoning and creativity.",
80
- "capabilities": ["chat", "reasoning", "tools", "streaming", "multimodal"]
81
- },
82
- {
83
- "id": "claude-sonnet-4-5-20250514",
84
- "label": "Claude Sonnet 4.5",
85
- "provider": "anthropic",
86
- "description": "Heavy: Latest Claude flagship - exceptional coding and reasoning.",
87
- "capabilities": ["chat", "reasoning", "tools", "streaming", "multimodal"]
88
- },
89
- {
90
- "id": "claude-haiku-4-5-20250514",
91
- "label": "Claude Haiku 4.5",
92
- "provider": "anthropic",
93
- "description": "Small: Fastest Claude 4.5 - instant responses, great value.",
94
- "capabilities": ["chat", "reasoning", "tools", "streaming"]
95
- },
96
- {
97
- "id": "gpt-5.2-pro-2025-12-11",
98
- "label": "GPT-5.2 Pro",
99
- "provider": "openai",
100
- "description": "Heavy: OpenAI's latest flagship - exceptional reasoning.",
101
- "capabilities": ["chat", "reasoning", "tools", "streaming", "multimodal"]
102
- },
103
- {
104
- "id": "gpt-5.2-codex",
105
- "label": "GPT-5.2 Codex",
106
- "provider": "openai",
107
- "description": "Heavy: OpenAI's elite coding model - best-in-class.",
108
- "capabilities": ["chat", "reasoning", "tools", "streaming", "multimodal"]
109
- },
110
- {
111
- "id": "gpt-5.2-codex-mini",
112
- "label": "GPT-5.2 Codex Mini",
113
- "provider": "openai",
114
- "description": "Small: Fast Codex - excellent coding at lower cost.",
115
- "capabilities": ["chat", "reasoning", "tools", "streaming", "multimodal"]
116
- },
117
- {
118
- "id": "gemini-3.0-pro",
119
- "label": "Gemini 3.0 Pro",
120
- "provider": "google",
121
- "description": "Heavy: Google's latest flagship - most capable Gemini.",
122
- "capabilities": ["chat", "reasoning", "tools", "streaming", "multimodal"]
123
- },
124
- {
125
- "id": "gemini-2.5-flash",
126
- "label": "Gemini 2.5 Flash",
127
- "provider": "google",
128
- "description": "Small: Ultra-fast Gemini - great balance of speed and capability.",
129
- "capabilities": ["chat", "reasoning", "tools", "streaming", "multimodal"]
130
- },
131
- {
132
- "id": "deepseek-reasoner",
133
- "label": "DeepSeek Reasoner",
134
- "provider": "deepseek",
135
- "description": "Heavy: Deep reasoning with chain-of-thought - rivals top models.",
136
- "capabilities": ["chat", "reasoning", "tools", "streaming"]
137
- },
138
- {
139
- "id": "deepseek-chat",
140
- "label": "DeepSeek Chat",
141
- "provider": "deepseek",
142
- "description": "Small: Fast general assistant - excellent value.",
143
- "capabilities": ["chat", "tools", "streaming"]
144
- },
145
- {
146
- "id": "grok-4-1-fast-reasoning",
147
- "label": "Grok 4.1 Fast Reasoning",
148
- "provider": "xai",
149
- "description": "Heavy: xAI's latest - blazing fast with deep reasoning.",
150
- "capabilities": ["chat", "reasoning", "tools", "streaming"]
151
- },
152
- {
153
- "id": "grok-4",
154
- "label": "Grok 4",
155
- "provider": "xai",
156
- "description": "Small: Fast Grok 4 - quick responses with strong capabilities.",
157
- "capabilities": ["chat", "reasoning", "tools", "streaming"]
158
- },
159
- {
160
- "id": "llama3.3:70b",
161
- "label": "Llama 3.3 70B",
162
- "provider": "ollama",
163
- "description": "Heavy: Meta's flagship - rivals GPT-4, runs locally.",
164
- "capabilities": ["chat", "reasoning", "tools", "streaming"]
165
- },
166
- {
167
- "id": "llama3.2:3b",
168
- "label": "Llama 3.2 3B",
169
- "provider": "ollama",
170
- "description": "Small: Tiny but capable - runs on any hardware.",
171
- "capabilities": ["chat", "tools", "streaming"]
172
- },
173
- {
174
- "id": "qwen-max",
175
- "label": "Qwen Max",
176
- "provider": "qwen",
177
- "description": "Heavy: Alibaba's best - excellent coding and multilingual.",
178
- "capabilities": ["chat", "reasoning", "tools", "streaming"]
179
- },
180
- {
181
- "id": "qwen-turbo",
182
- "label": "Qwen Turbo",
183
- "provider": "qwen",
184
- "description": "Small: Fast Qwen - impressive speed and capability.",
185
- "capabilities": ["chat", "reasoning", "tools", "streaming"]
186
- }
187
- ],
188
-
189
- "profiles": [
190
- {
191
- "name": "agi-code",
192
- "label": "AGI Code",
193
- "description": "Versatile AI assistant with advanced coding and general intelligence capabilities.",
194
- "defaultProvider": "deepseek",
195
- "defaultModel": "deepseek-reasoner",
196
- "systemPrompt": {
197
- "type": "rulebook",
198
- "template": "You are an elite AI research assistant with advanced technical capabilities.\n\n## CRITICAL: Explore → Plan → Execute Workflow\nFor ANY non-trivial task, you MUST follow this workflow:\n\n### Phase 1: EXPLORE (Required First)\n1. Use Glob/Grep/Read tools to explore the codebase\n2. Understand existing architecture, patterns, and dependencies\n3. Identify key files that will be affected\n4. Call `MarkExplorationComplete` with your findings summary\n\n### Phase 2: PLAN (Required After Explore)\n1. Call `ProposePlan` with structured steps\n2. Each step MUST include suggestions (auto-generated if not provided)\n3. User can select suggestions OR provide custom instructions per step\n4. Wait for plan approval before proceeding\n\n### Phase 3: EXECUTE (Only After Plan Approved)\n1. Execute each step according to user's selected instructions\n2. Update plan status as steps complete\n3. Call `ExitPlanMode` when done\n\n## IMPORTANT: ProposePlan will REJECT if MarkExplorationComplete was not called first!\n\n## Intent Understanding Protocol\nBefore taking ANY action, you MUST:\n1. **Restate the user's intent** - Begin with: \"I understand you want me to [specific action]\"\n2. **Identify the scope** - Clarify what files/areas will be affected\n3. **Confirm ambiguities** - If unclear, ask ONE focused question before proceeding\n\n## Common Misinterpretation Traps - AVOID THESE:\n- \"Fix X\" → Don't refactor unrelated code, only fix the specific issue\n- \"Add X\" → Don't redesign existing systems, add the specific feature\n- \"Update X\" → Don't rebuild from scratch, make incremental changes\n- \"Improve X\" → Ask for specific improvement criteria if not given\n- Vague pronouns (\"it\", \"this\", \"that\") → Confirm what they refer to\n- \"All\"/\"everything\" → Confirm scope before broad changes\n\n## Guidelines\n- Be direct and technical - skip disclaimers\n- Provide complete, working code\n- Continue through errors autonomously\n- For critical decisions, use HITL system for user input\n- When in doubt about intent, ASK rather than assume\n\n{{rulebook}}"
199
- },
200
- "rulebook": {
201
- "file": "agents/agi-code.rules.json",
202
- "version": "2024-12-07",
203
- "contractVersion": "1.0.0",
204
- "description": "Versatile agent with coding and general capabilities."
205
- },
206
- "metadata": {
207
- "primaryUseCase": "coding",
208
- "secondaryUseCase": "general-assistant",
209
- "tags": ["coding", "general", "versatile", "rapid-edits"]
210
- }
211
- }
212
- ],
213
-
214
- "slashCommands": [
215
- {
216
- "command": "/model",
217
- "description": "Choose what model and reasoning effort to use",
218
- "category": "configuration"
219
- },
220
- {
221
- "command": "/approvals",
222
- "description": "Choose what Codex can do without approval",
223
- "category": "configuration"
224
- },
225
- {
226
- "command": "/review",
227
- "description": "Review current changes and find issues",
228
- "category": "diagnostics"
229
- },
230
- {
231
- "command": "/new",
232
- "description": "Start a new chat without closing the session",
233
- "category": "workspace"
234
- },
235
- {
236
- "command": "/init",
237
- "description": "Create AGENTS.md with instructions for Codex",
238
- "category": "workspace"
239
- },
240
- {
241
- "command": "/compact",
242
- "description": "Summarize conversation to prevent hitting the context limit",
243
- "category": "workspace"
244
- },
245
- {
246
- "command": "/undo",
247
- "description": "Undo the last turn (rewind/checkpoint helper)",
248
- "category": "workspace"
249
- },
250
- {
251
- "command": "/diff",
252
- "description": "Show git diff (including untracked files)",
253
- "category": "workspace"
254
- },
255
- {
256
- "command": "/mention",
257
- "description": "Mention a file or path (e.g., @src/app.ts)",
258
- "category": "workspace"
259
- },
260
- {
261
- "command": "/status",
262
- "description": "Show current session configuration and token usage",
263
- "category": "diagnostics"
264
- },
265
- {
266
- "command": "/mcp",
267
- "description": "List configured MCP tools",
268
- "category": "configuration"
269
- },
270
- {
271
- "command": "/logout",
272
- "description": "Log out of Codex (clear stored credentials)",
273
- "category": "configuration"
274
- },
275
- {
276
- "command": "/quit",
277
- "description": "Exit Codex",
278
- "category": "other"
279
- },
280
- {
281
- "command": "/exit",
282
- "description": "Exit Codex",
283
- "category": "other"
284
- },
285
- {
286
- "command": "/help",
287
- "description": "Show all available commands and keyboard shortcuts",
288
- "category": "other"
289
- },
290
- {
291
- "command": "/features",
292
- "description": "Toggle optional features (AlphaZero dual, metrics, MCP, etc.)",
293
- "category": "configuration"
294
- },
295
- {
296
- "command": "/learn",
297
- "description": "View and manage AlphaZero learned patterns and improvements",
298
- "category": "other"
299
- },
300
- {
301
- "command": "/improve",
302
- "description": "Run AlphaZero self-improvement (analyze, apply, dry-run)",
303
- "category": "other"
304
- },
305
- {
306
- "command": "/evolve",
307
- "description": "Self-evolution and optimization (analyze, start, stop, learn, fix, tokens, targets, optimize, guidelines, actions)",
308
- "category": "other"
309
- },
310
- {
311
- "command": "/test",
312
- "description": "Intelligent test flows (generate, bugs, ui, edge) - edge case detection and bug finding",
313
- "category": "other"
314
- },
315
- {
316
- "command": "/refresh-models",
317
- "description": "Auto-discover new models from configured providers",
318
- "category": "configuration"
319
- },
320
- {
321
- "command": "/secrets",
322
- "description": "Configure API keys",
323
- "category": "configuration"
324
- },
325
- {
326
- "command": "/tools",
327
- "description": "Enable or disable CLI tools and MCP servers",
328
- "category": "configuration"
329
- },
330
- {
331
- "command": "/thinking",
332
- "description": "Toggle thinking mode (balanced or extended)",
333
- "category": "configuration"
334
- },
335
- {
336
- "command": "/skills",
337
- "description": "List available SKILL.md packages and refresh the cache",
338
- "category": "workspace"
339
- },
340
- {
341
- "command": "/doctor",
342
- "description": "Check environment, secrets, and tool readiness",
343
- "category": "diagnostics"
344
- },
345
- {
346
- "command": "/checks",
347
- "description": "Run repo checks (npm test / npm run build / npm run lint)",
348
- "category": "diagnostics"
349
- },
350
- {
351
- "command": "/context",
352
- "description": "Refresh workspace snapshot (depth/excerpt overrides)",
353
- "category": "workspace"
354
- },
355
- {
356
- "command": "/sessions",
357
- "description": "Manage saved conversations, autosave, and session history",
358
- "category": "workspace"
359
- },
360
- {
361
- "command": "/provider",
362
- "description": "Switch to a different AI provider (e.g., /provider xai)",
363
- "category": "configuration"
364
- },
365
- {
366
- "command": "/providers",
367
- "description": "List all configured AI providers",
368
- "category": "configuration"
369
- },
370
- {
371
- "command": "/local",
372
- "description": "Manage local/air-gapped LLM servers (Ollama, LM Studio, etc.)",
373
- "category": "configuration"
374
- },
375
- {
376
- "command": "/rewind",
377
- "description": "Rewind to a previous checkpoint (restore code, conversation, or both)",
378
- "category": "workspace"
379
- },
380
- {
381
- "command": "/memory",
382
- "description": "Edit EROSOLAR.md memory file (project context and preferences)",
383
- "category": "configuration"
384
- },
385
- {
386
- "command": "/vim",
387
- "description": "Toggle vim-style editing mode in the input",
388
- "category": "configuration"
389
- },
390
- {
391
- "command": "/output-style",
392
- "description": "Change response style (default, explanatory, learning, concise, custom)",
393
- "category": "configuration"
394
- },
395
- {
396
- "command": "/cost",
397
- "description": "Show detailed token usage and API cost breakdown",
398
- "category": "diagnostics"
399
- },
400
- {
401
- "command": "/usage",
402
- "description": "Show token and context usage statistics",
403
- "category": "diagnostics"
404
- },
405
- {
406
- "command": "/clear",
407
- "description": "Clear conversation history and start fresh",
408
- "category": "workspace"
409
- },
410
- {
411
- "command": "/resume",
412
- "description": "Resume a previous session by ID or pick from recent",
413
- "category": "workspace"
414
- },
415
- {
416
- "command": "/export",
417
- "description": "Export conversation history to a file",
418
- "category": "workspace"
419
- },
420
- {
421
- "command": "/security-review",
422
- "description": "Run a comprehensive security review",
423
- "category": "diagnostics"
424
- },
425
- {
426
- "command": "/bug",
427
- "description": "Report an issue or bug",
428
- "category": "other"
429
- },
430
- {
431
- "command": "/terminal-setup",
432
- "description": "Configure terminal keybindings (Shift+Enter for multi-line)",
433
- "category": "configuration"
434
- },
435
- {
436
- "command": "/permissions",
437
- "description": "Configure tool permissions (allow/deny rules)",
438
- "category": "configuration"
439
- },
440
- {
441
- "command": "/update",
442
- "description": "Check for updates and configure auto-update preference",
443
- "category": "configuration"
444
- }
445
- ],
446
-
447
- "capabilities": [
448
- {
449
- "id": "chat",
450
- "label": "Chat",
451
- "description": "Basic conversational capabilities"
452
- },
453
- {
454
- "id": "reasoning",
455
- "label": "Reasoning",
456
- "description": "Extended chain-of-thought reasoning capabilities"
457
- },
458
- {
459
- "id": "tools",
460
- "label": "Tool Use",
461
- "description": "Ability to call external tools and functions"
462
- },
463
- {
464
- "id": "streaming",
465
- "label": "Streaming",
466
- "description": "Support for streaming responses"
467
- },
468
- {
469
- "id": "multimodal",
470
- "label": "Multimodal",
471
- "description": "Support for images and other non-text inputs"
472
- }
473
- ],
474
-
475
- "metadata": {
476
- "schemaVersion": "1.0.0",
477
- "lastUpdated": "2024-11-24",
478
- "description": "This is the single source of truth for all agent configurations in the AGI CLI"
479
- }
480
474
  }