-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopenloop.example.json
More file actions
42 lines (32 loc) · 1.32 KB
/
Copy pathopenloop.example.json
File metadata and controls
42 lines (32 loc) · 1.32 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
{
/*
* OpenLoop — example configuration
* Copy this file to openloop.json and adjust values for your setup.
* This file uses JSONC syntax (comments are stripped automatically).
*/
// Directory containing agent .md files (relative to CWD or absolute)
"agents_dir": "./agents",
// Directory containing workflow .json files
"workflows_dir": "./workflows",
// Path or name of the opencode binary
"opencode_binary": "opencode",
// Default max_loops when a workflow does not specify one
"default_max_loops": 10,
// Working directory for the opencode subprocess
// "workdir": "/path/to/your/project",
// Script or command run before each opencode invocation
// Useful for activating a conda environment, setting env vars, etc.
// "init_script": "conda activate myenv",
// Default flags passed to every `opencode run` invocation.
// These can be overridden per workflow or via --opencode-defaults CLI flag.
"opencode_defaults": {
// Model in provider/model format
// "model": "Big Pickle",
// OpenCode agent to use: "build" (default, writes code) or "plan" (safer, only plans)
// "agent": "plan",
// Reasoning effort: "high", "max", or "minimal" (provider-specific)
// "variant": "high",
// Run without external plugins (MCP servers / skills)
// "pure": false
}
}