-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathagents.yaml
More file actions
113 lines (103 loc) · 2.88 KB
/
Copy pathagents.yaml
File metadata and controls
113 lines (103 loc) · 2.88 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
version: "1"
providers:
ark:
api_key: ${ARK_API_KEY}
defaults:
provider: ark
environments:
dev:
description: "Development environment with full network access"
config:
type: cloud
networking:
type: unrestricted
metadata:
team: platform
staging:
description: "Staging environment with restricted networking"
config:
type: cloud
networking:
type: limited
allow_mcp_servers: true
allow_package_managers: true
allowed_hosts:
- "api.github.com"
- "registry.npmjs.org"
packages:
apt: [git, curl]
npm: [typescript]
metadata:
team: platform
vaults:
api-credentials:
display_name: "API Credentials"
credentials:
- name: github-mcp
mcp_server_url: "https://mcp.example.com/github"
type: static_bearer
access_token: ${MCP_GITHUB_TOKEN}
protocol: streamable_http
skills:
code-review:
source: ./skills/code-review/
description: "Structured code review with severity levels"
summarize:
source: ./skills/summarize/
description: "Produce concise summaries"
# Ark supports native memory stores. It also offers partial-success batch memory
# creation, while updates use last-write-wins and version history is not exposed.
memory_stores:
project-notes:
description: "Shared long-lived project notes"
metadata:
example: ark-full
entries:
- key: project/overview.md
content: "This store holds durable project context shared across sessions."
agents:
researcher:
description: "Gathers information from codebase and web"
model: doubao-seed-2-1-pro-260628
instructions: |
You are a research agent. Search the codebase and web to gather
relevant information. Be thorough and cite sources.
environment: dev
tools:
builtin: [read, glob, grep, web_search, web_fetch]
skills: [summarize]
memory_stores: [project-notes]
metadata:
role: research
reviewer:
description: "Reviews code for quality and correctness"
model: doubao-seed-2-1-pro-260628
instructions: |
You are a code reviewer. Analyze code changes using the code-review
skill format. Focus on correctness, security, and performance.
environment: dev
tools:
builtin: [read, glob, grep]
permissions:
read: allow
glob: allow
grep: allow
skills: [code-review]
metadata:
role: review
lead:
description: "Coordinates researcher and reviewer"
model: doubao-seed-2-1-pro-260628
instructions: ./prompts/lead.md
environment: dev
tools:
builtin: [read, glob, grep]
mcp_servers:
- name: github
url: "https://mcp.example.com/github"
vault: api-credentials
multiagent:
type: coordinator
agents: [researcher, reviewer]
metadata:
role: coordinator