Repository navigation
StardewPilot 0.1.0
First release of StardewPilot: an agent copilot for Stardew Valley 1.6 (SMAPI), built on the open-source agent framework pi.
What it does
- Guide: a private in-game chat (F8) that answers from live game data, proactive tips, and instant warnings (bundle items in the shipping bin, out after midnight, energy almost gone).
- Commanded autopilot: walks between maps and plants, waters, harvests, forages, buys, ships, uses chests, talks, gifts, fishes, goes down the mines and goes to bed when you ask. Moving stops it; F9 switches it off.
- Self-play (F10): plays toward a goal you set, or a first-year plan, with a daily plan, bedtime summary, save-aware memory and a daily model budget.
- Safety rules in the mod: bedtime at 11:30pm, energy reserve, confirmations before shipping, gifting and big purchases; the agent has no shell or file tools.
Install
- Install SMAPI 4.5+ and unzip
StardewPilot-0.1.0.zipinto the game'sModsfolder. - Install Node.js 22.19+ and pi 1.5+, and configure a model provider in pi.
- Either set
Launcher.EnabledtotrueinMods/StardewPilot/config.json(the mod then starts pi itself), or runpi --no-builtin-tools -e Mods/StardewPilot/agent/src/index.ts.
Known limits: combat is basic (it fights monsters next to the farmer and leaves when health is low); co-op is supported but has had little testing; tested on Linux with Stardew Valley 1.6.15 and SMAPI 4.5.2.