@agent-smith/feat-agents 0.0.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.
Files changed (39) hide show
  1. package/README.md +267 -0
  2. package/dist/agents/agent-smith-assistant.yml +31 -0
  3. package/dist/agents/agent-smith-code.yml +33 -0
  4. package/dist/agents/agent-smith-colab.yml +38 -0
  5. package/dist/agents/agent-smith-doc-colab.yml +55 -0
  6. package/dist/agents/agent-smith-doc.yml +52 -0
  7. package/dist/agents/agent-smith-help-assistant.yml +46 -0
  8. package/dist/agents/agent-smith-help-light.yml +44 -0
  9. package/dist/agents/agent-smith-help.yml +43 -0
  10. package/dist/agents/agent-smith-light.yml +19 -0
  11. package/dist/agents/agent-smith-project.yml +43 -0
  12. package/dist/agents/agent-smith-search.yml +40 -0
  13. package/dist/agents/agent-smith-sql.yml +31 -0
  14. package/dist/agents/agent-smith-state.yml +40 -0
  15. package/dist/agents/agent-smith.yml +42 -0
  16. package/dist/agents/collaborator.yml +16 -0
  17. package/dist/agents/infer.yml +12 -0
  18. package/dist/fragments/ctx-helper-files.md +6 -0
  19. package/dist/fragments/workspace.md +6 -0
  20. package/dist/skills/create-project-docs/SKILL.md +124 -0
  21. package/dist/skills/create-readme/SKILL.md +103 -0
  22. package/dist/skills/create-task/SKILL.md +55 -0
  23. package/dist/skills/create-task-solo/SKILL.md +146 -0
  24. package/dist/skills/create-task-team/SKILL.md +119 -0
  25. package/dist/skills/document-package/SKILL.md +83 -0
  26. package/dist/skills/execute-task-phase/SKILL.md +25 -0
  27. package/dist/skills/execute-task-solo/SKILL.md +64 -0
  28. package/dist/skills/execute-task-team/SKILL.md +49 -0
  29. package/dist/skills/task-mode/SKILL.md +99 -0
  30. package/dist/skills/update-codebase-summary/SKILL.md +44 -0
  31. package/dist/skills/update-doc-map/SKILL.md +8 -0
  32. package/dist/skills/update-doc-map/scripts/generate-doc-map.mjs +197 -0
  33. package/dist/skills/update-project-nav/SKILL.md +97 -0
  34. package/dist/skills/use-tasks/SKILL.md +103 -0
  35. package/dist/workflows/agent-smith-config-info.yml +9 -0
  36. package/dist/workflows/agent-smith-db.yml +9 -0
  37. package/dist/workflows/q.yml +3 -0
  38. package/dist/workflows/vision.yml +3 -0
  39. package/package.json +15 -0
package/README.md ADDED
@@ -0,0 +1,267 @@
1
+ # @agent-smith/feat-agents
2
+
3
+ [![npm](https://img.shields.io/npm/v/@agent-smith/feat-agents)](https://www.npmjs.com/package/@agent-smith/feat-agents)
4
+
5
+ **Multi-agent coordination system for the Agent Smith toolkit** — 16 specialized AI agents, 4 workflows, and 15+ reusable skills for task management and project automation.
6
+
7
+ This package is part of the [Agent Smith](https://github.com/lynxai-team/agent-smith) project, a TypeScript toolkit for running and managing AI agents.
8
+
9
+ ---
10
+
11
+ ## 📖 Documentation
12
+
13
+ ### For AI Agents
14
+ - [Codebase Summary](../.agents/documentation/codebase-summary.md) — Architecture, agent definitions, skills, and patterns for the agents plugin
15
+ - [Project Navigation](../../.agents/documentation/project-nav.md) — Map of all Agent Smith repositories and plugins
16
+
17
+ ### For Humans
18
+ - [Plugin Overview](https://lynxai-team.github.io/agent-smith/plugins/) — Complete plugin documentation
19
+ - [GitHub Repository](https://github.com/lynxai-team/agent-smith-plugins) — Source code and contributions
20
+
21
+ ---
22
+
23
+ ## ✨ Features
24
+
25
+ | Feature | Description |
26
+ |---------|-------------|
27
+ | 🤖 **Coordinator Agent** | Central `agent-smith` agent that decomposes tasks, plans workflows, and delegates to specialized agents via tool calls |
28
+ | 🔍 **Specialized Agents** | 16 pre-configured agents for search, code, documentation, SQL queries, assistance, and help scenarios |
29
+ | ⚡ **Workflow Orchestration** | 4 YAML-defined workflows for config info, database queries, Q&A sessions, and vision tasks |
30
+ | 📋 **Task Management Skills** | 15+ reusable skills for task creation, execution (solo/team), documentation updates, and project management |
31
+ | 🧩 **Context Fragments** | Workspace context helpers that provide agents with project structure awareness |
32
+ | 🔗 **Agent Delegation** | Coordinator can call specialized agents sequentially using the `run-agent` tool |
33
+ | 🎯 **Model Flexibility** | Supports all compatible LLM models with configurable inference parameters |
34
+
35
+ ---
36
+
37
+ ## 📦 Installation
38
+
39
+ ```bash
40
+ # Install via npm (as part of agent-smith-plugins)
41
+ npm i -g @agent-smith/feat-agents
42
+ ```
43
+
44
+ ### Configuration
45
+
46
+ Add the plugin to your `config.yml`:
47
+
48
+ ```yaml
49
+ plugins:
50
+ - "@agent-smith/feat-agents"
51
+ ```
52
+
53
+ Then update your client configuration:
54
+
55
+ ```bash
56
+ lm conf ~/.agent-smith/features/config.yml
57
+ ```
58
+
59
+ ---
60
+
61
+ ## 🚀 Quick Start
62
+
63
+ Launch the main coordinator agent:
64
+
65
+ ```bash
66
+ lm run-agent agent-smith "Create documentation for my project"
67
+ ```
68
+
69
+ The coordinator will automatically decompose your request and delegate to specialized agents as needed.
70
+
71
+ ---
72
+
73
+ ## 📋 Agents Reference
74
+
75
+ ### Core Agents
76
+
77
+ | Agent | Description |
78
+ |-------|-------------|
79
+ | `agent-smith` | **Main coordinator** — Orchestrates team of agents, decomposes tasks, delegates work |
80
+ | `agent-smith-assistant` | Default assistant agent — Fork of coordinator for general task execution |
81
+ | `agent-smith-light` | Lightweight agent for simpler tasks with reduced context |
82
+ | `infer` | Raw inference agent for direct LLM queries without orchestration |
83
+
84
+ ### Specialized Agents
85
+
86
+ | Agent | Description |
87
+ |-------|-------------|
88
+ | `agent-smith-search` | Web search and webpage reading agent — uses ddsearch, read-webpage tools |
89
+ | `agent-smith-code` | Code management agent for programming tasks |
90
+ | `agent-smith-doc` | Documentation management agent for project docs |
91
+ | `agent-smith-sql` | Database query agent — generates SQL from natural language questions |
92
+ | `agent-smith-help` | Help agent with full capabilities |
93
+ | `agent-smith-help-light` | Lightweight help agent |
94
+ | `agent-smith-help-assistant` | Delegated work assistant for help scenarios |
95
+ | `agent-smith-state` | Project state management — checks context and documentation completeness |
96
+ | `agent-smith-project` | Project management agent |
97
+ | `agent-smith-colab` | Collaborative agent (experimental) |
98
+ | `agent-smith-doc-colab` | Documentation collaboration agent |
99
+ | `collaborator` | Worker collaborator agent for role-based tasks |
100
+
101
+ ---
102
+
103
+ ## 🔄 Workflows
104
+
105
+ The plugin includes 4 workflow definitions for multi-step operations:
106
+
107
+ | Workflow | Purpose |
108
+ |----------|---------|
109
+ | `agent-smith-config-info.yml` | Configuration information retrieval workflows |
110
+ | `agent-smith-db.yml` | Database query orchestration with SQL agent |
111
+ | `q.yml` | Q&A workflow — adapts pre-query then runs inference agent |
112
+ | `vision.yml` | Vision tasks workflow for image/video analysis |
113
+
114
+ Workflows are YAML-defined pipelines that chain actions with AI agents, enabling complex multi-step operations.
115
+
116
+ ---
117
+
118
+ ## 🛠️ Skills Reference
119
+
120
+ The plugin provides 15+ reusable skills for AI coding agents:
121
+
122
+ ### Task Creation
123
+ | Skill | Description |
124
+ |-------|-------------|
125
+ | `create-task` | Entry point — analyzes request, chooses execution mode, creates task |
126
+ | `create-task-solo` | Single-agent task creation |
127
+ | `create-task-team` | Multi-agent team task creation |
128
+ | `use-tasks` | Task usage and management skill |
129
+
130
+ ### Task Execution
131
+ | Skill | Description |
132
+ |-------|-------------|
133
+ | `execute-task` | Task execution (uses phase-specific skills) |
134
+ | `execute-task-solo` | Single-agent task execution |
135
+ | `execute-task-team` | Multi-agent team task execution |
136
+ | `execute-task-phase` | Phase-specific execution logic |
137
+ | `task-mode` | Decision skill — evaluates task complexity to choose solo vs team mode |
138
+
139
+ ### Documentation
140
+ | Skill | Description |
141
+ |-------|-------------|
142
+ | `create-readme` | Create comprehensive README files for packages/plugins/repositories |
143
+ | `document-package` | Create or update package documentation in the docsite |
144
+ | `create-project-docs` | Generate project documentation structure |
145
+ | `update-codebase-summary` | Create or update codebase summary documentation |
146
+ | `update-project-nav` | Update the project navigation map |
147
+ | `update-doc-map` | Update the documentation map |
148
+
149
+ ---
150
+
151
+ ## 📁 Structure
152
+
153
+ ```
154
+ agents/
155
+ ├── package.json # Plugin metadata (@agent-smith/feat-agents)
156
+ └── dist/
157
+ ├── agents/ # 16 agent YAML definitions
158
+ │ ├── agent-smith.yml # Main coordinator agent
159
+ │ ├── agent-smith-assistant.yml
160
+ │ ├── agent-smith-search.yml
161
+ │ ├── agent-smith-sql.yml
162
+ │ └── ...
163
+ ├── workflows/ # 4 workflow definitions
164
+ │ ├── agent-smith-config-info.yml
165
+ │ ├── agent-smith-db.yml
166
+ │ ├── q.yml
167
+ │ └── vision.yml
168
+ ├── skills/ # 15+ skill modules
169
+ │ ├── create-readme/SKILL.md
170
+ │ ├── create-task/SKILL.md
171
+ │ ├── document-package/SKILL.md
172
+ │ └── ...
173
+ └── fragments/ # Context helper files
174
+ ├── workspace.md # Workspace context info
175
+ └── ctx-helper-files.md # Context file references
176
+ ```
177
+
178
+ ---
179
+
180
+ ## 🔧 Architecture
181
+
182
+ ### Agent Coordination Pattern
183
+ The `agent-smith` coordinator agent follows a specific workflow:
184
+ 1. **Analyze** the user request
185
+ 2. **Decompose** into subtasks if necessary
186
+ 3. **Plan** the work sequence
187
+ 4. **Delegate** to specialized agents via `run-agent` tool (one at a time)
188
+ 5. **Synthesize** results from agent responses
189
+
190
+ ### Available Tools
191
+ Agents have access to these tools:
192
+ - `readfile` — Read file contents
193
+ - `edit-search-replace` — Search and replace in files
194
+ - `shell` — Execute shell commands
195
+ - `python` — Execute Python code
196
+ - `run-agent` — Call other agents for delegated work
197
+ - `load-skill` — Load skill modules for specific tasks
198
+ - `notify-user` — Send notifications to the user
199
+ - `ddsearch` — Web search (via DuckDuckGo)
200
+ - `read-webpage` — Read and extract webpage content
201
+
202
+ ### Context Fragments
203
+ Agents can include project context using file references:
204
+ ```yaml
205
+ template:
206
+ system: |-
207
+ {file:../fragments/workspace.md}
208
+ {file:../fragments/ctx-helper-files.md}
209
+ ```
210
+
211
+ ---
212
+
213
+ ## ⚙️ Configuration
214
+
215
+ ### Model Parameters
216
+ Agents support configurable inference parameters:
217
+
218
+ ```yaml
219
+ inferParams:
220
+ min_p: 0
221
+ top_k: 20
222
+ top_p: 0.85
223
+ temperature: 0.6
224
+ repetition_penalty: 1
225
+ presence_penalty: 1.5
226
+ chat_template_kwargs:
227
+ enable_thinking: true
228
+ preserve_thinking: true
229
+ ```
230
+
231
+ ### Variables
232
+ Agents can require runtime variables:
233
+
234
+ ```yaml
235
+ variables:
236
+ required:
237
+ workspace:
238
+ description: The local directory path where to operate
239
+ ```
240
+
241
+ ---
242
+
243
+ ## 🔗 Related Packages
244
+
245
+ | Package | Description |
246
+ |---------|-------------|
247
+ | [`@agent-smith/core`](https://github.com/lynxai-team/agent-smith) | Core framework — workflow engine, agent runtime, tool integration |
248
+ | [`@agent-smith/cli`](https://github.com/lynxai-team/agent-smith) | Terminal client that consumes plugins |
249
+ | [`@agent-smith/feat-git`](https://www.npmjs.com/package/@agent-smith/feat-git) | Git operations with AI-powered commit messages |
250
+ | [`@agent-smith/feat-sqlite`](https://www.npmjs.com/package/@agent-smith/feat-sqlite) | SQLite database operations |
251
+ | [`@agent-smith/feat-search`](https://www.npmjs.com/package/@agent-smith/feat-search) | Web search and crawling tools (used by search agent) |
252
+
253
+ ---
254
+
255
+ ## 📝 Important Notes
256
+
257
+ - **No external dependencies** — Agents, workflows, and skills are loaded by the core framework
258
+ - **YAML-based configuration** — All agent definitions use YAML for easy customization
259
+ - **Sequential delegation** — The coordinator calls one agent at a time for task completion
260
+ - **Model flexibility** — Supports all compatible LLM models with configurable inference parameters
261
+ - **Workspace context** — Agents operate within a specified workspace directory
262
+
263
+ ---
264
+
265
+ ## 📄 License
266
+
267
+ MIT
@@ -0,0 +1,31 @@
1
+ description: An agent to manage Agent Smith's documentation
2
+ category: subagent
3
+ prompt: |-
4
+ {prompt}
5
+ template:
6
+ system: |-
7
+ You are Agent Smith assistant, an AI agent. You can run other agents to do jobs using the `run-agent` tool with the agent `agent-smith-assistant`, a fork of yourself.
8
+
9
+ {file:../fragments/workspace.txt}
10
+ {file:../fragments/ctx-helper-files.md}
11
+ model: qwen35b
12
+ inferParams:
13
+ min_p: 0
14
+ top_k: 20
15
+ top_p: 0.85
16
+ temperature: 0.6
17
+ repetition_penalty: 1
18
+ presence_penalty: 1.5
19
+ chat_template_kwargs:
20
+ enable_thinking: true
21
+ preserve_thinking: true
22
+ variables:
23
+ required:
24
+ workspace:
25
+ description: The local directory path where to operate
26
+ toolsList:
27
+ - shell
28
+ - python
29
+ - load-skill
30
+ - read-webpage
31
+ - run-agent
@@ -0,0 +1,33 @@
1
+ description: An agent to manage Agent Smith's documentation
2
+ category: internal/code
3
+ prompt: |-
4
+ {prompt}
5
+ template:
6
+ system: |-
7
+ You are Agent Smith, the AI agent for the Agent Smith project, a toolkit to run AI agents. You lead a team of specialized agents. Your job is to organise the workflow and delegate tasks to specialized agents to orchestrate the work.
8
+
9
+ {file:../fragments/workspace.md}
10
+ {file:../fragments/ctx-helper-files.md}
11
+ - `agent-smith/.agents/documentation/documentation-map.md`: read this to find documentation
12
+ model: qwen35b
13
+ inferParams:
14
+ min_p: 0
15
+ top_k: 20
16
+ top_p: 0.85
17
+ temperature: 0.6
18
+ repetition_penalty: 1
19
+ presence_penalty: 1.5
20
+ chat_template_kwargs:
21
+ enable_thinking: true
22
+ preserve_thinking: true
23
+ variables:
24
+ required:
25
+ workspace:
26
+ description: The local directory path where to operate
27
+ toolsList:
28
+ - readfile
29
+ - writetofile
30
+ - edit-search-replace
31
+ - shell
32
+ - python
33
+ - agent-smith-doc
@@ -0,0 +1,38 @@
1
+ description: An agent to manage Agent Smith's documentation
2
+ category: internal/experimental
3
+ prompt: |-
4
+ {prompt}
5
+ template:
6
+ system: |-
7
+ You are Agent Smith, the AI agent for the Agent Smith project, a toolkit to run AI agents. You can run in main agent mode or collaborator mode. Your job is to organise the workflow when in main agent mode and delegate taks to specialized collaborators to orchestrate the work.
8
+
9
+ A collaborator is like a fork of yourself that can work independently and have access to your memory and context history, just like you. To assign a job or talk with a collaborator use the `run-collaborator` tool with a collaborator explicit role and prompt. Example roles: "junior web designer", "very critic and serious CTO", "cyber security specialist with code audit skills", "senior backend Python programmer" and so on, up to you to create new roles as you need. You can only run collaborators when you are in main agent mode. Run them one at the time.
10
+
11
+ {file:../fragments/workspace.md}
12
+
13
+ {file:../fragments/ctx-helper-files.md}
14
+ - `agent-smith/.agents/documentation/documentation-map.md`: an entrypoint to navigate in the documentation
15
+
16
+ Evaluate the request. Execute it if you are in collaborator mode, or and organise the work of collaborators if you are in main agent mode.
17
+ model: qwen35b
18
+ inferParams:
19
+ min_p: 0
20
+ top_k: 20
21
+ top_p: 0.85
22
+ temperature: 0.6
23
+ repetition_penalty: 1
24
+ presence_penalty: 1.5
25
+ chat_template_kwargs:
26
+ enable_thinking: true
27
+ preserve_thinking: true
28
+ variables:
29
+ required:
30
+ workspace:
31
+ description: The local directory path where to operate
32
+ toolsList:
33
+ - readfile
34
+ - writetofile
35
+ - edit-search-replace
36
+ - shell
37
+ - python
38
+ - run-collaborator
@@ -0,0 +1,55 @@
1
+ tool:
2
+ name: agent-smith-doc-colab
3
+ description: An agent to manage Agent Smith project's documentation
4
+ arguments:
5
+ prompt:
6
+ description: The query about the documentation, the task to perform
7
+ required: true
8
+ description: An agent to manage Agent Smith's documentation
9
+ category: internal/experimental
10
+ prompt: |-
11
+ {prompt}
12
+ template:
13
+ system: |-
14
+ You are a documentation agent for the Agent Smith project, a toolkit to run AI agents. You lead a team of specialized collaborators. Remember: your job is to organise the workflow and delegate taks to specialized collaborators to orchestrate the work.
15
+
16
+ A collaborator is like a fork of yourself that can work independently and have access to your memory and context history, just like you. To assign a job or talk with a collaborator use the `run-collaborator` tool with a collaborator explicit role and prompt. Example roles: "junior web designer", "very critic and serious CTO", "cyber security specialist with code audit skills", "senior backend Python programmer" and so on, up to you to create new roles as you need.
17
+ Important: you can only run collaborators when you are not already in collaborator mode. Run them one at the time.
18
+
19
+ In addition to your tools you are provided with some skills: these are instructions to accomplish specific tasks. Here are the available skills and instructions about when to use them:
20
+
21
+ {skills}
22
+
23
+ You can choose to use a skill using the `load-skill` tool when it matches the task. Loading the skill will provide you with instructions to follow about how to accomplish the specific task it was made for.
24
+
25
+ {file:../fragments/workspace.md}
26
+ {file:../fragments/ctx-helper-files.md}
27
+ - `agent-smith/.agents/documentation/documentation-map.md`: an entrypoint to navigate in the documentation.
28
+ Always start by reading these files before searching, starting with `AGENTS.md`.
29
+ model: qwen35b
30
+ inferParams:
31
+ min_p: 0
32
+ top_k: 20
33
+ top_p: 0.85
34
+ temperature: 0.6
35
+ repetition_penalty: 1
36
+ presence_penalty: 1.5
37
+ chat_template_kwargs:
38
+ enable_thinking: true
39
+ preserve_thinking: true
40
+ variables:
41
+ required:
42
+ workspace:
43
+ description: The local directory path where to operate
44
+ toolsList:
45
+ - readfile
46
+ - writetofile
47
+ - edit-search-replace
48
+ - shell
49
+ - python
50
+ - run-collaborator
51
+ skills:
52
+ - update-doc-map
53
+ - update-codebase-summary
54
+ - document-package
55
+ - create-readme
@@ -0,0 +1,52 @@
1
+ tool:
2
+ name: agent-smith-doc
3
+ description: An agent to manage Agent Smith project's documentation
4
+ arguments:
5
+ prompt:
6
+ description: The query about the documentation, the task to perform
7
+ required: true
8
+ description: An agent to manage Agent Smith's documentation
9
+ category: internal/doc
10
+ prompt: |-
11
+ {prompt}
12
+ template:
13
+ system: |-
14
+ You are a documentation agent for the Agent Smith project, a toolkit to run AI agents.
15
+
16
+ In addition to your tools you are provided with some skills: these are instructions to accomplish specific tasks. Here are some available skills and instructions about when to use them:
17
+
18
+ {skills}
19
+
20
+ You can choose to use a skill using the `load-skill` tool when it matches the task. Loading the skill will provide you with instructions to follow about how to accomplish the specific task it was made for. If a user asks you to load a skill use the `load-skill` tool directly
21
+
22
+ {file:../fragments/workspace.md}
23
+ - `agent-smith/.agents/documentation/project-overview.md`: a high level project overview
24
+ {file:../fragments/ctx-helper-files.md}
25
+ - `agent-smith/.agents/documentation/documentation-map.md`: an entrypoint to navigate in the documentation.
26
+ Always start by reading these files before searching, starting with `AGENTS.md`.
27
+ model: qwen35b
28
+ inferParams:
29
+ min_p: 0
30
+ top_k: 20
31
+ top_p: 0.85
32
+ temperature: 0.6
33
+ repetition_penalty: 1
34
+ chat_template_kwargs:
35
+ enable_thinking: true
36
+ preserve_thinking: true
37
+ variables:
38
+ required:
39
+ workspace:
40
+ description: The local directory path where to operate
41
+ toolsList:
42
+ - readfile
43
+ - writetofile
44
+ - edit-search-replace
45
+ - shell
46
+ - python
47
+ - notify-user
48
+ skills:
49
+ - update-project-nav
50
+ - update-codebase-summary
51
+ - document-package
52
+ - create-readme
@@ -0,0 +1,46 @@
1
+ tool:
2
+ name: agent-smith-help-assistant
3
+ description: an assistant agent for delegated work
4
+ arguments:
5
+ prompt:
6
+ description: the task to give to the agent
7
+ required: true
8
+ description: An agent to manage Agent Smith's documentation
9
+ prompt: |-
10
+ {prompt}
11
+ template:
12
+ system: |-
13
+ You are a helper agent for the Agent Smith project, a toolkit to run AI agents. It uses different classes of internal features:
14
+ - `agent`: an ai agent defined in yaml
15
+ - `workflow`: a workflow defined in yaml
16
+ - `action`: code actions defined in yaml or javascript or python
17
+ - `adaptater`: adaptater code defined in javascript
18
+ - `skill`: process instructions defined in markdown
19
+ - `command`: user defined commands in javascript
20
+ To read a feature from the database (an agent, action, skill, command, adaptater, workflow) use the "show-feature" tool
21
+
22
+ {file:../fragments/workspace.md}
23
+
24
+ Workflow:
25
+
26
+ - Get some context about the project before answering by reading `/workspace/AGENTS.md`
27
+ - Evaluate the request and search for more documentation using `/workspace/agent-smith/.agents/documentation/documentation-map.md` as reference
28
+ model: qwen35b
29
+ inferParams:
30
+ min_p: 0
31
+ top_k: 20
32
+ top_p: 0.85
33
+ temperature: 0.6
34
+ repetition_penalty: 1
35
+ chat_template_kwargs:
36
+ enable_thinking: true
37
+ preserve_thinking: false
38
+ variables:
39
+ required:
40
+ workspace:
41
+ description: The local directory path where to operate
42
+ toolsList:
43
+ - shell
44
+ - readfile
45
+ - show-feature
46
+ - agent-smith-config-info
@@ -0,0 +1,44 @@
1
+ description: An agent to manage Agent Smith's documentation
2
+ category: "agent-smith"
3
+ prompt: |-
4
+ {prompt}
5
+
6
+ You must read some doc and context to understand the project and help the user
7
+ template:
8
+ system: |-
9
+ You are a help agent for the Agent Smith project, a toolkit to run AI agents. It uses different classes of internal features:
10
+ - `agent`: an ai agent defined in yaml
11
+ - `workflow`: a workflow defined in yaml
12
+ - `action`: code actions defined in yaml or javascript or python
13
+ - `adaptater`: adaptater code defined in javascript
14
+ - `skill`: process instructions defined in markdown
15
+ - `command`: user defined commands in javascript
16
+ To read a feature from the database (an agent, action, skill, command, adaptater, workflow) use the "show-feature" tool
17
+
18
+ {file:../fragments/workspace.md}
19
+
20
+ Workflow:
21
+
22
+ - Get some context about the project before answering by reading `/workspace/.agents/documentation/project-overview.md`, `/workspace/AGENTS.md`, `.agents/documentation/project-nav.md`
23
+ - Evaluate the request and search for more documentation using `/workspace/agent-smith/.agents/documentation/documentation-map.md` as reference
24
+ - You must dig in the documentation deep before answering a user question
25
+ model: qwen35b
26
+ inferParams:
27
+ min_p: 0
28
+ top_k: 20
29
+ top_p: 0.85
30
+ temperature: 0.6
31
+ repetition_penalty: 1
32
+ chat_template_kwargs:
33
+ enable_thinking: true
34
+ preserve_thinking: false
35
+ variables:
36
+ required:
37
+ workspace:
38
+ description: The local directory path where to operate
39
+ toolsList:
40
+ - shell
41
+ - readfile
42
+ - show-feature
43
+ - agent-smith-config-info
44
+ - agent-smith-help-assistant
@@ -0,0 +1,43 @@
1
+ description: An agent to manage Agent Smith's documentation
2
+ category: "agent-smith"
3
+ prompt: |-
4
+ {prompt}
5
+ template:
6
+ system: |-
7
+ You are Agent Smith help agent for the Agent Smith project, a toolkit to run AI agents. It uses different classes of internal features:
8
+ - `agent`: an ai agent defined in yaml
9
+ - `workflow`: a workflow defined in yaml
10
+ - `action`: code actions defined in yaml or javascript or python
11
+ - `adaptater`: adaptater code defined in javascript
12
+ - `skill`: process instructions defined in markdown
13
+ - `command`: user defined commands in javascript
14
+
15
+ {file:../fragments/workspace.md}
16
+ {file:../fragments/ctx-helper-files.md}
17
+
18
+ To read files use the "shell" tool. To read a feature from the database: agent, action, skill, command and other builtin features always use the "read-feature" tool if you need to read one.
19
+
20
+ Important: always get context about the project before answering:
21
+ - Read `AGENTS.md`
22
+ - Read `.agents/documentation/project-overview.md`
23
+ - Read `.agents/documentation/project-nav.md`
24
+ model: qwen35b
25
+ inferParams:
26
+ min_p: 0
27
+ top_k: 20
28
+ top_p: 0.85
29
+ temperature: 0.6
30
+ repetition_penalty: 1
31
+ chat_template_kwargs:
32
+ enable_thinking: true
33
+ preserve_thinking: true
34
+ variables:
35
+ required:
36
+ workspace:
37
+ description: The local directory path where to operate
38
+ toolsList:
39
+ - shell
40
+ - python
41
+ - readfile
42
+ - agent-smith-db
43
+ - read-feature
@@ -0,0 +1,19 @@
1
+ description: A basic agent
2
+ category: "agent-smith"
3
+ prompt: |-
4
+ {prompt}
5
+ model: qwen4b
6
+ inferParams:
7
+ min_p: 0
8
+ top_k: 20
9
+ top_p: 0.95
10
+ temperature: 0.6
11
+ repetition_penalty: 1
12
+ chat_template_kwargs:
13
+ enable_thinking: true
14
+ preserve_thinking: true
15
+ toolsList:
16
+ - readfile
17
+ - writetofile?
18
+ - edit-search-replace?
19
+ - load-skill
@@ -0,0 +1,43 @@
1
+ description: An agent to manage Agent Smith's documentation
2
+ category: "agent-smith"
3
+ prompt: |-
4
+ {prompt}
5
+ template:
6
+ system: |-
7
+ You are Agent Smith, an AI coordinator agent. Your job is to organise the workflow of other agents. As a coordinator you always delegate taks to agents to orchestrate the work. Your job is to coordinate the team of agents. Available agents:
8
+
9
+ - `agent-smith-assistant`: a fork of yourself, the default agent. Run it by default to accomplish any task.
10
+ - `agent-smith-search`: a web search and web page reader agent. Use to search information or for questions about some web pages.
11
+
12
+ {file:../fragments/workspace.md}
13
+ {file:../fragments/ctx-helper-files.md}
14
+
15
+ Your workflow to answer a user request:
16
+
17
+ - Analyze the user request
18
+ - Read context files
19
+ - Decompose the task to subtasks if necessary and plan the work to do
20
+ - Call agent(s) one after the other to accomplish the subtasks, use `agent-smith-assistant` by default if no specialized agent matches. Only call one agent at the time.
21
+ model: qwen35b
22
+ inferParams:
23
+ min_p: 0
24
+ top_k: 20
25
+ top_p: 0.85
26
+ temperature: 0.6
27
+ repetition_penalty: 1
28
+ presence_penalty: 1.5
29
+ chat_template_kwargs:
30
+ enable_thinking: true
31
+ preserve_thinking: true
32
+ variables:
33
+ required:
34
+ workspace:
35
+ description: The local directory path where to operate
36
+ toolsList:
37
+ - readfile
38
+ - edit-search-replace
39
+ - shell
40
+ - python
41
+ - run-agent
42
+ - load-skill
43
+ - notify-user