-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathagents.yaml
More file actions
58 lines (53 loc) · 1.97 KB
/
Copy pathagents.yaml
File metadata and controls
58 lines (53 loc) · 1.97 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
version: "1"
providers:
bailian:
api_key: ${DASHSCOPE_API_KEY}
workspace_id: ${BAILIAN_WORKSPACE_ID}
defaults:
provider: bailian
environments:
dev:
config:
type: cloud
networking:
type: unrestricted
agents:
reporter:
description: "Generates daily engineering reports"
model: qwen3.7-max
instructions: |
You are an engineering reporter. Summarize recent activity into a concise
daily report following the provided template.
environment: dev
tools:
builtin: [read, glob, grep, web_search]
# Deployment is NATIVE on Bailian (real /deployments API):
# - `agents apply` creates the remote Deployment (state records its remote_id)
# - `schedule` runs server-side (cron + timezone)
# - `agents deployment run daily-report` triggers a server-side run
# - `agents deployment pause/unpause daily-report` toggles scheduled runs
# `define_outcome` events and `github_repository` resources are NOT part of the
# deployment payload and surface warning diagnostics on plan; only file resources
# are uploaded (at apply time) and mounted into each run's Session.
deployments:
daily-report:
agent: reporter
description: "Daily report (native Bailian deployment)"
schedule:
expression: "0 9 * * *"
timezone: UTC
initial_events:
- type: user.message
content: "Summarize yesterday's commits and generate the daily report."
# define_outcome is accepted in config but dropped from the Bailian
# deployment payload (no server-side outcome evaluation); kept here for
# cross-provider parity.
- type: user.define_outcome
description: "Daily report quality gate"
rubric: "Must include an executive summary and at least three key metrics."
max_iterations: 3
resources:
# Local file uploaded at `apply` time and mounted into each run's Session.
- type: file
source: ./data/report-template.md
mount_path: /mnt/report-template.md