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
|
# A decision model, alone: no chat model anywhere. Every message this agent
# receives is a comment left under a blog post about Mini Me's tools; it
# answers four typed questions about it in one forward pass, and writes no text.
#
# mm -config agent.yaml -p "$(cat comments/04.txt)" # the server's JSON on stdout
# mm -config agent.yaml # paste a comment, read one line per question
# node moderate-comments.js # every comment sorted into publish / review / reject, checked against expected.json
#
# Served by llmman (its llama-server backend has /v1/systemone). Pull the
# model once: llmman pull hf.co/LiquidAI/d1-3B-GGUF:Q4_K_M
provider: llmman
model: hf.co/LiquidAI/d1-3B-GGUF:Q4_K_M
baseUrl: http://127.0.0.1:17434/v1
fallback: http://host.docker.internal:17434/v1
decision:
# The first call loads the model (2 to 13 s); a warm one takes 0.2–0.5 s.
timeout: 60s
questions:
toxic:
type: noul
instructions: The comment insults, mocks or attacks a person. Disagreeing with the post, even bluntly, is not toxic.
spam:
type: noul
instructions: The comment advertises or sells something, or sends readers to an unrelated website.
off_topic:
type: noul
instructions: The comment has nothing to do with a blog post about a command-line AI coding agent and its tools.
action:
type: choice
instructions: What should the moderator do with this comment?
criteria:
publish: A comment about the post, a question, praise or a polite disagreement
review: Off topic or borderline; a person should read it before it goes online
reject: Spam, insults or a personal attack
# A decider gets no tool and ignores AGENTS.md: mm turns bash, the file tools,
# plan, ask_user, skills and AGENTS.md off by itself (no `…: false` lines needed).
|