-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.yaml
More file actions
176 lines (159 loc) · 6.8 KB
/
Copy pathconfig.example.yaml
File metadata and controls
176 lines (159 loc) · 6.8 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
# Example user-scoped configuration for `~/.outline-agent/config.yaml`.
# Environment variables and CLI flags can still override individual fields at runtime.
server:
# HTTP bind host for the local webhook service.
host: 127.0.0.1
# HTTP bind port for the local webhook service.
port: 8787
outline:
# Your Outline API base URL. `/api` is added automatically if you omit it.
api_base_url: ""
# API key created from the Outline user account that should act as the agent.
api_key: ""
# Webhook signing secret from Outline admin webhook configuration.
webhook_signing_secret: ""
# Optional: HTTP timeout for Outline API requests, in seconds.
# timeout_seconds: 30
trigger:
# `mention` = only respond when mentioned or replied to; `all` = respond to all comments.
mode: mention
# Mention aliases that can trigger the agent in comment text.
mention_aliases:
- "@agent"
# Optional: plain-text fallback mention detection when structured mentions are missing.
# mention_alias_fallback_enabled: false
# Optional: reply-to-agent comments trigger the agent even without a fresh mention.
# on_reply_to_agent: true
# Optional: restrict the agent to specific Outline collection IDs.
# collection_allowlist: []
model:
# Main model ref. `null` means “use model_profiles.default”.
ref: null
# Timeout for model API requests, in seconds.
timeout_seconds: 180
# Optional: override specific stages with different models.
# action_router_ref: null
# memory_ref: null
# document_update_ref: null
# tool_ref: null
# document_memory_ref: null
# Optional: cap model output size.
# max_output_tokens: 800
model_profiles:
# Default `alias/model-name` ref used when `model.ref` is null.
default: demo/gpt-5.2
profiles:
demo:
# Provider adapter name used by the runtime.
provider: openai-responses
# Base URL for your model gateway / API service.
base_url: https://your-gateway.example.com/openai/v1
# API key for the model provider or gateway above.
api_key: ""
# Allowed model names under this alias. The first one is the default.
models:
- gpt-5.2
- gpt-5.4
web_search:
# Choose which provider backs the `ask_web_search` tool.
provider: gemini
gemini:
# Optional Gemini API key for the `ask_web_search` tool when provider=gemini.
# You can also set GEMINI_API_KEY or GOOGLE_API_KEY in the environment.
api_key: ""
# Optional base URL for Gemini-compatible gateways/providers.
base_url: https://generativelanguage.googleapis.com
# Optional Gemini model for web search lookups.
model: gemini-3-flash-preview
openai:
# Optional OpenAI API key for the `ask_web_search` tool when provider=openai.
# You can also set OPENAI_WEB_SEARCH_API_KEY or OPENAI_API_KEY in the environment.
api_key: ""
# Optional base URL for OpenAI-compatible gateways/providers.
base_url: https://api.openai.com/v1
# Optional OpenAI model for web search lookups.
model: gpt-5
prompts:
# Built-in or custom prompt packs to append to the base system prompt.
system_prompt_packs:
- outline_style
# Optional: override the base user system prompt file.
# Relative paths resolve from your active config root, typically ~/.outline-agent/.
# system_prompt_path: prompts/user/00_system.md
# Optional: override where user prompt packs are loaded from.
# Relative paths resolve from your active config root, typically ~/.outline-agent/.
# prompt_pack_dir: prompts/user/packs
# Optional: override where internal maintainer prompts are loaded from.
# Relative paths resolve from your active config root, typically ~/.outline-agent/.
# internal_prompt_dir: prompts/internal
features:
# Enable collection-level memory action planning.
memory_actions: true
# Enable writing back durable collection memory after replies.
memory_updates: true
# Enable drafting and applying Outline document updates.
document_updates: true
# Enable local/file/shell tool use.
tool_use: true
# Enable writing back document-local memory after replies.
document_memory: true
# Enable reaction emoji updates during processing.
reactions: true
# Enable automatic Mermaid validation before document writes when available.
mermaid_validation: true
# Enable retrieval of related documents from the same collection as extra context.
related_documents: true
# Enable progress comments such as “Working on it...” while tools are running.
progress_comments: true
# Optional: enable lookup of other comment threads in the same document when needed.
# same_document_comments: true
runtime:
# If true, plan and simulate side effects without actually mutating Outline state.
dry_run: false
# Title of the remote Outline document used for collection memory.
collection_memory_document_title: MEMORY
# Maximum number of plan/replan rounds for one request.
tool_execution_max_rounds: 10
# Maximum number of steps the planner may propose in one round.
tool_execution_max_steps: 6
# Number of steps actually executed before replanning.
tool_execution_chunk_size: 2
# `auto` = validate Mermaid when possible and skip if unavailable.
mermaid_validation_mode: auto
# Maximum Mermaid repair retries within one request.
mermaid_validation_max_retries: 3
# `block` = stop document writes after retry exhaustion; `allow_write` = let later writes bypass validation.
mermaid_validation_exhausted_action: allow_write
# Mermaid validation timeout per block, in seconds.
mermaid_validation_timeout_seconds: 20
# Optional: collection workspace root. Relative paths resolve from this config file's directory.
# workspace_root: data/agents
# Optional: raw webhook log directory.
# webhook_log_dir: data/webhooks
# Optional: dedupe store for processed webhook events.
# dedupe_store_path: data/processed_events.json
logging:
# Application log level.
level: DEBUG
# Optional: main service log file path.
# file_path: logs/outline-agent.log
# Optional advanced tuning fields.
# These are still real config keys, but they map directly to flat AppSettings fields
# instead of the grouped YAML sections above.
# Shell command timeout for the `run_shell` tool, in seconds.
# tool_shell_timeout_seconds: 120
# Tool approval mode. `always_allow` preserves current behavior while keeping
# a future hook for interactive approval flows.
# tool_approval_mode: always_allow
# Number of recent actions shown in progress comments.
# progress_comment_recent_actions: 6
# Emoji used while the agent is actively processing.
# reaction_processing_emoji: "👀"
# Emoji used when the agent finishes successfully.
# reaction_done_emoji: "👍"
# Related-document retrieval tuning.
# related_document_limit: 3
# related_document_search_limit: 8
# related_document_excerpt_chars: 600
# related_document_query_max_chars: 200
# related_document_min_query_chars: 4