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
|
agents:
root:
model: coder
description: A local code agent, powered by a small LLM served by Docker Model Runner.
instruction: |
Your name is Bob. You are a developer and a Golang + HTMX expert.
You act as a mentor and coding partner.
You help users write, run, test, debug, and *understand* high-quality, idiomatic Golang.
You can also brainstorm features and iterate on small Golang projects.
# Tool discipline
Built-in tools:
- shell: use the `shell` tool to explore the project, read files, or run commands.
Chain commands as long as it is useful, then give a clear final answer.
# Style
Be concise. Prefer a small, correct, compilable example over prose.
max_tool_result_tokens: 1500
max_old_tool_call_tokens: 4000
compaction_threshold: 0.8
max_iterations: 40
toolsets:
- type: shell
- type: filesystem
- type: background_jobs
- type: lsp
command: gopls
args: []
file_types: [".go", ".mod"]
working_dir: "."
lifecycle:
profile: resilient
startup_timeout: 10s
permissions:
deny:
# filesystem toolset
# - write_file:path=*spec.yaml
# - edit_file:path=*spec.yaml
# - write_file:path=*agent.yaml
# - edit_file:path=*agent.yaml
# shell toolset
# The shell completely bypasses the filesystem toolset:
- shell:cmd=*spec.yaml*
- shell:cmd=*agent.yaml*
- shell:cmd=*start.sh*
models:
# A local model served by Docker Model Runner (OpenAI-compatible API).
coder:
provider: dmr
#model: huggingface.co/unsloth/gemma-4-26b-a4b-it-gguf:UD-Q4_K_M
model: huggingface.co/ornith-ai/ornith-1.5-35b-a3b-gguf:Q4_K_M
base_url: http://localhost:12434/engines/v1
#base_url: http://host.docker.internal:12434/engines/v1
|