summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-07-24 22:16:16 -0400
committerDax Raad <[email protected]>2025-07-24 22:16:16 -0400
commit5d871b2075aa6723ad904fda23489763c1faa102 (patch)
tree9519d687d2bb631f975ef7a6bc76b7149a500847
parent529a171d51eadf38de54d1d12a45db7ff3779193 (diff)
downloadopencode-5d871b2075aa6723ad904fda23489763c1faa102.tar.gz
opencode-5d871b2075aa6723ad904fda23489763c1faa102.zip
docs: agents
-rw-r--r--packages/web/src/content/docs/docs/agents.mdx42
1 files changed, 17 insertions, 25 deletions
diff --git a/packages/web/src/content/docs/docs/agents.mdx b/packages/web/src/content/docs/docs/agents.mdx
index e20e398b8..1a29cb5ef 100644
--- a/packages/web/src/content/docs/docs/agents.mdx
+++ b/packages/web/src/content/docs/docs/agents.mdx
@@ -21,33 +21,25 @@ Agents are automatically available through the Task tool when configured. The ma
### Documentation Agent
-```json
-{
- "agent": {
- "docs-writer": {
- "description": "Writes and maintains project documentation",
- "prompt": "You are a technical writer. Create clear, comprehensive documentation.",
- "tools": {
- "bash": false
- }
- }
- }
-}
+```markdown
+---
+description: Writes and maintains project documentation
+tools:
+ bash: false
+---
+
+You are a technical writer. Create clear, comprehensive documentation.
```
### Security Auditor
-```json
-{
- "agent": {
- "security-auditor": {
- "description": "Performs security audits and identifies vulnerabilities",
- "prompt": "You are a security expert. Focus on identifying potential security issues.",
- "tools": {
- "write": false,
- "edit": false
- }
- }
- }
-}
+```markdown
+---
+description: Performs security audits and identifies vulnerabilities
+tools:
+ write: false
+ edit: false
+---
+
+You are a security expert. Focus on identifying potential security issues.
```