-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathagents.yaml
More file actions
69 lines (62 loc) · 2.15 KB
/
Copy pathagents.yaml
File metadata and controls
69 lines (62 loc) · 2.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# Qoder Managed multi-agent example: a coordinator that delegates to
# researcher, writer, and an existing external reviewer. Locally declared
# agents materialize as Managed Agents (`delivery` omitted — the default).
# Replace `agent_external_reviewer` with an Agent id accessible to your account
# before applying this example against Qoder Cloud.
#
# Phase 1 rules enforced at plan time:
# - logical-name members must be declared in this file; external ids are non-owned
# - no self reference, no nesting, no direct or indirect cycles
# - at most 20 members per coordinator
version: "1"
providers:
qoder:
api_key: ${QODER_PAT}
gateway: "https://api.qoder.com/api/v1/cloud"
defaults:
provider: qoder
environments:
dev:
config:
type: cloud
networking:
type: unrestricted
agents:
researcher:
description: "Gathers information from the codebase"
model: ultimate
instructions: |
You are a research agent. Your job is to gather relevant information
from the codebase when asked. Use glob and grep to find files, then
read them to extract the needed context.
environment: dev
tools:
builtin: [Read, Glob, Grep, WebSearch]
writer:
description: "Writes documentation and summaries"
model: ultimate
instructions: |
You are a technical writer. Given research findings, produce clear
and concise documentation, summaries, or reports.
environment: dev
tools:
builtin: [Read, Glob, Grep]
lead:
description: "Coordinates local agents and an external reviewer"
model: ultimate
instructions: |
You are the lead agent coordinating a team:
- researcher: can search code and the web for information
- writer: can produce documentation from findings
- external reviewer: can independently review the proposed result
Break tasks into research, writing, and review phases. Delegate to the
appropriate agents and synthesize their outputs.
environment: dev
tools:
builtin: [Read, Glob, Grep]
multiagent:
type: coordinator
agents:
- researcher
- writer
- agent_id: agent_external_reviewer