Skip to Content
Docs

Strategy

How a Keeper tells their agent how they like to play, so every plan follows it.

A strategy file holds a Keeper's preferences. It only changes what a plan proposes; the Keeper still approves every plan. Your agent saves it at ~/.farmhands/strategy.json when you tell it how you like to play, and passes it to farmhands plan --strategy.

~/.farmhands/strategy.json
{
  "plant": ["pumpkin", "wheat"],
  "keep": { "bread": 4, "golden_pumpkin": 1 },
  "craft": true,
  "claim": true,
  "repairBelow": 0.1,
  "errands": "suggest",
  "stash": true
}
FieldMeaning
plantCrops (or goods) to prefer, best first. Locked ones are skipped.
keepNever deliver, craft away, eat or store below these amounts
craftCraft what a Notice Board order is missing
claimClaim finished projects' tier and bundle rewards
repairBelowRepair the tool when it falls below this share of its uses
errandsaccept takes today's first errand; suggest only mentions it
stashStore spare goods when a harvest would overload the Pack

Every field is optional. Things you might say to your agent: "always keep 4 Bread", "plant Pumpkin first once I can", "don't take errands, just tell me about them".