-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yaml.example
More file actions
118 lines (101 loc) · 3.43 KB
/
Copy pathconfig.yaml.example
File metadata and controls
118 lines (101 loc) · 3.43 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
114
115
116
117
118
# agent-stream-dbg Configuration
#
# This is a RUN config: it says how to connect (transport) and, once the
# dialect engine lands, what the bytes mean (dialect). It never encodes
# any one system's defaults — every value below must be set explicitly.
# Transport: how bytes arrive.
# Supported: sse | grpc | acp | replay
transport:
type: "sse"
base_url: "http://localhost:5003"
# gRPC example (type: grpc):
# target: "localhost:50051"
# method: "/agent.v1.AgentService/StreamSession"
# discriminator: field:type # oneof | field:type | message_type | none
# discriminator_field: type # required when discriminator is field:type
# plaintext: true
# request:
# session_id: "demo-session" # protobuf request fields, when needed
# ACP example (type: acp) — spawn an Agent Client Protocol agent over stdio:
# type: acp
# command: "npx"
# args: ["@agentclientprotocol/example", "stdio"]
# auto_approve: true
# Replay example (type: replay) — JSONL fixture path in base_url:
# type: replay
# base_url: "testdata/fixtures/brainyard-session.jsonl"
# How to initiate streaming
stream_endpoint:
# URL pattern (supports {session_id} placeholder)
url: "/api/v3/sessions/{session_id}/stream"
# HTTP method for initiating stream
method: "GET" # or "POST"
# Additional headers
headers:
Accept: "text/event-stream"
# Add custom headers as needed
# Authentication (opt-in; this header is sent to the URL named above)
auth:
type: "bearer" # Options: bearer, api_key, basic, none
token_env: "API_KEY" # Read token from this env var (bearer, api_key)
# For api_key type, optionally set a custom header name:
# header_name: "X-API-Key"
# For basic type:
# username_env: "API_USERNAME"
# password_env: "API_PASSWORD"
# Dialect: what the bytes mean. Use the embedded default by name, or provide
# an explicit YAML path. The CLI --dialect flag overrides this value.
dialect:
file: "brainyard"
# Vars: user-defined values available for interpolation in a dialect's
# setup:/send: templates. Built-ins (base_url, session_id, message, agents)
# always win if a user var uses one of those names.
vars:
region: "us-west"
# Session Configuration
session:
id: "test-session-001"
id_env: "SESSION_ID" # Override with env var if set
# Event Configuration
events:
# List of event types to track
# If empty, tracks all events
types:
- "session_start"
- "session_complete"
- "agent_stream_start"
- "agent_content"
- "agent_stream_complete"
- "wizard_stream_start"
- "wizard_content"
- "wizard_stream_complete"
- "error"
# Logging Configuration
logging:
dir: "./logs"
# Which dimensions to log. If none are set, all four default on.
dimensions:
by_event_type: true
by_agent: true
by_session: true
api_calls: true
# Display Configuration
display:
# Enable colored output
colors: true
# Max agents to show simultaneously
max_agents_visible: 5
# Agent colors (map agent_id to color code)
agent_colors:
sam_harris: "13" # Magenta
tony_robbins: "9" # Red
david_goggins: "1" # Dark Red
eckhart_tolle: "10" # Green
marcus_aurelius: "12" # Blue
bruce_lee: "14" # Cyan
alan_watts: "5" # Purple
carl_jung: "3" # Yellow
viktor_frankl: "6" # Cyan
rumi: "11" # Yellow
wizard: "11" # Gold
default: "7" # Gray